{
  "schema_version": "ocme-reviewed-question-reader-v1",
  "question_id": "q-20261014-advance-20261111-r06-quadratic-residue-0086",
  "pilot_number": "R0045-23311",
  "number": 23311,
  "family_id": "qf-mod42-quadratic-domain-boundary",
  "title": {
    "zh-Hant": "第 23311 題：二次剩餘",
    "en": "Question 23311: Zero, Modulus Two and Composite Moduli Need Separate Conventions"
  },
  "original_question": {
    "schema_version": "ocme-question-v0.1",
    "id": "q-20261014-advance-20261111-r06-quadratic-residue-0086",
    "batch_id": "batch-20261014-advance-20261111-r06-quadratic-residue-foundations",
    "language": "zh-Hant",
    "source_mko_ids": [
      "mko-quadratic-residue"
    ],
    "title_zh": "二次剩餘",
    "stem_zh": "odd prime p上的nonzero quadratic-residue convention與complete nonzero square table。操作=quadratic-domain-boundary；資料={\"mode\":\"even_prime\",\"modulus\":2,\"a\":11}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。",
    "answer": {
      "kind": "expression",
      "value": "(even_prime, 2, 1, 否, nonzero_quadratic_residue_convention_requires_an_odd_prime_and_nonzero_class)",
      "explanation_zh": "Wave6第五層核對=(even_prime, 2, 1, 否, nonzero_quadratic_residue_convention_requires_an_odd_prime_and_nonzero_class)；依完整明示資料獨立重算；a先normalize mod p；nonzero residue有兩個distinct opposite roots；zero、p=2與composite modulus分開；不預先使用Euler criterion或Legendre symbol。"
    },
    "difficulty": {
      "band": "undergraduate_core",
      "level": 2,
      "skills": [
        "二次剩餘"
      ]
    },
    "variant": {
      "family_id": "qf-mod42-quadratic-domain-boundary",
      "seed": 202611116086,
      "parameters": {
        "mode": "even_prime",
        "modulus": 2,
        "a": 11,
        "domain": "Odd_prime_nonzero_quadratic_residue",
        "operation": "quadratic-domain-boundary",
        "semantic_template": "qf-mod42-quadratic-domain-boundary/{\"a\":11,\"mode\":\"even_prime\",\"modulus\":2}"
      }
    },
    "verification": {
      "status": "candidate",
      "checks": [
        "producer_exact_finite_or_symbolic_model",
        "producer_source_snapshot_check",
        "producer_substantive_template_deduplication",
        "producer_json_schema"
      ],
      "warning_zh": "候選須主端重算；不構成人工審定、Lagrange converse existence、higher-order analyticity、sampled Hausdorff、CDF density、unchecked Catalan division、Euler criterion、bounded NFA rejection、Lean或Evidence。"
    },
    "provenance": {
      "generator_role": "question_producer",
      "generator_model": "model_unknown",
      "generated_at": "2026-10-14",
      "contract_version": "ocme-question-factory-v0.1"
    }
  },
  "original_english_edition": {
    "schema_version": "ocme-question-localization-v0.1",
    "question_id": "q-20261014-advance-20261111-r06-quadratic-residue-0086",
    "batch_id": "batch-20261014-advance-20261111-r06-quadratic-residue-foundations",
    "locale": "en",
    "translation_state": "ai_candidate",
    "source": {
      "question_sha256": "3afc5545f2912168b1557816acbe03697b32d00e57633e19f8ce756b389d459b",
      "family_id": "qf-mod42-quadratic-domain-boundary",
      "seed": 202611116086,
      "semantic_template": "qf-mod42-quadratic-domain-boundary/{\"a\":11,\"mode\":\"even_prime\",\"modulus\":2}"
    },
    "fields": {
      "title": "Zero, Modulus Two and Composite Moduli Need Separate Conventions",
      "stem": "Use mode=even_prime, modulus=2, original a=11. Give (mode, modulus, normalized_class, declared_model_qualified, boundary).",
      "answer": {
        "kind": "expression",
        "value": "(even_prime, 2, 1, No, nonzero_quadratic_residue_convention_requires_an_odd_prime_and_nonzero_class)",
        "explanation": "Normalize a under the declared modulus. The fixed No means this odd-prime/nonzero model is not qualified; it does not say that a has no square root modulo2 or a composite modulus. Validate the named boundary premise instead of using an odd-prime theorem outside its domain. The exact result, retaining the requested order, is (even_prime, 2, 1, No, nonzero_quadratic_residue_convention_requires_an_odd_prime_and_nonzero_class)."
      },
      "skills": [
        "Zero, Modulus Two and Composite Moduli Need Separate Conventions"
      ],
      "verification_warning": "This is a candidate exercise. Mechanical recomputation checks only the stated conditions and this instance; it is neither a formal proof nor human review."
    }
  },
  "givens": [
    {
      "id": "G001",
      "text": {
        "zh-Hant": "odd prime p上的nonzero quadratic-residue convention與complete nonzero square table。操作=quadratic-domain-boundary；資料={\"mode\":\"even_prime\",\"modulus\":2,\"a\":11}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。",
        "en": "Use mode=even_prime, modulus=2, original a=11. Give (mode, modulus, normalized_class, declared_model_qualified, boundary)."
      }
    }
  ],
  "steps": [
    {
      "id": "S001",
      "uses": [
        "G001"
      ],
      "before": "source operation=quadratic-domain-boundary;original snapshot and mathematics retained",
      "after": "explicit ordered source output fields=[mode, modulus, normalized_class, declared_model_qualified, boundary]",
      "relation": "implies",
      "rule_id": "source_ordered_interface_explicit_without_javascript",
      "conditions": [],
      "explanation": {
        "zh-Hant": "原題快照保留歷史介面；此處直接列來源欄序，不依賴JavaScript。tag與No保聲稱範圍，固定來源排序不冒充數學證明。",
        "en": "Retain the historical interface marker while listing source fields without JavaScript.Tags and No retain their claim scope;source-protocol ordering is not a mathematical proof."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "回到原始資料與本步條件核對，不把單向推論誤稱等價。",
          "en": "Check against the original data and this step's premises; a one-way implication is not an equivalence."
        }
      },
      "arithmetic": null
    },
    {
      "id": "S002",
      "uses": [
        "G001",
        "S001"
      ],
      "before": "Quadratic ORIGINAL boundary class Euclidean quotient times modulus := mul(5, 2)",
      "after": "Quadratic ORIGINAL boundary class Euclidean quotient times modulus = 10",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "依本題原始角色、次序與已核中間量精確代值，不用浮點近似或另一題的資料。",
        "en": "Substitute this question's original roles,order and established intermediates exactly,not floats or another question's data."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 Quadratic ORIGINAL boundary class Euclidean quotient times modulus，不以小數近似替代。",
          "en": "Recompute Quadratic ORIGINAL boundary class Euclidean quotient times modulus with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "mul",
        "inputs": [
          "5",
          "2"
        ],
        "output": "10",
        "label": "Quadratic ORIGINAL boundary class Euclidean quotient times modulus"
      }
    },
    {
      "id": "S003",
      "uses": [
        "G001",
        "S002"
      ],
      "before": "Quadratic ORIGINAL boundary class ORIGINAL signed value minus multiple := sub(11, 10)",
      "after": "Quadratic ORIGINAL boundary class ORIGINAL signed value minus multiple = 1",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "依本題原始角色、次序與已核中間量精確代值，不用浮點近似或另一題的資料。",
        "en": "Substitute this question's original roles,order and established intermediates exactly,not floats or another question's data."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 Quadratic ORIGINAL boundary class ORIGINAL signed value minus multiple，不以小數近似替代。",
          "en": "Recompute Quadratic ORIGINAL boundary class ORIGINAL signed value minus multiple with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "sub",
        "inputs": [
          "11",
          "10"
        ],
        "output": "1",
        "label": "Quadratic ORIGINAL boundary class ORIGINAL signed value minus multiple"
      }
    },
    {
      "id": "S004",
      "uses": [
        "G001",
        "S003"
      ],
      "before": "Quadratic ORIGINAL boundary class:ORIGINAL signed value=11;positive modulus=2;actual quotient=5",
      "after": "canonical residue=1;value=quotient*modulus+residue and0<=residue<modulus",
      "relation": "implies",
      "rule_id": "signed_mod_ORIGINAL_class_normalized_not_changed",
      "conditions": [],
      "explanation": {
        "zh-Hant": "用Euclidean形式保留負輸入的原值與同餘類，不把語言的負餘數直接當canonical class。",
        "en": "Retain the original signed value and congruence class via Euclidean division;do not mistake a language-specific negative remainder for the canonical class."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "回到原始資料與本步條件核對，不把單向推論誤稱等價。",
          "en": "Check against the original data and this step's premises; a one-way implication is not an equivalence."
        }
      },
      "arithmetic": null
    },
    {
      "id": "S005",
      "uses": [
        "G001",
        "S004"
      ],
      "before": "ORIGINAL mode=even_prime,modulus=2,a=11;normalized class=1",
      "after": "declared_model_qualified=否;zero,p2 and composite conventions handled separately;NOT a claim this class has no square root under another convention",
      "relation": "implies",
      "rule_id": "quadratic_boundary_No_only_declared_nonzero_odd_prime_model",
      "conditions": [],
      "explanation": {
        "zh-Hant": "zero雖有root0但排除於本nonzero慣例；p2或composite亦可能有root。這裡No只界定model，不把域外輸入硬套兩個相反root的定理。",
        "en": "Zero has root0 but is excluded by this nonzero convention.Modulus2 or composite classes may also have roots.The No marks model scope,not absence of roots or an out-of-domain two-root theorem."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "回到原始資料與本步條件核對，不把單向推論誤稱等價。",
          "en": "Check against the original data and this step's premises; a one-way implication is not an equivalence."
        }
      },
      "arithmetic": null
    }
  ],
  "math_model": {
    "result": [
      "even_prime",
      2,
      1,
      false,
      "nonzero_quadratic_residue_convention_requires_an_odd_prime_and_nonzero_class"
    ]
  },
  "conclusion": {
    "canonical_value": "(even_prime, 2, 1, 否, nonzero_quadratic_residue_convention_requires_an_odd_prime_and_nonzero_class)",
    "explanation": {
      "zh-Hant": "依上列完整代值及條件核對得到原題答案；原題編號、格式與狀態保持不變。",
      "en": "The full substitutions and premise checks give the original answer; source identity,format and status are unchanged."
    }
  },
  "definition_note": {
    "zh-Hant": "沿用原題明示的論域、假設與來源 MKO 定義。本題已完成第二對話數理與中英語義覆核，並由原始參數逐題獨立重算模型、答案與每個算術步驟；原題仍為 candidate。",
    "en": "Use the original question domain, assumptions and cited MKO definitions. This item has second-context mathematical and bilingual review, with the model, answer and every arithmetic step independently recomputed from the original parameters; the source question remains a candidate."
  },
  "source": {
    "input_commit": "0f7be61e2c22317a4075561dc822c87d881a50db",
    "question_binding": {
      "batch_id": "batch-20261014-advance-20261111-r06-quadratic-residue-foundations",
      "batch_path": "public/data/questions/batches/batch-20261014-advance-20261111-r06-quadratic-residue-foundations/questions.jsonl",
      "batch_sha256": "91ac41444413e6e726b0226c78523599572fbb0fb658af56f719abb031599107",
      "original_line": 86,
      "original_line_sha256": "23c739c42c31784a7e34607f0e18efe3bd82146944ed5c654fe9d444638a19ca",
      "question_compact_sha256": "3afc5545f2912168b1557816acbe03697b32d00e57633e19f8ce756b389d459b",
      "english_row_compact_sha256": "a86b1cd2bc59ff057897561a66439764ddb123d236cbddd2db9d200df5fe5abc",
      "english_manifest_path": "public/data/i18n/editions/batch-20261014-advance-20261111-r06-quadratic-residue-foundations.en.json",
      "english_rows_path": "public/data/i18n/questions/batch-20261014-advance-20261111-r06-quadratic-residue-foundations.en.jsonl"
    },
    "mko_bindings": {
      "mko-quadratic-residue": {
        "sha256": "c93521b58b1876da85beb3308b403a1cd27209001660dfc6c04815276f035e21",
        "english_sha256": "2b942134468bcf2df5c61739cc29561a0f40e3257048b11a8bc08a60de227a4d",
        "original_path": "public/data/mko/quadratic-residue.json",
        "english_path": "public/data/i18n/editions/mko-quadratic-residue.en.json"
      }
    },
    "selected_manifest_sha256": "5233edba9654a6cffd8b6b2d83c932f82ded15f9c0b7c733bd049943e672acff",
    "selected_part_sha256": "9732ef02cb296d2e89f9b6cade5a76a83e9d37bdcf6a3de7f8613ebce02311e8",
    "original_candidate_sha256": "1039ef56e7ae331bc850e1aca251c5e83c2c6b99594a05463b8cdf545bd3ef2e",
    "original_candidate_line_sha256": "1039ef56e7ae331bc850e1aca251c5e83c2c6b99594a05463b8cdf545bd3ef2e"
  },
  "historical_source_state": {
    "review_state": {
      "derivation": "candidate_authored_and_locally_checked",
      "source_question_state": "candidate",
      "independent_AI_or_human_review": "NOT_PERFORMED",
      "formalization": "not_formalized",
      "Lean": "NOT_RUN"
    },
    "scope_note": {
      "zh-Hant": "來源綁定教學推導候選；精確核對不等於獨立AI／人工審查或一般形式證明。原題、答案、MKO、公式、AST與歷史不變。",
      "en": "Source-bound pedagogical derivation candidate.Exact checking is not independent AI/human review or general formal proof.Original questions,answers,MKOs,formulas,ASTs and history remain unchanged."
    },
    "label": "Frozen producer metadata; current per-question review is separate below."
  },
  "revision": {
    "id": "review-20261026-009-p46",
    "review_date": "2026-10-26",
    "owner_authorized_reader_publication": true,
    "scope": "One hundred sixty family prototypes and their mathematical/bilingual reasoning variants, stems, boundary statements and every distinct explanation shape were reviewed in a context independent of the producer; parameter substitutions, source bindings, full math models, both answer strings and every arithmetic step were independently reconstructed per question from the original parameters only, with negative controls. This grouped method does not claim a separate literal AI reading of every repeated sentence or an extra AI voter.",
    "review_receipts": {
      "semantic_review_sha256": "357d7ad7a6726b2a757558d3b9586a408ade06526cc023da093719c292704438",
      "question_first_witness_sha256": "99cefe17e98c7a74321801cf72df6d02fc95b6a6b78aa335accb7e11ed467b2a"
    },
    "status": "second_context_reviewed",
    "mathematical_semantics": true,
    "bilingual_semantics": true,
    "steps_reviewed": 5,
    "method": "family_template_semantic_review_plus_independent_per_instance_reconstruction",
    "exact_question_first_check": {
      "model_sha256": "bc17fa440060a5673de7ece5d517151e290a97e036f2fba1779d9370f7b3f9f9",
      "arithmetic_steps": 2
    },
    "uses_answer_as_premise": false,
    "human_review": "NOT_PERFORMED",
    "formalization": "not_formalized",
    "Lean": "NOT_RUN",
    "Canonical_truth_promotion": false,
    "authority": "Owner-authorized reviewed reader publication; original question/candidate states remain historical and unchanged."
  }
}
