{
  "schema_version": "ocme-reviewed-question-reader-v1",
  "question_id": "q-20260930-r04-composition-affine-evaluation-0007",
  "pilot_number": "R0005-03032",
  "number": 3032,
  "family_id": "qf-composition-affine-evaluation",
  "title": {
    "zh-Hant": "第 3032 題：明示線性表達式的合成",
    "en": "Question 3032: Composition of Explicit Affine Expressions"
  },
  "original_question": {
    "schema_version": "ocme-question-v0.1",
    "id": "q-20260930-r04-composition-affine-evaluation-0007",
    "batch_id": "batch-20260930-r04-composition-foundations",
    "language": "zh-Hant",
    "source_mko_ids": [
      "mko-composition"
    ],
    "title_zh": "明示線性表達式的合成",
    "stem_zh": "明示總函數 f:R→R，f(t)=(3)t+(-6)；g:R→R，g(t)=(-1)t+(0)。在 x=-6 時，求 (g∘f)(x) 的精確值。",
    "answer": {
      "kind": "short_text",
      "value": "24",
      "explanation_zh": "先求 f(x)=-24，再求 g(f(x))=24，所以答案為 24。"
    },
    "difficulty": {
      "band": "upper_secondary",
      "level": 1,
      "skills": [
        "先內後外",
        "精確代入"
      ]
    },
    "variant": {
      "family_id": "qf-composition-affine-evaluation",
      "seed": 202609304007,
      "parameters": {
        "operation": "g_after_f",
        "a": 3,
        "b": -6,
        "c": -1,
        "d": 0,
        "x": -6,
        "semantic_template": "qf-composition-affine-evaluation/{\"a\":3,\"b\":-6,\"c\":-1,\"d\":0,\"operation\":\"g_after_f\",\"x\":-6}"
      }
    },
    "verification": {
      "status": "candidate",
      "checks": [
        "json_schema",
        "producer_local_answer_invariants",
        "explanation_witness_accuracy"
      ],
      "warning_zh": "本題保持 candidate；有限精確計算與產生者自檢不構成人工審查、形式證明或主架構者驗收。"
    },
    "provenance": {
      "generator_role": "question_producer",
      "generator_model": "Codex GPT-6 question producer",
      "generated_at": "2026-09-30",
      "contract_version": "ocme-question-factory-v0.1"
    }
  },
  "original_english_edition": {
    "schema_version": "ocme-question-localization-v0.1",
    "question_id": "q-20260930-r04-composition-affine-evaluation-0007",
    "batch_id": "batch-20260930-r04-composition-foundations",
    "locale": "en",
    "translation_state": "ai_candidate",
    "source": {
      "question_sha256": "1ebe8903b6219f1da1fa025968d37be236167a6692134f434fa6b3a7519cd8b0",
      "family_id": "qf-composition-affine-evaluation",
      "seed": 202609304007,
      "semantic_template": "qf-composition-affine-evaluation/{\"a\":3,\"b\":-6,\"c\":-1,\"d\":0,\"operation\":\"g_after_f\",\"x\":-6}"
    },
    "fields": {
      "title": "Composition of Explicit Affine Expressions",
      "stem": "Let f:R→R be f(t)=(3)t+(-6) and g:R→R be g(t)=(-1)t+(0). Find (g∘f)(-6) exactly.",
      "answer": {
        "kind": "short_text",
        "value": "24",
        "explanation": "First f(-6)=-24; then g(f(-6))=24."
      },
      "skills": [
        "inner function before outer function",
        "exact substitution"
      ],
      "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": "明示總函數 f:R→R，f(t)=(3)t+(-6)；g:R→R，g(t)=(-1)t+(0)。在 x=-6 時，求 (g∘f)(x) 的精確值。",
        "en": "Let f:R→R be f(t)=(3)t+(-6) and g:R→R be g(t)=(-1)t+(0). Find (g∘f)(-6) exactly."
      }
    }
  ],
  "steps": [
    {
      "id": "S001",
      "uses": [
        "G001"
      ],
      "before": "(g∘f)(x)",
      "after": "g(f(x)):apply f first,then g",
      "relation": "implies",
      "rule_id": "composition_order",
      "conditions": [],
      "explanation": {
        "zh-Hant": "合成符號的右邊函數先作用，不是把兩個函數值相乘。",
        "en": "The function on the right acts first;composition is not multiplication of two function values."
      },
      "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": "f(x) product := mul(3, -6)",
      "after": "f(x) product = -18",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先完整代入目前輸入並乘係數。",
        "en": "Substitute the current input and multiply by the coefficient."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 f(x) product，不以小數近似替代。",
          "en": "Recompute f(x) product with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "mul",
        "inputs": [
          "3",
          "-6"
        ],
        "output": "-18",
        "label": "f(x) product"
      }
    },
    {
      "id": "S003",
      "uses": [
        "G001",
        "S002"
      ],
      "before": "f(x) value := sum(-18, -6)",
      "after": "f(x) value = -24",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "再加此函數自己的常數項。",
        "en": "Then add this function's own constant term."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 f(x) value，不以小數近似替代。",
          "en": "Recompute f(x) value with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "sum",
        "inputs": [
          "-18",
          "-6"
        ],
        "output": "-24",
        "label": "f(x) value"
      }
    },
    {
      "id": "S004",
      "uses": [
        "G001",
        "S003"
      ],
      "before": "g(f(x)) product := mul(-1, -24)",
      "after": "g(f(x)) product = 24",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先完整代入目前輸入並乘係數。",
        "en": "Substitute the current input and multiply by the coefficient."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 g(f(x)) product，不以小數近似替代。",
          "en": "Recompute g(f(x)) product with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "mul",
        "inputs": [
          "-1",
          "-24"
        ],
        "output": "24",
        "label": "g(f(x)) product"
      }
    },
    {
      "id": "S005",
      "uses": [
        "G001",
        "S004"
      ],
      "before": "g(f(x)) value := sum(24, 0)",
      "after": "g(f(x)) value = 24",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "再加此函數自己的常數項。",
        "en": "Then add this function's own constant term."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 g(f(x)) value，不以小數近似替代。",
          "en": "Recompute g(f(x)) value with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "sum",
        "inputs": [
          "24",
          "0"
        ],
        "output": "24",
        "label": "g(f(x)) value"
      }
    }
  ],
  "math_model": {
    "result": "24",
    "intermediate_f": "-24"
  },
  "conclusion": {
    "canonical_value": "24",
    "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-20260930-r04-composition-foundations",
      "batch_path": "public/data/questions/batches/batch-20260930-r04-composition-foundations/questions.jsonl",
      "batch_sha256": "36c06ad1401a2402e83fc4db2843422ed626fdaa20ea488f30a0832aaf4c781f",
      "original_line": 7,
      "original_line_sha256": "a5cf22926a125dd38f91ac14091e4303185a18c932c9707d843635a968a03c63",
      "question_compact_sha256": "1ebe8903b6219f1da1fa025968d37be236167a6692134f434fa6b3a7519cd8b0",
      "english_row_compact_sha256": "3eafb8742b8eecf8184446094546fc2007998e940c1506f0bbbbcc34a194d300",
      "english_manifest_path": "public/data/i18n/editions/batch-20260930-r04-composition-foundations.en.json",
      "english_rows_path": "public/data/i18n/questions/batch-20260930-r04-composition-foundations.en.jsonl"
    },
    "mko_bindings": {
      "mko-composition": {
        "sha256": "a915b980c52ed5cfa4fd9ef59e2a23ef237a0eebbe262cd6f1a67b15f052bfa9",
        "english_sha256": "702841fe3d6cacc8f4b48338fbd4fc96731540292253b3030c43dce8e1cf1979",
        "original_path": "public/data/mko/composition.json",
        "english_path": "public/data/i18n/editions/mko-composition.en.json"
      }
    },
    "selected_manifest_sha256": "5233edba9654a6cffd8b6b2d83c932f82ded15f9c0b7c733bd049943e672acff",
    "selected_part_sha256": "66b95c054a23815e6aa9999f9605667abcb96e0c5a97b71cd67b67041065878a",
    "original_candidate_sha256": "16d4d26390246c98f5fc5482f387f694e408f08546313205c5d44e05df29c552",
    "original_candidate_line_sha256": "16d4d26390246c98f5fc5482f387f694e408f08546313205c5d44e05df29c552"
  },
  "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-004-p6",
    "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": "5d74de11610ebc6037a4fc9946d77154d4ed18389f8f0feeb823148b6320c4c2",
      "question_first_witness_sha256": "1fba4ab0f13c2cfcc4d9fdebe492c442d43dd45700394a443daa28f333355ed9"
    },
    "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": "642ecfeeb1af98a358162a66f37fd515c3c4395be5dfab76aa3a5fd302b3194e",
      "arithmetic_steps": 4
    },
    "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."
  }
}
