{
  "schema_version": "ocme-reviewed-question-reader-v1",
  "question_id": "q-20261008-advance-20261010-r03-distance-formula-0058",
  "pilot_number": "R0007-04083",
  "number": 4083,
  "family_id": "qf-density10-distance-three-order",
  "title": {
    "zh-Hant": "第 4083 題：三個帶索引距離的含同距排序",
    "en": "Question 4083: Distance Order with Explicit Tie Groups"
  },
  "original_question": {
    "schema_version": "ocme-question-v0.1",
    "id": "q-20261008-advance-20261010-r03-distance-formula-0058",
    "batch_id": "batch-20261008-advance-20261010-r03-distance-formula-foundations",
    "language": "zh-Hant",
    "source_mko_ids": [
      "mko-distance-formula"
    ],
    "title_zh": "三個帶索引距離的含同距排序",
    "stem_zh": "同一等單位正交實平面；L2為從共同原點到每個座標向量的歐氏距離；索引1、2、3依序對應 [[7, 0], [8, 0], [9, 1]]。由小至大列索引同距分組，同組索引遞增。",
    "answer": {
      "kind": "expression",
      "value": "[[1], [2], [3]]",
      "explanation_zh": "三距離同距分組=[[1], [2], [3]]。比較非負平方值即可排序；相等平方分同組，保留原索引而不以座標字典序代替距離。"
    },
    "difficulty": {
      "band": "upper_secondary",
      "level": 1,
      "skills": [
        "三個帶索引距離的含同距排序"
      ]
    },
    "variant": {
      "family_id": "qf-density10-distance-three-order",
      "seed": 202610103058,
      "parameters": {
        "vectors": [
          [
            7,
            0
          ],
          [
            8,
            0
          ],
          [
            9,
            1
          ]
        ],
        "frame": "orthogonal_equal_unit",
        "operation": "density10_distance_three_order",
        "domain": "integer_euclidean_plane",
        "semantic_template": "qf-density10-distance-three-order/[[\"0\",\"7\"],[\"0\",\"8\"],[\"1\",\"9\"]]"
      }
    },
    "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-08",
      "contract_version": "ocme-question-factory-v0.1"
    }
  },
  "original_english_edition": {
    "schema_version": "ocme-question-localization-v0.1",
    "question_id": "q-20261008-advance-20261010-r03-distance-formula-0058",
    "batch_id": "batch-20261008-advance-20261010-r03-distance-formula-foundations",
    "locale": "en",
    "translation_state": "ai_candidate",
    "source": {
      "question_sha256": "f47ef5ac69c2e68fcbc7b6d76c2ebbedf8dd6c88d6cbcdb7d3d43237a852a93c",
      "family_id": "qf-density10-distance-three-order",
      "seed": 202610103058,
      "semantic_template": "qf-density10-distance-three-order/[[\"0\",\"7\"],[\"0\",\"8\"],[\"1\",\"9\"]]"
    },
    "fields": {
      "title": "Distance Order with Explicit Tie Groups",
      "stem": "In one equal-unit orthogonal Euclidean plane, L2 is the nonnegative distance from the common origin to each vector. Indices 1,2,3 correspond to [[7, 0], [8, 0], [9, 1]]. List index groups in increasing distance order, with indices increasing inside each tie group.",
      "answer": {
        "kind": "expression",
        "value": "[[1], [2], [3]]",
        "explanation": "Compare nonnegative squared distances; preserve original indices and do not replace distance order by coordinate order. The exact result, retaining the requested order, is [[1], [2], [3]]."
      },
      "skills": [
        "Distance Order with Explicit Tie Groups"
      ],
      "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": "同一等單位正交實平面；L2為從共同原點到每個座標向量的歐氏距離；索引1、2、3依序對應 [[7, 0], [8, 0], [9, 1]]。由小至大列索引同距分組，同組索引遞增。",
        "en": "In one equal-unit orthogonal Euclidean plane, L2 is the nonnegative distance from the common origin to each vector. Indices 1,2,3 correspond to [[7, 0], [8, 0], [9, 1]]. List index groups in increasing distance order, with indices increasing inside each tie group."
      }
    }
  ],
  "steps": [
    {
      "id": "S001",
      "uses": [
        "G001"
      ],
      "before": "integer vectors from a common origin;orthogonal equal-length units",
      "after": "L2(v)≥0 and L2(v)²=v₁²+v₂²",
      "relation": "implies",
      "rule_id": "euclidean_distance_frame",
      "conditions": [],
      "explanation": {
        "zh-Hant": "共同原點、正交及等單位是平方和公式的前提；向量座標可負，距離不可負。",
        "en": "A common origin,orthogonality and equal units support the sum-of-squares formula;coordinates may be negative but distances may not."
      },
      "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": "vector1 coordinate1 squared := square(7)",
      "after": "vector1 coordinate1 squared = 49",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先將此完整分量平方，保留負號在括號內。",
        "en": "Square the entire coordinate,including a negative sign inside the square."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector1 coordinate1 squared，不以小數近似替代。",
          "en": "Recompute vector1 coordinate1 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "square",
        "inputs": [
          "7"
        ],
        "output": "49",
        "label": "vector1 coordinate1 squared"
      }
    },
    {
      "id": "S003",
      "uses": [
        "G001",
        "S002"
      ],
      "before": "vector1 coordinate2 squared := square(0)",
      "after": "vector1 coordinate2 squared = 0",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先將此完整分量平方，保留負號在括號內。",
        "en": "Square the entire coordinate,including a negative sign inside the square."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector1 coordinate2 squared，不以小數近似替代。",
          "en": "Recompute vector1 coordinate2 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "square",
        "inputs": [
          "0"
        ],
        "output": "0",
        "label": "vector1 coordinate2 squared"
      }
    },
    {
      "id": "S004",
      "uses": [
        "G001",
        "S003"
      ],
      "before": "vector1 L2 squared := sum(49, 0)",
      "after": "vector1 L2 squared = 49",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "兩個平方相加是距離平方，不是兩座標直接相加。",
        "en": "Add the coordinate squares to obtain squared distance,not a sum of the coordinates."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector1 L2 squared，不以小數近似替代。",
          "en": "Recompute vector1 L2 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "sum",
        "inputs": [
          "49",
          "0"
        ],
        "output": "49",
        "label": "vector1 L2 squared"
      }
    },
    {
      "id": "S005",
      "uses": [
        "G001",
        "S004"
      ],
      "before": "vector2 coordinate1 squared := square(8)",
      "after": "vector2 coordinate1 squared = 64",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先將此完整分量平方，保留負號在括號內。",
        "en": "Square the entire coordinate,including a negative sign inside the square."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector2 coordinate1 squared，不以小數近似替代。",
          "en": "Recompute vector2 coordinate1 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "square",
        "inputs": [
          "8"
        ],
        "output": "64",
        "label": "vector2 coordinate1 squared"
      }
    },
    {
      "id": "S006",
      "uses": [
        "G001",
        "S005"
      ],
      "before": "vector2 coordinate2 squared := square(0)",
      "after": "vector2 coordinate2 squared = 0",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先將此完整分量平方，保留負號在括號內。",
        "en": "Square the entire coordinate,including a negative sign inside the square."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector2 coordinate2 squared，不以小數近似替代。",
          "en": "Recompute vector2 coordinate2 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "square",
        "inputs": [
          "0"
        ],
        "output": "0",
        "label": "vector2 coordinate2 squared"
      }
    },
    {
      "id": "S007",
      "uses": [
        "G001",
        "S006"
      ],
      "before": "vector2 L2 squared := sum(64, 0)",
      "after": "vector2 L2 squared = 64",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "兩個平方相加是距離平方，不是兩座標直接相加。",
        "en": "Add the coordinate squares to obtain squared distance,not a sum of the coordinates."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector2 L2 squared，不以小數近似替代。",
          "en": "Recompute vector2 L2 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "sum",
        "inputs": [
          "64",
          "0"
        ],
        "output": "64",
        "label": "vector2 L2 squared"
      }
    },
    {
      "id": "S008",
      "uses": [
        "G001",
        "S007"
      ],
      "before": "vector3 coordinate1 squared := square(9)",
      "after": "vector3 coordinate1 squared = 81",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先將此完整分量平方，保留負號在括號內。",
        "en": "Square the entire coordinate,including a negative sign inside the square."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector3 coordinate1 squared，不以小數近似替代。",
          "en": "Recompute vector3 coordinate1 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "square",
        "inputs": [
          "9"
        ],
        "output": "81",
        "label": "vector3 coordinate1 squared"
      }
    },
    {
      "id": "S009",
      "uses": [
        "G001",
        "S008"
      ],
      "before": "vector3 coordinate2 squared := square(1)",
      "after": "vector3 coordinate2 squared = 1",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先將此完整分量平方，保留負號在括號內。",
        "en": "Square the entire coordinate,including a negative sign inside the square."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector3 coordinate2 squared，不以小數近似替代。",
          "en": "Recompute vector3 coordinate2 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "square",
        "inputs": [
          "1"
        ],
        "output": "1",
        "label": "vector3 coordinate2 squared"
      }
    },
    {
      "id": "S010",
      "uses": [
        "G001",
        "S009"
      ],
      "before": "vector3 L2 squared := sum(81, 1)",
      "after": "vector3 L2 squared = 82",
      "relation": "calculation",
      "rule_id": "exact_rational_arithmetic",
      "conditions": [],
      "explanation": {
        "zh-Hant": "兩個平方相加是距離平方，不是兩座標直接相加。",
        "en": "Add the coordinate squares to obtain squared distance,not a sum of the coordinates."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "以精確有理數重算 vector3 L2 squared，不以小數近似替代。",
          "en": "Recompute vector3 L2 squared with exact rational arithmetic, not rounded decimals."
        }
      },
      "arithmetic": {
        "operation": "sum",
        "inputs": [
          "81",
          "1"
        ],
        "output": "82",
        "label": "vector3 L2 squared"
      }
    },
    {
      "id": "S011",
      "uses": [
        "G001",
        "S010"
      ],
      "before": "indexed squares=[(1, 49), (2, 64), (3, 82)]",
      "after": "[[1], [2], [3]]",
      "relation": "implies",
      "rule_id": "distance_square_order_and_ties",
      "conditions": [],
      "explanation": {
        "zh-Hant": "非負距離與其平方同序；平方相等分同組，同組保留遞增原始1起算索引，不按座標字典序。",
        "en": "Nonnegative distances have the same order as their squares.Group equal squares and retain increasing original1-based indices within ties,not coordinate lexicographic order."
      },
      "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": [
      [
        1
      ],
      [
        2
      ],
      [
        3
      ]
    ],
    "squared_lengths": [
      "49",
      "64",
      "82"
    ]
  },
  "conclusion": {
    "canonical_value": "[[1], [2], [3]]",
    "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-20261008-advance-20261010-r03-distance-formula-foundations",
      "batch_path": "public/data/questions/batches/batch-20261008-advance-20261010-r03-distance-formula-foundations/questions.jsonl",
      "batch_sha256": "817c2ffbb228a708e250aa13865b5f5cc70e482a1c54d82a63d493bd6bed1630",
      "original_line": 58,
      "original_line_sha256": "e582cf1430344f87348b2256596fbadc9122971506e18b8da9d412deea72a2a6",
      "question_compact_sha256": "f47ef5ac69c2e68fcbc7b6d76c2ebbedf8dd6c88d6cbcdb7d3d43237a852a93c",
      "english_row_compact_sha256": "85ee6945cd12227b682236556a6b4b2b6ace99672e5e0770f91cbcf7c2dcc9cf",
      "english_manifest_path": "public/data/i18n/editions/batch-20261008-advance-20261010-r03-distance-formula-foundations.en.json",
      "english_rows_path": "public/data/i18n/questions/batch-20261008-advance-20261010-r03-distance-formula-foundations.en.jsonl"
    },
    "mko_bindings": {
      "mko-distance-formula": {
        "sha256": "153d0d0feabadaf33e08081677be0f81709df28ffa5bffaf0176a0f7875e5904",
        "english_sha256": "d297d8ae3afb0c4aa0a2de4cbd9e17c6355f2ae3f0fbf1510b9dc7cea3b27827",
        "original_path": "public/data/mko/distance-formula.json",
        "english_path": "public/data/i18n/editions/mko-distance-formula.en.json"
      }
    },
    "selected_manifest_sha256": "5233edba9654a6cffd8b6b2d83c932f82ded15f9c0b7c733bd049943e672acff",
    "selected_part_sha256": "de1fb611cf230f243ddd3334fbc53c9205cbe528b78346a10544972dede78b95",
    "original_candidate_sha256": "37be968d43c6eb688d0fdac239e5ffa6b9276e0cb4f65dcf50b16813552c8a25",
    "original_candidate_line_sha256": "37be968d43c6eb688d0fdac239e5ffa6b9276e0cb4f65dcf50b16813552c8a25"
  },
  "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-p8",
    "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": "faf0582c0184613e6fae207374056133eae600883a29c67d8438113bbe3c485a",
      "question_first_witness_sha256": "4b283b6ff424b1d22caa36f3552b0fa21b1b66a0a883d7cbe9cedc8dd77b2e42"
    },
    "status": "second_context_reviewed",
    "mathematical_semantics": true,
    "bilingual_semantics": true,
    "steps_reviewed": 11,
    "method": "family_template_semantic_review_plus_independent_per_instance_reconstruction",
    "exact_question_first_check": {
      "model_sha256": "a909f46fe8358660f9e690e2ff9868baf37c1ad27c5bcc2f8293ca54d4833d8a",
      "arithmetic_steps": 9
    },
    "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."
  }
}
