{
  "schemaVersion": 1,
  "code": "N-7-4",
  "title": "數的運算規律",
  "priority": "P1",
  "sourceExcerpt": {
    "code": "N-7-4",
    "grade": 7,
    "domain": "N",
    "topic": "數的運算規律",
    "sourcePage": 38,
    "excerpt": "數的運算規律：交換律；結合律；分配律；−(𝑎+𝑏)=−𝑎−𝑏；−(𝑎−𝑏)=−𝑎+𝑏。n-IV-2"
  },
  "scope": [
    "交換/結合規律的適用性與偶然相等",
    "分配律逐項展開與驗原式",
    "−(a±b)逐項去括號"
  ],
  "inputContract": {
    "task": [
      "solve",
      "verify_proposal"
    ],
    "confirmation": "confirmedGiven和子型必要語意確認為true；先掃所有原條件缺欄/null及觀察資料中的缺值，再驗格式。",
    "numbers": "僅有限整數/小數/分數字面，分段最多12位，約分後分子絕對值/分母≤1000000；禁float/bool/科學記號，整數先界限再str。",
    "answers": "衍生答案另用256位分段/514字元與10^512有理數界限；全欄位/分類/布林/list長度核對，不忽略額外欄位。",
    "decisionMeaning": {
      "pass": "正常合法解題，含空樣本無代表值、合法未定義運算；或正確提案。",
      "reject": "工程格式非法或錯誤提案；錯提案仍附correctSolution。",
      "confirm": "原條件或樣本/頻數分母/順序未確認，資料總數相互矛盾。",
      "block": "超出有限方法契約，不把原數學問題說成無解。"
    }
  },
  "subtypes": [
    {
      "id": "law-rearrange",
      "title": "交換/結合規律的適用性與偶然相等",
      "required": [
        "a",
        "b",
        "c",
        "operation",
        "rewrite"
      ],
      "guards": [
        "交換/結合律只對加法、乘法作通則。",
        "除以0的原式或改寫式分開標未定義，不宣稱兩個未定義值相等。"
      ],
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。"
    },
    {
      "id": "law-distribute",
      "title": "分配律逐項展開與驗原式",
      "required": [
        "factor",
        "b",
        "c",
        "innerOperation"
      ],
      "guards": [
        "外因數須乘每一項。",
        "此型只處理一層a(b±c)，結果以帶符號兩項相加。"
      ],
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。"
    },
    {
      "id": "law-negate",
      "title": "−(a±b)逐項去括號",
      "required": [
        "a",
        "b",
        "innerOperation"
      ],
      "guards": [
        "−(a+b)=−a−b；−(a−b)=−a+b。",
        "不省略負數本身的括號，避免兩層負號混淆。"
      ],
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。"
    }
  ],
  "cases": [
    {
      "id": "N-7-4.law-rearrange.normal.01",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((3)＋(7))＋(10)改成((7)＋(3))＋(10)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 3,
        "b": 7,
        "c": 10,
        "operation": "add",
        "rewrite": "swap-first"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "20"
        },
        "rewritten": {
          "classification": "value",
          "value": "20"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((3)＋(7))＋(10)＝20。",
        "改寫式仍依其括號先算：((7)＋(3))＋(10)＝20。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.normal.02",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((2)×(5))×(3)改成(2)×((5)×(3))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 2,
        "b": 5,
        "c": 3,
        "operation": "multiply",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "30"
        },
        "rewritten": {
          "classification": "value",
          "value": "30"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((2)×(5))×(3)＝30。",
        "改寫式仍依其括號先算：(2)×((5)×(3))＝30。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.normal.03",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((-4)＋(6))＋(2)改成(-4)＋((6)＋(2))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": -4,
        "b": 6,
        "c": 2,
        "operation": "add",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "4"
        },
        "rewritten": {
          "classification": "value",
          "value": "4"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((-4)＋(6))＋(2)＝4。",
        "改寫式仍依其括號先算：(-4)＋((6)＋(2))＝4。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.normal.04",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((-2)×(3))×(-5)改成((3)×(-2))×(-5)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": -2,
        "b": 3,
        "c": -5,
        "operation": "multiply",
        "rewrite": "swap-first"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "30"
        },
        "rewritten": {
          "classification": "value",
          "value": "30"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((-2)×(3))×(-5)＝30。",
        "改寫式仍依其括號先算：((3)×(-2))×(-5)＝30。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.normal.05",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((1/2)＋(1/3))＋(1/6)改成(1/2)＋((1/3)＋(1/6))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": "1/2",
        "b": "1/3",
        "c": "1/6",
        "operation": "add",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "1"
        },
        "rewritten": {
          "classification": "value",
          "value": "1"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((1/2)＋(1/3))＋(1/6)＝1。",
        "改寫式仍依其括號先算：(1/2)＋((1/3)＋(1/6))＝1。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.normal.06",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((12)－(4))－(2)改成((4)－(12))－(2)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 12,
        "b": 4,
        "c": 2,
        "operation": "subtract",
        "rewrite": "swap-first"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": false,
        "original": {
          "classification": "value",
          "value": "6"
        },
        "rewritten": {
          "classification": "value",
          "value": "-10"
        },
        "sameForThisInput": false
      },
      "solutionSteps": [
        "原式依括號先算：((12)－(4))－(2)＝6。",
        "改寫式仍依其括號先算：((4)－(12))－(2)＝-10。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.normal.07",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((24)÷(6))÷(2)改成(24)÷((6)÷(2))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 24,
        "b": 6,
        "c": 2,
        "operation": "divide",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": false,
        "original": {
          "classification": "value",
          "value": "2"
        },
        "rewritten": {
          "classification": "value",
          "value": "8"
        },
        "sameForThisInput": false
      },
      "solutionSteps": [
        "原式依括號先算：((24)÷(6))÷(2)＝2。",
        "改寫式仍依其括號先算：(24)÷((6)÷(2))＝8。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.normal.08",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((3)×(4))×(5)改成(3)×((4)×(5))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 3,
        "b": 4,
        "c": 5,
        "operation": "multiply",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "60"
        },
        "rewritten": {
          "classification": "value",
          "value": "60"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((3)×(4))×(5)＝60。",
        "改寫式仍依其括號先算：(3)×((4)×(5))＝60。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.boundary.01",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((4)－(4))－(2)改成((4)－(4))－(2)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 4,
        "b": 4,
        "c": 2,
        "operation": "subtract",
        "rewrite": "swap-first"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": false,
        "original": {
          "classification": "value",
          "value": "-2"
        },
        "rewritten": {
          "classification": "value",
          "value": "-2"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((4)－(4))－(2)＝-2。",
        "改寫式仍依其括號先算：((4)－(4))－(2)＝-2。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.boundary.02",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((5)－(2))－(0)改成(5)－((2)－(0))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 5,
        "b": 2,
        "c": 0,
        "operation": "subtract",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": false,
        "original": {
          "classification": "value",
          "value": "3"
        },
        "rewritten": {
          "classification": "value",
          "value": "3"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((5)－(2))－(0)＝3。",
        "改寫式仍依其括號先算：(5)－((2)－(0))＝3。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.boundary.03",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((3)×(0))×(2)改成(3)×((0)×(2))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 3,
        "b": 0,
        "c": 2,
        "operation": "multiply",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "0"
        },
        "rewritten": {
          "classification": "value",
          "value": "0"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((3)×(0))×(2)＝0。",
        "改寫式仍依其括號先算：(3)×((0)×(2))＝0。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.boundary.04",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((4)÷(0))÷(2)改成((0)÷(4))÷(2)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 4,
        "b": 0,
        "c": 2,
        "operation": "divide",
        "rewrite": "swap-first"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": false,
        "original": {
          "classification": "undefined"
        },
        "rewritten": {
          "classification": "value",
          "value": "0"
        },
        "sameForThisInput": false
      },
      "solutionSteps": [
        "原式依括號先算：((4)÷(0))÷(2)＝未定義。",
        "改寫式仍依其括號先算：((0)÷(4))÷(2)＝0。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.holdout.01",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((11)＋(-8))＋(6)改成(11)＋((-8)＋(6))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 11,
        "b": -8,
        "c": 6,
        "operation": "add",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "9"
        },
        "rewritten": {
          "classification": "value",
          "value": "9"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((11)＋(-8))＋(6)＝9。",
        "改寫式仍依其括號先算：(11)＋((-8)＋(6))＝9。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.holdout.02",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((2/3)×(3/5))×(10)改成((3/5)×(2/3))×(10)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": "2/3",
        "b": "3/5",
        "c": 10,
        "operation": "multiply",
        "rewrite": "swap-first"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": true,
        "original": {
          "classification": "value",
          "value": "4"
        },
        "rewritten": {
          "classification": "value",
          "value": "4"
        },
        "sameForThisInput": true
      },
      "solutionSteps": [
        "原式依括號先算：((2/3)×(3/5))×(10)＝4。",
        "改寫式仍依其括號先算：((3/5)×(2/3))×(10)＝4。",
        "加法或乘法可用此規律，順序/分組改變後值仍相等。",
        "此組兩式相等。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.holdout.03",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((15)÷(5))÷(3)改成(15)÷((5)÷(3))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 15,
        "b": 5,
        "c": 3,
        "operation": "divide",
        "rewrite": "regroup"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": false,
        "original": {
          "classification": "value",
          "value": "1"
        },
        "rewritten": {
          "classification": "value",
          "value": "9"
        },
        "sameForThisInput": false
      },
      "solutionSteps": [
        "原式依括號先算：((15)÷(5))÷(3)＝1。",
        "改寫式仍依其括號先算：(15)÷((5)÷(3))＝9。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.holdout.04",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "把((-7)－(9))－(-2)改成((9)－(-7))－(-2)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": -7,
        "b": 9,
        "c": -2,
        "operation": "subtract",
        "rewrite": "swap-first"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "lawAllowed": false,
        "original": {
          "classification": "value",
          "value": "-14"
        },
        "rewritten": {
          "classification": "value",
          "value": "18"
        },
        "sameForThisInput": false
      },
      "solutionSteps": [
        "原式依括號先算：((-7)－(9))－(-2)＝-14。",
        "改寫式仍依其括號先算：((9)－(-7))－(-2)＝18。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.negative.01",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "把((9)－(4))－(2)改成((4)－(9))－(2)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。 學生的想法：減法/除法也能任意交換或改括號，兩式一樣；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "a": 9,
        "b": 4,
        "c": 2,
        "operation": "subtract",
        "rewrite": "swap-first",
        "proposal": {
          "lawAllowed": true,
          "original": {
            "classification": "value",
            "value": "3"
          },
          "rewritten": {
            "classification": "value",
            "value": "-7"
          },
          "sameForThisInput": true
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "lawAllowed": false,
          "original": {
            "classification": "value",
            "value": "3"
          },
          "rewritten": {
            "classification": "value",
            "value": "-7"
          },
          "sameForThisInput": false
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "原式依括號先算：((9)－(4))－(2)＝3。",
        "改寫式仍依其括號先算：((4)－(9))－(2)＝-7。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。",
        "反例直接算出原式3，改寫式-7；兩者不同，不能套加乘的規律。",
        "錯在把加法/乘法的交換結合律擴大到減法/除法；單一偶然相等也不能證明通則。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.negative.02",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "把((12)÷(3))÷(2)改成((3)÷(12))÷(2)。這能作為對所有合法數值都成立的交換律嗎？也請核對這一組數是否相等。 學生的想法：減法/除法也能任意交換或改括號，兩式一樣；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "a": 12,
        "b": 3,
        "c": 2,
        "operation": "divide",
        "rewrite": "swap-first",
        "proposal": {
          "lawAllowed": true,
          "original": {
            "classification": "value",
            "value": "2"
          },
          "rewritten": {
            "classification": "value",
            "value": "1/8"
          },
          "sameForThisInput": true
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "lawAllowed": false,
          "original": {
            "classification": "value",
            "value": "2"
          },
          "rewritten": {
            "classification": "value",
            "value": "1/8"
          },
          "sameForThisInput": false
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "原式依括號先算：((12)÷(3))÷(2)＝2。",
        "改寫式仍依其括號先算：((3)÷(12))÷(2)＝1/8。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。",
        "反例直接算出原式2，改寫式1/8；兩者不同，不能套加乘的規律。",
        "錯在把加法/乘法的交換結合律擴大到減法/除法；單一偶然相等也不能證明通則。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.negative.03",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "把((9)－(4))－(2)改成(9)－((4)－(2))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。 學生的想法：減法/除法也能任意交換或改括號，兩式一樣；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "a": 9,
        "b": 4,
        "c": 2,
        "operation": "subtract",
        "rewrite": "regroup",
        "proposal": {
          "lawAllowed": true,
          "original": {
            "classification": "value",
            "value": "3"
          },
          "rewritten": {
            "classification": "value",
            "value": "7"
          },
          "sameForThisInput": true
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "lawAllowed": false,
          "original": {
            "classification": "value",
            "value": "3"
          },
          "rewritten": {
            "classification": "value",
            "value": "7"
          },
          "sameForThisInput": false
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "原式依括號先算：((9)－(4))－(2)＝3。",
        "改寫式仍依其括號先算：(9)－((4)－(2))＝7。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。",
        "反例直接算出原式3，改寫式7；兩者不同，不能套加乘的規律。",
        "錯在把加法/乘法的交換結合律擴大到減法/除法；單一偶然相等也不能證明通則。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.negative.04",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "把((24)÷(6))÷(2)改成(24)÷((6)÷(2))。這能作為對所有合法數值都成立的結合律嗎？也請核對這一組數是否相等。 學生的想法：減法/除法也能任意交換或改括號，兩式一樣；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "a": 24,
        "b": 6,
        "c": 2,
        "operation": "divide",
        "rewrite": "regroup",
        "proposal": {
          "lawAllowed": true,
          "original": {
            "classification": "value",
            "value": "2"
          },
          "rewritten": {
            "classification": "value",
            "value": "8"
          },
          "sameForThisInput": true
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "lawAllowed": false,
          "original": {
            "classification": "value",
            "value": "2"
          },
          "rewritten": {
            "classification": "value",
            "value": "8"
          },
          "sameForThisInput": false
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "原式依括號先算：((24)÷(6))÷(2)＝2。",
        "改寫式仍依其括號先算：(24)÷((6)÷(2))＝8。",
        "減法/除法不能套此通則；即使某一組剛好相等，也不能證明所有數成立。",
        "此組不能判為相等；若出現除以0，先指出該式未定義。",
        "反例直接算出原式2，改寫式8；兩者不同，不能套加乘的規律。",
        "錯在把加法/乘法的交換結合律擴大到減法/除法；單一偶然相等也不能證明通則。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.negative.05",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": true,
        "b": 7,
        "c": 10,
        "operation": "add",
        "rewrite": "swap-first"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "rational-literal-required"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.negative.06",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 100000000,
        "b": 7,
        "c": 10,
        "operation": "add",
        "rewrite": "swap-first"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "numeric-bound"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.ambiguous.01",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "題目第一個數看不清；後兩數是7、10，運算為加法，要交換前兩數，請先補第一個數。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": null,
        "b": 7,
        "c": 10,
        "operation": "add",
        "rewrite": "swap-first"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-rearrange.ambiguous.02",
      "code": "N-7-4",
      "subtypeId": "law-rearrange",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "暫看到(3＋7)＋10改成(7＋3)＋10，但原題運算符號未核對，請先確認。",
      "input": {
        "task": "solve",
        "confirmedGiven": null,
        "a": 3,
        "b": 7,
        "c": 10,
        "operation": "add",
        "rewrite": "swap-first"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "先圈運算符號，再分開算原括號與改寫括號；不要把這一組相等，誤當所有數都可用通則。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.normal.01",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(2)[(3)＋(4)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 2,
        "b": 3,
        "c": 4,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "6",
        "secondTerm": "8",
        "rewrittenOperation": "add",
        "value": "14"
      },
      "solutionSteps": [
        "外因數2必須乘括號內每一項，不只乘第一項。",
        "第一項(2)×(3)＝6。",
        "第二項包含原＋符號，帶符號乘積＝8。",
        "展開為(6)＋(8)＝14；回原括號先算7再乘2，同得14。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.normal.02",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(-3)[(2)－(5)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": -3,
        "b": 2,
        "c": 5,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-6",
        "secondTerm": "15",
        "rewrittenOperation": "add",
        "value": "9"
      },
      "solutionSteps": [
        "外因數-3必須乘括號內每一項，不只乘第一項。",
        "第一項(-3)×(2)＝-6。",
        "第二項包含原－符號，帶符號乘積＝15。",
        "展開為(-6)＋(15)＝9；回原括號先算-3再乘-3，同得9。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.normal.03",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(1/2)[(4)＋(6)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": "1/2",
        "b": 4,
        "c": 6,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "2",
        "secondTerm": "3",
        "rewrittenOperation": "add",
        "value": "5"
      },
      "solutionSteps": [
        "外因數1/2必須乘括號內每一項，不只乘第一項。",
        "第一項(1/2)×(4)＝2。",
        "第二項包含原＋符號，帶符號乘積＝3。",
        "展開為(2)＋(3)＝5；回原括號先算10再乘1/2，同得5。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.normal.04",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(-2)[(-3)－(4)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": -2,
        "b": -3,
        "c": 4,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "6",
        "secondTerm": "8",
        "rewrittenOperation": "add",
        "value": "14"
      },
      "solutionSteps": [
        "外因數-2必須乘括號內每一項，不只乘第一項。",
        "第一項(-2)×(-3)＝6。",
        "第二項包含原－符號，帶符號乘積＝8。",
        "展開為(6)＋(8)＝14；回原括號先算-7再乘-2，同得14。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.normal.05",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(5)[(-2)＋(7)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 5,
        "b": -2,
        "c": 7,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-10",
        "secondTerm": "35",
        "rewrittenOperation": "add",
        "value": "25"
      },
      "solutionSteps": [
        "外因數5必須乘括號內每一項，不只乘第一項。",
        "第一項(5)×(-2)＝-10。",
        "第二項包含原＋符號，帶符號乘積＝35。",
        "展開為(-10)＋(35)＝25；回原括號先算5再乘5，同得25。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.normal.06",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(4)[(1/3)－(1/2)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 4,
        "b": "1/3",
        "c": "1/2",
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "4/3",
        "secondTerm": "-2",
        "rewrittenOperation": "add",
        "value": "-2/3"
      },
      "solutionSteps": [
        "外因數4必須乘括號內每一項，不只乘第一項。",
        "第一項(4)×(1/3)＝4/3。",
        "第二項包含原－符號，帶符號乘積＝-2。",
        "展開為(4/3)＋(-2)＝-2/3；回原括號先算-1/6再乘4，同得-2/3。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.normal.07",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(-1)[(6)＋(-5)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": -1,
        "b": 6,
        "c": -5,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-6",
        "secondTerm": "5",
        "rewrittenOperation": "add",
        "value": "-1"
      },
      "solutionSteps": [
        "外因數-1必須乘括號內每一項，不只乘第一項。",
        "第一項(-1)×(6)＝-6。",
        "第二項包含原＋符號，帶符號乘積＝5。",
        "展開為(-6)＋(5)＝-1；回原括號先算1再乘-1，同得-1。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.normal.08",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(3)[(-4)－(-2)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 3,
        "b": -4,
        "c": -2,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-12",
        "secondTerm": "6",
        "rewrittenOperation": "add",
        "value": "-6"
      },
      "solutionSteps": [
        "外因數3必須乘括號內每一項，不只乘第一項。",
        "第一項(3)×(-4)＝-12。",
        "第二項包含原－符號，帶符號乘積＝6。",
        "展開為(-12)＋(6)＝-6；回原括號先算-2再乘3，同得-6。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.boundary.01",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(0)[(7)＋(-3)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 0,
        "b": 7,
        "c": -3,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "0",
        "secondTerm": "0",
        "rewrittenOperation": "add",
        "value": "0"
      },
      "solutionSteps": [
        "外因數0必須乘括號內每一項，不只乘第一項。",
        "第一項(0)×(7)＝0。",
        "第二項包含原＋符號，帶符號乘積＝0。",
        "展開為(0)＋(0)＝0；回原括號先算4再乘0，同得0。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.boundary.02",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(1)[(-4)－(6)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 1,
        "b": -4,
        "c": 6,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-4",
        "secondTerm": "-6",
        "rewrittenOperation": "add",
        "value": "-10"
      },
      "solutionSteps": [
        "外因數1必須乘括號內每一項，不只乘第一項。",
        "第一項(1)×(-4)＝-4。",
        "第二項包含原－符號，帶符號乘積＝-6。",
        "展開為(-4)＋(-6)＝-10；回原括號先算-10再乘1，同得-10。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.boundary.03",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(-1)[(2)＋(-2)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": -1,
        "b": 2,
        "c": -2,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-2",
        "secondTerm": "2",
        "rewrittenOperation": "add",
        "value": "0"
      },
      "solutionSteps": [
        "外因數-1必須乘括號內每一項，不只乘第一項。",
        "第一項(-1)×(2)＝-2。",
        "第二項包含原＋符號，帶符號乘積＝2。",
        "展開為(-2)＋(2)＝0；回原括號先算0再乘-1，同得0。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.boundary.04",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(3)[(0)－(5)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 3,
        "b": 0,
        "c": 5,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "0",
        "secondTerm": "-15",
        "rewrittenOperation": "add",
        "value": "-15"
      },
      "solutionSteps": [
        "外因數3必須乘括號內每一項，不只乘第一項。",
        "第一項(3)×(0)＝0。",
        "第二項包含原－符號，帶符號乘積＝-15。",
        "展開為(0)＋(-15)＝-15；回原括號先算-5再乘3，同得-15。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.holdout.01",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(7)[(8)＋(-3)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 7,
        "b": 8,
        "c": -3,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "56",
        "secondTerm": "-21",
        "rewrittenOperation": "add",
        "value": "35"
      },
      "solutionSteps": [
        "外因數7必須乘括號內每一項，不只乘第一項。",
        "第一項(7)×(8)＝56。",
        "第二項包含原＋符號，帶符號乘積＝-21。",
        "展開為(56)＋(-21)＝35；回原括號先算5再乘7，同得35。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.holdout.02",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(-4)[(5)－(-2)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": -4,
        "b": 5,
        "c": -2,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-20",
        "secondTerm": "-8",
        "rewrittenOperation": "add",
        "value": "-28"
      },
      "solutionSteps": [
        "外因數-4必須乘括號內每一項，不只乘第一項。",
        "第一項(-4)×(5)＝-20。",
        "第二項包含原－符號，帶符號乘積＝-8。",
        "展開為(-20)＋(-8)＝-28；回原括號先算7再乘-4，同得-28。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.holdout.03",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(2/3)[(9)＋(6)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": "2/3",
        "b": 9,
        "c": 6,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "6",
        "secondTerm": "4",
        "rewrittenOperation": "add",
        "value": "10"
      },
      "solutionSteps": [
        "外因數2/3必須乘括號內每一項，不只乘第一項。",
        "第一項(2/3)×(9)＝6。",
        "第二項包含原＋符號，帶符號乘積＝4。",
        "展開為(6)＋(4)＝10；回原括號先算15再乘2/3，同得10。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.holdout.04",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "用分配律展開(-5)[(-7)－(4)]，以兩個帶符號項相加表示，逐項核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": -5,
        "b": -7,
        "c": 4,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "35",
        "secondTerm": "20",
        "rewrittenOperation": "add",
        "value": "55"
      },
      "solutionSteps": [
        "外因數-5必須乘括號內每一項，不只乘第一項。",
        "第一項(-5)×(-7)＝35。",
        "第二項包含原－符號，帶符號乘積＝20。",
        "展開為(35)＋(20)＝55；回原括號先算-11再乘-5，同得55。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.negative.01",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "用分配律展開(2)[(3)＋(4)]，以兩個帶符號項相加表示，逐項核對。 學生的想法：外因數漏乘第二項；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "factor": 2,
        "b": 3,
        "c": 4,
        "innerOperation": "add",
        "proposal": {
          "firstTerm": "6",
          "secondTerm": "4",
          "rewrittenOperation": "add",
          "value": "10"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "firstTerm": "6",
          "secondTerm": "8",
          "rewrittenOperation": "add",
          "value": "14"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "外因數2必須乘括號內每一項，不只乘第一項。",
        "第一項(2)×(3)＝6。",
        "第二項包含原＋符號，帶符號乘積＝8。",
        "展開為(6)＋(8)＝14；回原括號先算7再乘2，同得14。",
        "錯案第二項為4，但外因數2必須連同原加減號乘到4，應為8。",
        "兩項相加應為14，不是10；回原括號驗算即可看到漏乘/漏號。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.negative.02",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "用分配律展開(-3)[(2)－(5)]，以兩個帶符號項相加表示，逐項核對。 學生的想法：原減號沒有作用到第二個乘積；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "factor": -3,
        "b": 2,
        "c": 5,
        "innerOperation": "subtract",
        "proposal": {
          "firstTerm": "-6",
          "secondTerm": "-15",
          "rewrittenOperation": "add",
          "value": "-21"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "firstTerm": "-6",
          "secondTerm": "15",
          "rewrittenOperation": "add",
          "value": "9"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "外因數-3必須乘括號內每一項，不只乘第一項。",
        "第一項(-3)×(2)＝-6。",
        "第二項包含原－符號，帶符號乘積＝15。",
        "展開為(-6)＋(15)＝9；回原括號先算-3再乘-3，同得9。",
        "錯案第二項為-15，但外因數-3必須連同原加減號乘到5，應為15。",
        "兩項相加應為9，不是-21；回原括號驗算即可看到漏乘/漏號。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.negative.03",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "用分配律展開(1/2)[(4)＋(6)]，以兩個帶符號項相加表示，逐項核對。 學生的想法：外因數漏乘第二項；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "factor": "1/2",
        "b": 4,
        "c": 6,
        "innerOperation": "add",
        "proposal": {
          "firstTerm": "2",
          "secondTerm": "6",
          "rewrittenOperation": "add",
          "value": "8"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "firstTerm": "2",
          "secondTerm": "3",
          "rewrittenOperation": "add",
          "value": "5"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "外因數1/2必須乘括號內每一項，不只乘第一項。",
        "第一項(1/2)×(4)＝2。",
        "第二項包含原＋符號，帶符號乘積＝3。",
        "展開為(2)＋(3)＝5；回原括號先算10再乘1/2，同得5。",
        "錯案第二項為6，但外因數1/2必須連同原加減號乘到6，應為3。",
        "兩項相加應為5，不是8；回原括號驗算即可看到漏乘/漏號。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.negative.04",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "用分配律展開(-2)[(-3)－(4)]，以兩個帶符號項相加表示，逐項核對。 學生的想法：原減號沒有作用到第二個乘積；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "factor": -2,
        "b": -3,
        "c": 4,
        "innerOperation": "subtract",
        "proposal": {
          "firstTerm": "6",
          "secondTerm": "-8",
          "rewrittenOperation": "add",
          "value": "-2"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "firstTerm": "6",
          "secondTerm": "8",
          "rewrittenOperation": "add",
          "value": "14"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "外因數-2必須乘括號內每一項，不只乘第一項。",
        "第一項(-2)×(-3)＝6。",
        "第二項包含原－符號，帶符號乘積＝8。",
        "展開為(6)＋(8)＝14；回原括號先算-7再乘-2，同得14。",
        "錯案第二項為-8，但外因數-2必須連同原加減號乘到4，應為8。",
        "兩項相加應為14，不是-2；回原括號驗算即可看到漏乘/漏號。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.negative.05",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": true,
        "b": 3,
        "c": 4,
        "innerOperation": "add"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "rational-literal-required"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.negative.06",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": 100000000,
        "b": 3,
        "c": 4,
        "innerOperation": "add"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "numeric-bound"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.ambiguous.01",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "括號外乘數看不清，已知括號為3＋4；請先補乘數，不能當成1。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "factor": null,
        "b": 3,
        "c": 4,
        "innerOperation": "add"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-distribute.ambiguous.02",
      "code": "N-7-4",
      "subtypeId": "law-distribute",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "暫看到2(3＋4)，尚未確認原圖的括號和加號，請先核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": null,
        "factor": 2,
        "b": 3,
        "c": 4,
        "innerOperation": "add"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "從外因數畫兩條箭頭，各乘括號內一項；只重做漏掉的那條箭頭，再保留原加減號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.normal.01",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(3)＋(5)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 3,
        "b": 5,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-3",
        "secondTerm": "-5",
        "rewrittenOperation": "add",
        "value": "-8"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(3)＝-3。",
        "第二項−(5)＝-5。",
        "所以(-3)＋(-5)＝-8；原括號值8的相反數也為-8。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.normal.02",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(3)－(5)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 3,
        "b": 5,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-3",
        "secondTerm": "5",
        "rewrittenOperation": "add",
        "value": "2"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(3)＝-3。",
        "第二項−(−(5))＝5。",
        "所以(-3)＋(5)＝2；原括號值-2的相反數也為2。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.normal.03",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(-4)＋(2)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": -4,
        "b": 2,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "4",
        "secondTerm": "-2",
        "rewrittenOperation": "add",
        "value": "2"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(-4)＝4。",
        "第二項−(2)＝-2。",
        "所以(4)＋(-2)＝2；原括號值-2的相反數也為2。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.normal.04",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(-4)－(-2)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": -4,
        "b": -2,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "4",
        "secondTerm": "-2",
        "rewrittenOperation": "add",
        "value": "2"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(-4)＝4。",
        "第二項−(−(-2))＝-2。",
        "所以(4)＋(-2)＝2；原括號值-2的相反數也為2。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.normal.05",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(1/2)＋(2/3)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": "1/2",
        "b": "2/3",
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-1/2",
        "secondTerm": "-2/3",
        "rewrittenOperation": "add",
        "value": "-7/6"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(1/2)＝-1/2。",
        "第二項−(2/3)＝-2/3。",
        "所以(-1/2)＋(-2/3)＝-7/6；原括號值7/6的相反數也為-7/6。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.normal.06",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(7)＋(-3)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 7,
        "b": -3,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-7",
        "secondTerm": "3",
        "rewrittenOperation": "add",
        "value": "-4"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(7)＝-7。",
        "第二項−(-3)＝3。",
        "所以(-7)＋(3)＝-4；原括號值4的相反數也為-4。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.normal.07",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(-6)－(4)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": -6,
        "b": 4,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "6",
        "secondTerm": "4",
        "rewrittenOperation": "add",
        "value": "10"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(-6)＝6。",
        "第二項−(−(4))＝4。",
        "所以(6)＋(4)＝10；原括號值-10的相反數也為10。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.normal.08",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(2)－(-5)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 2,
        "b": -5,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-2",
        "secondTerm": "-5",
        "rewrittenOperation": "add",
        "value": "-7"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(2)＝-2。",
        "第二項−(−(-5))＝-5。",
        "所以(-2)＋(-5)＝-7；原括號值7的相反數也為-7。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.boundary.01",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(0)＋(0)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 0,
        "b": 0,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "0",
        "secondTerm": "0",
        "rewrittenOperation": "add",
        "value": "0"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(0)＝0。",
        "第二項−(0)＝0。",
        "所以(0)＋(0)＝0；原括號值0的相反數也為0。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.boundary.02",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(4)－(4)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 4,
        "b": 4,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-4",
        "secondTerm": "4",
        "rewrittenOperation": "add",
        "value": "0"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(4)＝-4。",
        "第二項−(−(4))＝4。",
        "所以(-4)＋(4)＝0；原括號值0的相反數也為0。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.boundary.03",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(0)－(-3)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 0,
        "b": -3,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "0",
        "secondTerm": "-3",
        "rewrittenOperation": "add",
        "value": "-3"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(0)＝0。",
        "第二項−(−(-3))＝-3。",
        "所以(0)＋(-3)＝-3；原括號值3的相反數也為-3。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.boundary.04",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(-2)＋(2)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": -2,
        "b": 2,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "2",
        "secondTerm": "-2",
        "rewrittenOperation": "add",
        "value": "0"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(-2)＝2。",
        "第二項−(2)＝-2。",
        "所以(2)＋(-2)＝0；原括號值0的相反數也為0。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.holdout.01",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(9)－(-4)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 9,
        "b": -4,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-9",
        "secondTerm": "-4",
        "rewrittenOperation": "add",
        "value": "-13"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(9)＝-9。",
        "第二項−(−(-4))＝-4。",
        "所以(-9)＋(-4)＝-13；原括號值13的相反數也為-13。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.holdout.02",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(-1/3)＋(2/5)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": "-1/3",
        "b": "2/5",
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "1/3",
        "secondTerm": "-2/5",
        "rewrittenOperation": "add",
        "value": "-1/15"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(-1/3)＝1/3。",
        "第二項−(2/5)＝-2/5。",
        "所以(1/3)＋(-2/5)＝-1/15；原括號值1/15的相反數也為-1/15。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.holdout.03",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(-8)－(-6)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": -8,
        "b": -6,
        "innerOperation": "subtract"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "8",
        "secondTerm": "-6",
        "rewrittenOperation": "add",
        "value": "2"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(-8)＝8。",
        "第二項−(−(-6))＝-6。",
        "所以(8)＋(-6)＝2；原括號值-2的相反數也為2。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.holdout.04",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(12)＋(7)]。寫成兩個帶符號項相加並核對。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 12,
        "b": 7,
        "innerOperation": "add"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "firstTerm": "-12",
        "secondTerm": "-7",
        "rewrittenOperation": "add",
        "value": "-19"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(12)＝-12。",
        "第二項−(7)＝-7。",
        "所以(-12)＋(-7)＝-19；原括號值19的相反數也為-19。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.negative.01",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(3)＋(5)]。寫成兩個帶符號項相加並核對。 學生的想法：外負號只改第一項，第二項忘記取相反數；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "a": 3,
        "b": 5,
        "innerOperation": "add",
        "proposal": {
          "firstTerm": "-3",
          "secondTerm": "5",
          "rewrittenOperation": "add",
          "value": "2"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "firstTerm": "-3",
          "secondTerm": "-5",
          "rewrittenOperation": "add",
          "value": "-8"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(3)＝-3。",
        "第二項−(5)＝-5。",
        "所以(-3)＋(-5)＝-8；原括號值8的相反數也為-8。",
        "原括號整體乘−1，第一項應-3，第二項應-5；錯案卻寫-3與5。",
        "回原式的相反數為-8，與錯案2不同；負號必須逐項作用。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.negative.02",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(3)－(5)]。寫成兩個帶符號項相加並核對。 學生的想法：外負號只改第一項，第二項忘記取相反數；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "a": 3,
        "b": 5,
        "innerOperation": "subtract",
        "proposal": {
          "firstTerm": "-3",
          "secondTerm": "-5",
          "rewrittenOperation": "add",
          "value": "-8"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "firstTerm": "-3",
          "secondTerm": "5",
          "rewrittenOperation": "add",
          "value": "2"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(3)＝-3。",
        "第二項−(−(5))＝5。",
        "所以(-3)＋(5)＝2；原括號值-2的相反數也為2。",
        "原括號整體乘−1，第一項應-3，第二項應5；錯案卻寫-3與-5。",
        "回原式的相反數為2，與錯案-8不同；負號必須逐項作用。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.negative.03",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(-4)＋(2)]。寫成兩個帶符號項相加並核對。 學生的想法：外負號只改第二項，第一項沒有取相反數；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "a": -4,
        "b": 2,
        "innerOperation": "add",
        "proposal": {
          "firstTerm": "-4",
          "secondTerm": "-2",
          "rewrittenOperation": "add",
          "value": "-6"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "firstTerm": "4",
          "secondTerm": "-2",
          "rewrittenOperation": "add",
          "value": "2"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(-4)＝4。",
        "第二項−(2)＝-2。",
        "所以(4)＋(-2)＝2；原括號值-2的相反數也為2。",
        "原括號整體乘−1，第一項應4，第二項應-2；錯案卻寫-4與-2。",
        "回原式的相反數為2，與錯案-6不同；負號必須逐項作用。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.negative.04",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "去掉外負號：−[(-4)－(-2)]。寫成兩個帶符號項相加並核對。 學生的想法：外負號只改第二項，第一項沒有取相反數；請指出哪一步不成立。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "a": -4,
        "b": -2,
        "innerOperation": "subtract",
        "proposal": {
          "firstTerm": "-4",
          "secondTerm": "-2",
          "rewrittenOperation": "add",
          "value": "-6"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "firstTerm": "4",
          "secondTerm": "-2",
          "rewrittenOperation": "add",
          "value": "2"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "外負號等於整個括號乘−1，括號內每一項都要作用。",
        "第一項−(-4)＝4。",
        "第二項−(−(-2))＝-2。",
        "所以(4)＋(-2)＝2；原括號值-2的相反數也為2。",
        "原括號整體乘−1，第一項應4，第二項應-2；錯案卻寫-4與-2。",
        "回原式的相反數為2，與錯案-6不同；負號必須逐項作用。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.negative.05",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": true,
        "b": 5,
        "innerOperation": "add"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "rational-literal-required"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.negative.06",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：數值/資料集合傳入不符契約的型別或超出有限範圍；不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": 100000000,
        "b": 5,
        "innerOperation": "add"
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "numeric-bound"
      },
      "solutionSteps": [
        "先驗格式與數值範圍，不把布林當數字。",
        "不符合契約就拒絕或轉合適方法，不進行未定義的資料操作。",
        "請重新提供原條件，不把工程錯誤算成學生程度。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.ambiguous.01",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "−[？＋5]的第一個數看不清，請先確認；外面的負號仍保留。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "a": null,
        "b": 5,
        "innerOperation": "add"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "N-7-4.law-negate.ambiguous.02",
      "code": "N-7-4",
      "subtypeId": "law-negate",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "暫看到−[3＋5]，但尚未核對是加號還是減號，請先確認原式。",
      "input": {
        "task": "solve",
        "confirmedGiven": null,
        "a": 3,
        "b": 5,
        "innerOperation": "add"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出題面缺少或未確認的條件，保留已知數字。",
        "不把缺值補0，不替學生猜分母、分類或運算符號。",
        "確認原條件後，再沿同一個固定方法繼續。"
      ],
      "why": "依原條件固定改寫/整理；核對中間值與定義域，不以猜測補資料。",
      "ifNotUnderstood": "把外負號寫成×(−1)，先只問第一項變什麼，再問第二項；原來是減號時，第二項是負負得正。",
      "teacherReviewed": false,
      "appConnected": false
    }
  ],
  "teacherReviewed": false,
  "appConnected": false,
  "verificationLimitations": [
    "有限結構化離線案例；不宣稱OCR、任意符號式或App整合。",
    "未經真人教師審核；固定解法不涵蓋整碼所有題目。"
  ]
}
