{
  "schema_version": "ocme-reviewed-question-reader-v1",
  "question_id": "q-20261014-advance-20261111-r07-nondeterministic-finite-automaton-0012",
  "pilot_number": "R0045-23287",
  "number": 23287,
  "family_id": "qf-mod42-nfa-qualification",
  "title": {
    "zh-Hant": "第 23287 題：非確定有限自動機",
    "en": "Question 23287: An Epsilon-NFA Relation May Be Empty, Partial or Multivalued"
  },
  "original_question": {
    "schema_version": "ocme-question-v0.1",
    "id": "q-20261014-advance-20261111-r07-nondeterministic-finite-automaton-0012",
    "batch_id": "batch-20261014-advance-20261111-r07-nondeterministic-finite-automaton-foundations",
    "language": "zh-Hant",
    "source_mko_ids": [
      "mko-nondeterministic-finite-automaton"
    ],
    "title_zh": "非確定有限自動機",
    "stem_zh": "transition=[from,input-or-null,to]且允許empty alphabet/final set的finite epsilon-NFA。操作=nfa-qualification；資料={\"states\":[\"s11\",\"m11\",\"f11\",\"d11\"],\"alphabet\":[\"a11\",\"b11\"],\"start_state\":\"s11\",\"final_states\":[\"f11\"],\"transitions\":[[\"s11\",null,\"m11\"],[\"s11\",null,\"d11\"],[\"m11\",\"a11\",\"m11\"],[\"m11\",\"b11\",\"f11\"]]}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。",
    "answer": {
      "kind": "expression",
      "value": "([s11, m11, f11, d11], [a11, b11], s11, [f11], [[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]], [[s11, a11, []], [s11, b11, []], [f11, a11, []], [f11, b11, []], [d11, a11, []], [d11, b11, []]], 是, transition_relation_may_be_empty_multi_valued_and_epsilon_enabled)",
      "explanation_zh": "Wave6第五層核對=([s11, m11, f11, d11], [a11, b11], s11, [f11], [[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]], [[s11, a11, []], [s11, b11, []], [f11, a11, []], [f11, b11, []], [d11, a11, []], [d11, b11, []]], 是, transition_relation_may_be_empty_multi_valued_and_epsilon_enabled)；依完整明示資料獨立重算；null epsilon不消耗input、transition relation可empty或multi-valued且一條finite full-input final path即可證membership；empty final set合法且辨識空語言；bounded search failure不證rejection，epsilon cycle本身不接受。"
    },
    "difficulty": {
      "band": "undergraduate_core",
      "level": 2,
      "skills": [
        "非確定有限自動機"
      ]
    },
    "variant": {
      "family_id": "qf-mod42-nfa-qualification",
      "seed": 202611117012,
      "parameters": {
        "states": [
          "s11",
          "m11",
          "f11",
          "d11"
        ],
        "alphabet": [
          "a11",
          "b11"
        ],
        "start_state": "s11",
        "final_states": [
          "f11"
        ],
        "transitions": [
          [
            "s11",
            null,
            "m11"
          ],
          [
            "s11",
            null,
            "d11"
          ],
          [
            "m11",
            "a11",
            "m11"
          ],
          [
            "m11",
            "b11",
            "f11"
          ]
        ],
        "domain": "Finite_epsilon_NFA_existential_acceptance",
        "operation": "nfa-qualification",
        "semantic_template": "qf-mod42-nfa-qualification/{\"alphabet\":[\"a11\",\"b11\"],\"final_states\":[\"f11\"],\"start_state\":\"s11\",\"states\":[\"d11\",\"f11\",\"m11\",\"s11\"],\"transitions\":[[\"m11\",\"a11\",\"m11\"],[\"m11\",\"b11\",\"f11\"],[\"s11\",null,\"d11\"],[\"s11\",null,\"m11\"]]}"
      }
    },
    "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-r07-nondeterministic-finite-automaton-0012",
    "batch_id": "batch-20261014-advance-20261111-r07-nondeterministic-finite-automaton-foundations",
    "locale": "en",
    "translation_state": "ai_candidate",
    "source": {
      "question_sha256": "1b0c9530f7b5f0c1b398e9c7b375c02e436c7306b4d257687b5bb93eca00d7d4",
      "family_id": "qf-mod42-nfa-qualification",
      "seed": 202611117012,
      "semantic_template": "qf-mod42-nfa-qualification/{\"alphabet\":[\"a11\",\"b11\"],\"final_states\":[\"f11\"],\"start_state\":\"s11\",\"states\":[\"d11\",\"f11\",\"m11\",\"s11\"],\"transitions\":[[\"m11\",\"a11\",\"m11\"],[\"m11\",\"b11\",\"f11\"],[\"s11\",null,\"d11\"],[\"s11\",null,\"m11\"]]}"
    },
    "fields": {
      "title": "An Epsilon-NFA Relation May Be Empty, Partial or Multivalued",
      "stem": "Use the complete finite epsilon-NFA: states=[s11, m11, f11, d11], alphabet=[a11, b11], start=s11, final_states=[f11], transitions=[[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]]. Transitions are [from,input symbol or null,to]; null is epsilon and consumes no input. States are nonempty because the start belongs to them, but alphabet/final sets and the transition relation may be empty. The relation may be multivalued, not deterministic or total. A configuration is [state,input position]; acceptance requires one finite path consuming the entire input and ending final. Give (states, alphabet, start, final_states, transitions, empty_target_rows, qualified, convention).",
      "answer": {
        "kind": "expression",
        "value": "([s11, m11, f11, d11], [a11, b11], s11, [f11], [[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]], [[s11, a11, []], [s11, b11, []], [f11, a11, []], [f11, b11, []], [d11, a11, []], [d11, b11, []]], Yes, transition_relation_may_be_empty_multi_valued_and_epsilon_enabled)",
        "explanation": "Retain the original state/alphabet/transition order and every empty [state,input symbol,target list] row. Empty final sets are valid and recognize the empty language; an empty alphabet is valid. Qualification does not claim determinism, totality, DFA equivalence or the subset-construction theorem. The exact result, retaining the requested order, is ([s11, m11, f11, d11], [a11, b11], s11, [f11], [[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]], [[s11, a11, []], [s11, b11, []], [f11, a11, []], [f11, b11, []], [d11, a11, []], [d11, b11, []]], Yes, transition_relation_may_be_empty_multi_valued_and_epsilon_enabled)."
      },
      "skills": [
        "An Epsilon-NFA Relation May Be Empty, Partial or Multivalued"
      ],
      "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": "transition=[from,input-or-null,to]且允許empty alphabet/final set的finite epsilon-NFA。操作=nfa-qualification；資料={\"states\":[\"s11\",\"m11\",\"f11\",\"d11\"],\"alphabet\":[\"a11\",\"b11\"],\"start_state\":\"s11\",\"final_states\":[\"f11\"],\"transitions\":[[\"s11\",null,\"m11\"],[\"s11\",null,\"d11\"],[\"m11\",\"a11\",\"m11\"],[\"m11\",\"b11\",\"f11\"]]}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。",
        "en": "Use the complete finite epsilon-NFA: states=[s11, m11, f11, d11], alphabet=[a11, b11], start=s11, final_states=[f11], transitions=[[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]]. Transitions are [from,input symbol or null,to]; null is epsilon and consumes no input. States are nonempty because the start belongs to them, but alphabet/final sets and the transition relation may be empty. The relation may be multivalued, not deterministic or total. A configuration is [state,input position]; acceptance requires one finite path consuming the entire input and ending final. Give (states, alphabet, start, final_states, transitions, empty_target_rows, qualified, convention)."
      }
    }
  ],
  "steps": [
    {
      "id": "S001",
      "uses": [
        "G001"
      ],
      "before": "source operation=nfa-qualification;original snapshot and mathematics retained",
      "after": "explicit ordered source output fields=[states, alphabet, start, final_states, transitions, empty_target_rows, qualified, convention]",
      "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": "ORIGINAL transition index=0;[from,input_or_null,to]=[s11, null, m11];state carrier=[s11, m11, f11, d11];alphabet=[a11, b11]",
      "after": "state endpoints legal;symbol either declared input or null EPS consuming0;ORIGINAL row position retained,including duplicate rows",
      "relation": "implies",
      "rule_id": "nfa_EVERY_original_relation_row_roles_empty_multi_EPS_legal",
      "conditions": [],
      "explanation": {
        "zh-Hant": "這是relation不是單值total函數，duplicate／多值／缺邊皆保原資料；null消耗0但不是一個alphabet字串。",
        "en": "This is a relation,not a total single-valued function.Retain duplicate,multivalued and missing edges;null consumes0 and is not an alphabet string."
      },
      "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": "ORIGINAL transition index=1;[from,input_or_null,to]=[s11, null, d11];state carrier=[s11, m11, f11, d11];alphabet=[a11, b11]",
      "after": "state endpoints legal;symbol either declared input or null EPS consuming0;ORIGINAL row position retained,including duplicate rows",
      "relation": "implies",
      "rule_id": "nfa_EVERY_original_relation_row_roles_empty_multi_EPS_legal",
      "conditions": [],
      "explanation": {
        "zh-Hant": "這是relation不是單值total函數，duplicate／多值／缺邊皆保原資料；null消耗0但不是一個alphabet字串。",
        "en": "This is a relation,not a total single-valued function.Retain duplicate,multivalued and missing edges;null consumes0 and is not an alphabet string."
      },
      "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": "S004",
      "uses": [
        "G001",
        "S003"
      ],
      "before": "ORIGINAL transition index=2;[from,input_or_null,to]=[m11, a11, m11];state carrier=[s11, m11, f11, d11];alphabet=[a11, b11]",
      "after": "state endpoints legal;symbol either declared input or null EPS consuming0;ORIGINAL row position retained,including duplicate rows",
      "relation": "implies",
      "rule_id": "nfa_EVERY_original_relation_row_roles_empty_multi_EPS_legal",
      "conditions": [],
      "explanation": {
        "zh-Hant": "這是relation不是單值total函數，duplicate／多值／缺邊皆保原資料；null消耗0但不是一個alphabet字串。",
        "en": "This is a relation,not a total single-valued function.Retain duplicate,multivalued and missing edges;null consumes0 and is not an alphabet string."
      },
      "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 transition index=3;[from,input_or_null,to]=[m11, b11, f11];state carrier=[s11, m11, f11, d11];alphabet=[a11, b11]",
      "after": "state endpoints legal;symbol either declared input or null EPS consuming0;ORIGINAL row position retained,including duplicate rows",
      "relation": "implies",
      "rule_id": "nfa_EVERY_original_relation_row_roles_empty_multi_EPS_legal",
      "conditions": [],
      "explanation": {
        "zh-Hant": "這是relation不是單值total函數，duplicate／多值／缺邊皆保原資料；null消耗0但不是一個alphabet字串。",
        "en": "This is a relation,not a total single-valued function.Retain duplicate,multivalued and missing edges;null consumes0 and is not an alphabet string."
      },
      "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": "ORIGINAL states=[s11, m11, f11, d11],alphabet=[a11, b11],start=s11,final_states=[f11];complete relation=[[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]]",
      "after": "states nonempty with actual start;alphabet/final set/relation MAY be EMPTY;definition qualification does NOT prove determinism,totality,DFA equivalence or a successful run",
      "relation": "implies",
      "rule_id": "nfa_qualified_definition_EMPTY_alphabet_finals_edges_allowed",
      "conditions": [],
      "explanation": {
        "zh-Hant": "空final set合法且辨識空語言；空alphabet也合法。定義合格不保存在accepting path，亦不推deterministic或DFA等價。",
        "en": "An empty final set is legal and recognizes the empty language;an empty alphabet is legal too.A qualified definition supplies no accepting path,determinism or DFA-equivalence 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": "S007",
      "uses": [
        "G001",
        "S006"
      ],
      "before": "ORIGINAL state order=[s11, m11, f11, d11];ORIGINAL alphabet order=[a11, b11];complete relation=[[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]]",
      "after": "ALL [state,symbol,ORIGINAL-order targets] rows=[[s11, a11, []], [s11, b11, []], [m11, a11, [m11]], [m11, b11, [f11]], [f11, a11, []], [f11, b11, []], [d11, a11, []], [d11, b11, []]];EMPTY target rows=[[s11, a11, []], [s11, b11, []], [f11, a11, []], [f11, b11, []], [d11, a11, []], [d11, b11, []]];no missing edge repaired",
      "relation": "implies",
      "rule_id": "nfa_ORIGINAL_state_symbol_relation_targets_not_totality_assumption",
      "conditions": [],
      "explanation": {
        "zh-Hant": "逐原state再原symbol列全部target，保原transition次序與重複；空target不是不合格。空alphabet時沒有這類pair，空final set亦不變成任意accept。",
        "en": "List all targets in original state/symbol order,retaining transition order and duplicates.Empty targets are legal;an empty alphabet has no such pairs,and an empty final set does not become accepting."
      },
      "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": [
      [
        "s11",
        "m11",
        "f11",
        "d11"
      ],
      [
        "a11",
        "b11"
      ],
      "s11",
      [
        "f11"
      ],
      [
        [
          "s11",
          null,
          "m11"
        ],
        [
          "s11",
          null,
          "d11"
        ],
        [
          "m11",
          "a11",
          "m11"
        ],
        [
          "m11",
          "b11",
          "f11"
        ]
      ],
      [
        [
          "s11",
          "a11",
          []
        ],
        [
          "s11",
          "b11",
          []
        ],
        [
          "f11",
          "a11",
          []
        ],
        [
          "f11",
          "b11",
          []
        ],
        [
          "d11",
          "a11",
          []
        ],
        [
          "d11",
          "b11",
          []
        ]
      ],
      true,
      "transition_relation_may_be_empty_multi_valued_and_epsilon_enabled"
    ]
  },
  "conclusion": {
    "canonical_value": "([s11, m11, f11, d11], [a11, b11], s11, [f11], [[s11, null, m11], [s11, null, d11], [m11, a11, m11], [m11, b11, f11]], [[s11, a11, []], [s11, b11, []], [f11, a11, []], [f11, b11, []], [d11, a11, []], [d11, b11, []]], 是, transition_relation_may_be_empty_multi_valued_and_epsilon_enabled)",
    "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-r07-nondeterministic-finite-automaton-foundations",
      "batch_path": "public/data/questions/batches/batch-20261014-advance-20261111-r07-nondeterministic-finite-automaton-foundations/questions.jsonl",
      "batch_sha256": "5ab150dafd2899ef1c33ab5fca8efa13a6e4b72ab22fe0a04ebbbd61b659ec1c",
      "original_line": 12,
      "original_line_sha256": "c91a1a686978fec80eb6b70b083a8bfdcf6967f6621d53c8c4a18eb248b10aea",
      "question_compact_sha256": "1b0c9530f7b5f0c1b398e9c7b375c02e436c7306b4d257687b5bb93eca00d7d4",
      "english_row_compact_sha256": "925b4f88d50d56ffca12785d652fcc83af6c9fcbb4d4973b863b7fecb1a66e10",
      "english_manifest_path": "public/data/i18n/editions/batch-20261014-advance-20261111-r07-nondeterministic-finite-automaton-foundations.en.json",
      "english_rows_path": "public/data/i18n/questions/batch-20261014-advance-20261111-r07-nondeterministic-finite-automaton-foundations.en.jsonl"
    },
    "mko_bindings": {
      "mko-nondeterministic-finite-automaton": {
        "sha256": "4ac739d18d7d5b29bc3d146c9707a5cbf0e98a1bd3b66ce6a5b064ec83f1380b",
        "english_sha256": "d3037e441fbf749593b9c7847ce52c1e4d383a9b8dacdbe3f2068aec86b4f406",
        "original_path": "public/data/mko/nondeterministic-finite-automaton.json",
        "english_path": "public/data/i18n/editions/mko-nondeterministic-finite-automaton.en.json"
      }
    },
    "selected_manifest_sha256": "5233edba9654a6cffd8b6b2d83c932f82ded15f9c0b7c733bd049943e672acff",
    "selected_part_sha256": "9732ef02cb296d2e89f9b6cade5a76a83e9d37bdcf6a3de7f8613ebce02311e8",
    "original_candidate_sha256": "773062e8428bec2ee461303b345da610c21787c11fae70330b80934769966cd5",
    "original_candidate_line_sha256": "773062e8428bec2ee461303b345da610c21787c11fae70330b80934769966cd5"
  },
  "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": 7,
    "method": "family_template_semantic_review_plus_independent_per_instance_reconstruction",
    "exact_question_first_check": {
      "model_sha256": "b2c6452f86f3ceb8012e517ef238d729571999d3395df17de2e263b054748790",
      "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."
  }
}
