{
  "schema_version": "ocme-reviewed-question-reader-v1",
  "question_id": "q-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-0082",
  "pilot_number": "R0047-24107",
  "number": 24107,
  "family_id": "qf-mod44-eulercrit-domain-boundary",
  "title": {
    "zh-Hant": "第 24107 題：Euler二次剩餘判準",
    "en": "Question 24107: Zero, Even Prime and Composite Inputs Are Outside This Declared Criterion"
  },
  "original_question": {
    "schema_version": "ocme-question-v0.1",
    "id": "q-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-0082",
    "batch_id": "batch-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-foundations",
    "language": "zh-Hant",
    "source_mko_ids": [
      "mko-euler-criterion-quadratic-residue"
    ],
    "title_zh": "Euler二次剩餘判準",
    "stem_zh": "odd prime、nonzero class、complete square table與independent repeated-squaring。操作=eulercrit-domain-boundary；資料={\"mode\":\"even_prime\",\"modulus\":2,\"a\":7}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。",
    "answer": {
      "kind": "expression",
      "value": "(even_prime, 2, 1, 否, Euler_criterion_requires_an_odd_prime_and_a_nonzero_class_and_does_not_define_the_Legendre_symbol)",
      "explanation_zh": "Wave6第七層核對=(even_prime, 2, 1, 否, Euler_criterion_requires_an_odd_prime_and_a_nonzero_class_and_does_not_define_the_Legendre_symbol)；依完整明示資料獨立重算；Legendre值由square table先獨立取得，p-1代表-1；finite table只核指定instance而非一般定理證明；p=2、composite與zero class不在domain；不得用Euler criterion反定義Legendre。"
    },
    "difficulty": {
      "band": "undergraduate_core",
      "level": 1,
      "skills": [
        "Euler二次剩餘判準"
      ]
    },
    "variant": {
      "family_id": "qf-mod44-eulercrit-domain-boundary",
      "seed": 202611134082,
      "parameters": {
        "mode": "even_prime",
        "modulus": 2,
        "a": 7,
        "domain": "Odd_prime_Euler_criterion",
        "operation": "eulercrit-domain-boundary",
        "semantic_template": "qf-mod44-eulercrit-domain-boundary/{\"a\":7,\"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": "候選須主端重算；不構成人工審定、sampled normality、finite-sum exponential、formal-only analytic equality、circular Euler criterion、finite-trace decider、stationary extremum、feasible maximum-flow、Lean或Evidence。"
    },
    "provenance": {
      "generator_role": "question_producer",
      "generator_model": "model_unknown",
      "generated_at": "2026-10-15",
      "contract_version": "ocme-question-factory-v0.1"
    }
  },
  "original_english_edition": {
    "schema_version": "ocme-question-localization-v0.1",
    "question_id": "q-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-0082",
    "batch_id": "batch-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-foundations",
    "locale": "en",
    "translation_state": "ai_candidate",
    "source": {
      "question_sha256": "a2baa5a0ffc34d739ef56e54102f668f89ab929f66e28a264f3389514b5d679a",
      "family_id": "qf-mod44-eulercrit-domain-boundary",
      "seed": 202611134082,
      "semantic_template": "qf-mod44-eulercrit-domain-boundary/{\"a\":7,\"mode\":\"even_prime\",\"modulus\":2}"
    },
    "fields": {
      "title": "Zero, Even Prime and Composite Inputs Are Outside This Declared Criterion",
      "stem": "Use mode=even_prime, modulus=2, original a=7. Give (mode, modulus, normalized_class, declared_domain_qualified, boundary).",
      "answer": {
        "kind": "expression",
        "value": "(even_prime, 2, 1, No, Euler_criterion_requires_an_odd_prime_and_a_nonzero_class_and_does_not_define_the_Legendre_symbol)",
        "explanation": "Validate the named failed hypothesis and normalize the class. No means this odd-prime/nonzero domain is not qualified; it does not assert that every out-of-domain numerical equality must fail or redefine the Legendre symbol. The exact result, retaining the requested order, is (even_prime, 2, 1, No, Euler_criterion_requires_an_odd_prime_and_a_nonzero_class_and_does_not_define_the_Legendre_symbol)."
      },
      "skills": [
        "Zero, Even Prime and Composite Inputs Are Outside This Declared Criterion"
      ],
      "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、nonzero class、complete square table與independent repeated-squaring。操作=eulercrit-domain-boundary；資料={\"mode\":\"even_prime\",\"modulus\":2,\"a\":7}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。",
        "en": "Use mode=even_prime, modulus=2, original a=7. Give (mode, modulus, normalized_class, declared_domain_qualified, boundary)."
      }
    }
  ],
  "steps": [
    {
      "id": "S001",
      "uses": [
        "G001"
      ],
      "before": "source roles = [eulercrit-domain-boundary]",
      "after": "derived = [[mode, modulus, normalized_class, declared_domain_qualified, boundary]]",
      "relation": "implies",
      "rule_id": "source_ordered_fields_without_JS",
      "conditions": [],
      "explanation": {
        "zh-Hant": "本頁列完整來源欄序，不需JavaScript；gradient boundary依原mode選6／8／7欄，不補欄也不由答案猜mode。",
        "en": "List the source field order without JavaScript.Gradient boundary uses its original mode to choose6,8 or7 fields;no padding or answer-derived mode."
      },
      "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": "source roles = [2]",
      "after": "derived = [[], 是]",
      "relation": "implies",
      "rule_id": "Euler_modulus_primality_complete_trial",
      "conditions": [],
      "explanation": {
        "zh-Hant": "合數必有不大於平方根的因數，故完整試除驗模數資格；這不由平方性或Euler等式猜測。",
        "en": "A composite has a factor at most its square root;complete trial division qualifies the modulus,not a guessed square/Euler equality."
      },
      "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": "S003",
      "uses": [
        "G001",
        "S002"
      ],
      "before": "Euler ORIGINAL signed quotient times modulus := mul(3, 2)",
      "after": "Euler ORIGINAL signed quotient times modulus = 6",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "依原題角色與已證中間量精確代值；分母先核非零，不以近似數替代。",
        "en": "Substitute original roles and established intermediates exactly;check nonzero denominators and do not round."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 Euler ORIGINAL signed quotient times modulus，不以小數近似替代。",
          "en": "Recompute Euler ORIGINAL signed quotient times modulus with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "mul",
        "inputs": [
          "3",
          "2"
        ],
        "output": "6",
        "label": "Euler ORIGINAL signed quotient times modulus"
      }
    },
    {
      "id": "S004",
      "uses": [
        "G001",
        "S003"
      ],
      "before": "Euler ORIGINAL signed a minus modulus multiple := sub(7, 6)",
      "after": "Euler ORIGINAL signed a minus modulus multiple = 1",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "依原題角色與已證中間量精確代值；分母先核非零，不以近似數替代。",
        "en": "Substitute original roles and established intermediates exactly;check nonzero denominators and do not round."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 Euler ORIGINAL signed a minus modulus multiple，不以小數近似替代。",
          "en": "Recompute Euler ORIGINAL signed a minus modulus multiple with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "sub",
        "inputs": [
          "7",
          "6"
        ],
        "output": "1",
        "label": "Euler ORIGINAL signed a minus modulus multiple"
      }
    },
    {
      "id": "S005",
      "uses": [
        "G001",
        "S004"
      ],
      "before": "source roles = [7, 2, 3]",
      "after": "derived = [1, 是]",
      "relation": "implies",
      "rule_id": "Euler_Euclidean_class_before_hypothesis",
      "conditions": [],
      "explanation": {
        "zh-Hant": "a=qp+r、0<=r<p保負a同一類；原a在指定欄位保留。",
        "en": "Use a=qp+r with0<=r<p,including negative a;retain original a where the interface requests it."
      },
      "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": "S006",
      "uses": [
        "G001",
        "S005"
      ],
      "before": "source roles = [even_prime, 2, 1, 是]",
      "after": "derived = [否, odd prime AND nonzero modular class required]",
      "relation": "implies",
      "rule_id": "Euler_boundary_failed_hypothesis_not_universal_equality_negation",
      "conditions": [],
      "explanation": {
        "zh-Hant": "此No只拒本節點的odd-prime/nonzero使用資格；域外某數值等式可能仍碰巧成立，也不反過來定義Legendre。",
        "en": "No withholds this odd-prime/nonzero domain qualification.Out-of-domain numerical equality may still happen;the criterion does not define Legendre."
      },
      "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,
      "Euler_criterion_requires_an_odd_prime_and_a_nonzero_class_and_does_not_define_the_Legendre_symbol"
    ]
  },
  "conclusion": {
    "canonical_value": "(even_prime, 2, 1, 否, Euler_criterion_requires_an_odd_prime_and_a_nonzero_class_and_does_not_define_the_Legendre_symbol)",
    "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-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-foundations",
      "batch_path": "public/data/questions/batches/batch-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-foundations/questions.jsonl",
      "batch_sha256": "8896a9423d694eedac4e09e904a3a66db2c4856725c2c0bffd90fad44a2c65f5",
      "original_line": 82,
      "original_line_sha256": "1cfc0bb02682d15f3ea159821467882c86b6b53b95e1c8e8c1f3f5b5e78481fd",
      "question_compact_sha256": "a2baa5a0ffc34d739ef56e54102f668f89ab929f66e28a264f3389514b5d679a",
      "english_row_compact_sha256": "46e1d33b644cf0ac9e25717157d6977bf4e9019037e21fef68d7cbbb8201eb98",
      "english_manifest_path": "public/data/i18n/editions/batch-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-foundations.en.json",
      "english_rows_path": "public/data/i18n/questions/batch-20261015-advance-20261113-r04-euler-criterion-quadratic-residue-foundations.en.jsonl"
    },
    "mko_bindings": {
      "mko-euler-criterion-quadratic-residue": {
        "sha256": "da968b0cd6fc238e595782d4d9588d4c8089b176b4d05fc3d1c01eccdb99ce68",
        "english_sha256": "6a1e1a855e1affb5b9eb585fa4ab2173f81281b4327bc8b562d2b308ee6bc99c",
        "original_path": "public/data/mko/euler-criterion-quadratic-residue.json",
        "english_path": "public/data/i18n/editions/mko-euler-criterion-quadratic-residue.en.json"
      }
    },
    "selected_manifest_sha256": "5233edba9654a6cffd8b6b2d83c932f82ded15f9c0b7c733bd049943e672acff",
    "selected_part_sha256": "b3aad195dad743751e4c8a4a6ce44f091c3824da1e52c21e9266d4ccd1dc1b68",
    "original_candidate_sha256": "aff4be7a8f261a0a5a5603c7ff8bead6e5ef7501475bcb470511442243cfc35b",
    "original_candidate_line_sha256": "aff4be7a8f261a0a5a5603c7ff8bead6e5ef7501475bcb470511442243cfc35b"
  },
  "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-p48",
    "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": "9b43b9823e9bd2478d6caa5b57ffed161c2c8956af86974e901d5662ad994386",
      "question_first_witness_sha256": "eb97596068e2d5648033bab2b8f6ca9b653bbe8cb77c0f8e1d16d0c40e46f50b"
    },
    "status": "second_context_reviewed",
    "mathematical_semantics": true,
    "bilingual_semantics": true,
    "steps_reviewed": 6,
    "method": "family_template_semantic_review_plus_independent_per_instance_reconstruction",
    "exact_question_first_check": {
      "model_sha256": "a602be8498e8384deb9b7904a198b0dbded8785f9cb90a90e6460db362be3aa0",
      "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."
  }
}
