{
  "schema_version": "ocme-reviewed-question-reader-v1",
  "question_id": "q-20261012-advance-20261016-r07-surjective-0084",
  "pilot_number": "R0014-07784",
  "number": 7784,
  "family_id": "qf-density16-surj-two-target-preimages",
  "title": {
    "zh-Hant": "第 7784 題：兩個目標的原像與資格",
    "en": "Question 7784: Two Target-Type Guards, Complete Fibers, and Least Preimages"
  },
  "original_question": {
    "schema_version": "ocme-question-v0.1",
    "id": "q-20261012-advance-20261016-r07-surjective-0084",
    "batch_id": "batch-20261012-advance-20261016-r07-surjective-foundations",
    "language": "zh-Hant",
    "source_mko_ids": [
      "mko-surjective"
    ],
    "title_zh": "兩個目標的原像與資格",
    "stem_zh": "Fin型別從0起，完整總表；Fin(5)=[0, 1, 2, 3, 4]→Fin(3)=[0, 1, 2]，images=[0, 0, 1, 0, 0]。有序候選目標queries=[0, 1]。求 (原images, 兩個陪域資格, 兩個纖維或不合陪域, 各最小原像或不存在/不合陪域)。",
    "answer": {
      "kind": "expression",
      "value": "([0, 0, 1, 0, 0], [是, 是], [[0, 1, 3, 4], [2]], [0, 2])",
      "explanation_zh": "有限結構核對=([0, 0, 1, 0, 0], [是, 是], [[0, 1, 3, 4], [2]], [0, 2])。合型目標才掃完整表；合法空纖維答不存在，不和域外資格混同。有限精確核對不是一般形式證明。先資格後求值，空函數條件依宣告陪域。"
    },
    "difficulty": {
      "band": "undergraduate_core",
      "level": 2,
      "skills": [
        "兩個目標的原像與資格"
      ]
    },
    "variant": {
      "family_id": "qf-density16-surj-two-target-preimages",
      "seed": 202610167084,
      "parameters": {
        "n": 5,
        "m": 3,
        "images": [
          0,
          0,
          1,
          0,
          0
        ],
        "queries": [
          0,
          1
        ],
        "domain": "Fin_total_table",
        "operation": "surj-two-target-preimages",
        "semantic_template": "qf-density16-surj-two-target-preimages/{\"images\":[0,0,1,0,0],\"m\":3,\"n\":5,\"queries\":[0,1]}"
      }
    },
    "verification": {
      "status": "candidate",
      "checks": [
        "producer_exact_integer_rational_arithmetic",
        "producer_finite_enumeration",
        "producer_source_snapshot_check",
        "producer_substantive_template_deduplication",
        "producer_json_schema"
      ],
      "warning_zh": "僅為產生端候選及自檢；主端須另做獨立驗收，不構成人工審定、普遍證明或形式 Evidence。"
    },
    "provenance": {
      "generator_role": "question_producer",
      "generator_model": "model_unknown",
      "generated_at": "2026-10-12",
      "contract_version": "ocme-question-factory-v0.1"
    }
  },
  "original_english_edition": {
    "schema_version": "ocme-question-localization-v0.1",
    "question_id": "q-20261012-advance-20261016-r07-surjective-0084",
    "batch_id": "batch-20261012-advance-20261016-r07-surjective-foundations",
    "locale": "en",
    "translation_state": "ai_candidate",
    "source": {
      "question_sha256": "083f24d5f7e95ace803f94a1f24f51c12a3728618d25407f3d3469fcf045d574",
      "family_id": "qf-density16-surj-two-target-preimages",
      "seed": 202610167084,
      "semantic_template": "qf-density16-surj-two-target-preimages/{\"images\":[0,0,1,0,0],\"m\":3,\"n\":5,\"queries\":[0,1]}"
    },
    "fields": {
      "title": "Two Target-Type Guards, Complete Fibers, and Least Preimages",
      "stem": "Finite types start at 0: Fin(5)={0,…,4}→Fin(3), complete images=[0, 0, 1, 0, 0]. Check the whole original total table before any candidate evaluation; empty-function properties depend on the declared codomain. Ordered target candidates=[0, 1]. Give (original images, two codomain-eligibility values, fibers or outside-codomain, each least preimage or does-not-exist/outside-codomain).",
      "answer": {
        "kind": "expression",
        "value": "([0, 0, 1, 0, 0], [Yes, Yes], [[0, 1, 3, 4], [2]], [0, 2])",
        "explanation": "Scan the complete table only for a typed target; a legal empty fiber has no preimage and is not the same as an outside-codomain candidate. These exact finite checks are not new general formal Evidence. The exact result, retaining the requested order, is ([0, 0, 1, 0, 0], [Yes, Yes], [[0, 1, 3, 4], [2]], [0, 2])."
      },
      "skills": [
        "Two Target-Type Guards, Complete Fibers, and Least Preimages"
      ],
      "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": "Fin型別從0起，完整總表；Fin(5)=[0, 1, 2, 3, 4]→Fin(3)=[0, 1, 2]，images=[0, 0, 1, 0, 0]。有序候選目標queries=[0, 1]。求 (原images, 兩個陪域資格, 兩個纖維或不合陪域, 各最小原像或不存在/不合陪域)。",
        "en": "Finite types start at 0: Fin(5)={0,…,4}→Fin(3), complete images=[0, 0, 1, 0, 0]. Check the whole original total table before any candidate evaluation; empty-function properties depend on the declared codomain. Ordered target candidates=[0, 1]. Give (original images, two codomain-eligibility values, fibers or outside-codomain, each least preimage or does-not-exist/outside-codomain)."
      }
    }
  ],
  "steps": [
    {
      "id": "S001",
      "uses": [
        "G001"
      ],
      "before": "n=5;m=3;images=[0, 0, 1, 0, 0]",
      "after": "all original inputs and outputs form a typed total table;labels start at0",
      "relation": "implies",
      "rule_id": "finite_surjection_typed_scope",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先核整個原表為Fin(n)到Fin(m)的總函數，包含不會被候選查詢的格；目標資格通過後才談其原像與滿射。",
        "en": "First validate the entire original table as a total function from Fin(n) to Fin(m),including cells not used by a query.Only then evaluate preimages for eligible targets and surjectivity."
      },
      "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": "query0=0;codomain Fin(3);original images=[0, 0, 1, 0, 0]",
      "after": "eligible=是;fiber/status=[0, 1, 3, 4];least/status=0",
      "relation": "implies",
      "rule_id": "preimage_query_type_and_empty_distinction",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先查0≤目標<m；合法但無原像時纖維為空且最小原像不存在。域外目標不稱為合法空纖維，也不讀負索引。",
        "en": "First check0≤target<m.A legal target with no preimage has an empty fiber and no least preimage.An outside target is not a legal empty fiber,and negative indexing is not used."
      },
      "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": "query1=1;codomain Fin(3);original images=[0, 0, 1, 0, 0]",
      "after": "eligible=是;fiber/status=[2];least/status=2",
      "relation": "implies",
      "rule_id": "preimage_query_type_and_empty_distinction",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先查0≤目標<m；合法但無原像時纖維為空且最小原像不存在。域外目標不稱為合法空纖維，也不讀負索引。",
        "en": "First check0≤target<m.A legal target with no preimage has an empty fiber and no least preimage.An outside target is not a legal empty fiber,and negative indexing is not used."
      },
      "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": [
      [
        0,
        0,
        1,
        0,
        0
      ],
      [
        true,
        true
      ],
      [
        [
          0,
          1,
          3,
          4
        ],
        [
          2
        ]
      ],
      [
        0,
        2
      ]
    ]
  },
  "conclusion": {
    "canonical_value": "([0, 0, 1, 0, 0], [是, 是], [[0, 1, 3, 4], [2]], [0, 2])",
    "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-20261012-advance-20261016-r07-surjective-foundations",
      "batch_path": "public/data/questions/batches/batch-20261012-advance-20261016-r07-surjective-foundations/questions.jsonl",
      "batch_sha256": "2e96f82e444d7357027861ae1bf02bfabdf513a5219df4e4a643472e67389b30",
      "original_line": 84,
      "original_line_sha256": "601fbe75735095279341d529876628dd7d6d75ae753a552d5b0909e148a8585a",
      "question_compact_sha256": "083f24d5f7e95ace803f94a1f24f51c12a3728618d25407f3d3469fcf045d574",
      "english_row_compact_sha256": "e6dac6dc25c333a02e5c2cb0e0689efabff33eaa950daf43dadc1489a1795ac5",
      "english_manifest_path": "public/data/i18n/editions/batch-20261012-advance-20261016-r07-surjective-foundations.en.json",
      "english_rows_path": "public/data/i18n/questions/batch-20261012-advance-20261016-r07-surjective-foundations.en.jsonl"
    },
    "mko_bindings": {
      "mko-surjective": {
        "sha256": "9e23f524f4cd5d7a32f8fed322c2a1717b66148676cc519dc1288a1346303feb",
        "english_sha256": "dc93237b8c19a6b091095797c7bb5b1ffc1e339f1c4437a9a8fecc626775520a",
        "original_path": "public/data/mko/surjective.json",
        "english_path": "public/data/i18n/editions/mko-surjective.en.json"
      }
    },
    "selected_manifest_sha256": "5233edba9654a6cffd8b6b2d83c932f82ded15f9c0b7c733bd049943e672acff",
    "selected_part_sha256": "d7860245c70062705fa4858c13821db6ff286678dec63f22464364f5d24cfcc1",
    "original_candidate_sha256": "20fa7a5691930d03952898fe1962cbb6930a91dbb8b7030c5890fafc40beab2b",
    "original_candidate_line_sha256": "20fa7a5691930d03952898fe1962cbb6930a91dbb8b7030c5890fafc40beab2b"
  },
  "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-005-p15",
    "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": "23ba8196e85a09c03add0a87f96bec5d67a00dc648d1d68eef89101525b41a77",
      "question_first_witness_sha256": "17d59afc327b7cb8b6e588686d6dc1abbccd384d8ba32b8c046652f96821d705"
    },
    "status": "second_context_reviewed",
    "mathematical_semantics": true,
    "bilingual_semantics": true,
    "steps_reviewed": 3,
    "method": "family_template_semantic_review_plus_independent_per_instance_reconstruction",
    "exact_question_first_check": {
      "model_sha256": "7ef2eda674ec4242265d4d438b944160b57ecbbc1f762f76c2ded3b3efc4104e",
      "arithmetic_steps": 0
    },
    "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."
  }
}
