Step-by-step derivation
S001 · implies
Before
source roles = [qf-pythagorean-counterexample, [counterexample_index, mode, options]]
After
derived = [counter, null, null]
Conditions: none
Use THIS bank’s actual fields,operation/domain and types.BASE retains permissible extra metadata.Do not import LDL SAFE/set limits or a different bank’s deduplication rules.
Step identifiers and dependencies
Rule: R70_SOURCE_bank_specific_interface · Uses: G001
S002 · implies
Before
source roles = [[[20, 22, 29], [20, 21, 29], [20, 21, 29], [20, 21, 29]]]
After
derived = [[0: 甲 = A, 1: 乙 = B, 2: 丙 = C, 3: 丁 = D]]
Conditions: none
Keep all FOUR options in ORIGINAL positions,even repeated valid triples.Chinese 甲乙丙丁 corresponds POSITIONALLY to English ABCD.The LAST coordinate is c;do not sort and silently change that role.
Step identifiers and dependencies
Rule: Pythagorean_OPTION_position_legend_keep_duplicate_options · Uses: G001, S001
S003 · calculation
Before
Pyth option 0 a squared := mul(20, 20)
After
Pyth option 0 a squared = 400
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Pyth option 0 b squared := mul(22, 22)
After
Pyth option 0 b squared = 484
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Pyth option 0 LAST c squared := mul(29, 29)
After
Pyth option 0 LAST c squared = 841
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Pyth option 0 sum a2 b2 := sum(400, 484)
After
Pyth option 0 sum a2 b2 = 884
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · implies
Before
source roles = [0, [20, 22, 29]]
After
derived = [Yes, 884, 841, No]
Conditions: none
For EACH option,check positive entries AND a²+b²=c².This directly checks the STATED squared relation,not a drawing/largest-sort inference or an unneeded geometric converse.
Step identifiers and dependencies
Rule: Pythagorean_EACH_positive_triple_square_relation · Uses: G001, S006
S008 · calculation
Before
Pyth option 1 a squared := mul(20, 20)
After
Pyth option 1 a squared = 400
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Pyth option 1 b squared := mul(21, 21)
After
Pyth option 1 b squared = 441
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
Pyth option 1 LAST c squared := mul(29, 29)
After
Pyth option 1 LAST c squared = 841
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
Pyth option 1 sum a2 b2 := sum(400, 441)
After
Pyth option 1 sum a2 b2 = 841
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · implies
Before
source roles = [1, [20, 21, 29]]
After
derived = [Yes, 841, 841, Yes]
Conditions: none
For EACH option,check positive entries AND a²+b²=c².This directly checks the STATED squared relation,not a drawing/largest-sort inference or an unneeded geometric converse.
Step identifiers and dependencies
Rule: Pythagorean_EACH_positive_triple_square_relation · Uses: G001, S011
S013 · calculation
Before
Pyth option 2 a squared := mul(20, 20)
After
Pyth option 2 a squared = 400
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Pyth option 2 b squared := mul(21, 21)
After
Pyth option 2 b squared = 441
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Pyth option 2 LAST c squared := mul(29, 29)
After
Pyth option 2 LAST c squared = 841
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Pyth option 2 sum a2 b2 := sum(400, 441)
After
Pyth option 2 sum a2 b2 = 841
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · implies
Before
source roles = [2, [20, 21, 29]]
After
derived = [Yes, 841, 841, Yes]
Conditions: none
For EACH option,check positive entries AND a²+b²=c².This directly checks the STATED squared relation,not a drawing/largest-sort inference or an unneeded geometric converse.
Step identifiers and dependencies
Rule: Pythagorean_EACH_positive_triple_square_relation · Uses: G001, S016
S018 · calculation
Before
Pyth option 3 a squared := mul(20, 20)
After
Pyth option 3 a squared = 400
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
Pyth option 3 b squared := mul(21, 21)
After
Pyth option 3 b squared = 441
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
Pyth option 3 LAST c squared := mul(29, 29)
After
Pyth option 3 LAST c squared = 841
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
Pyth option 3 sum a2 b2 := sum(400, 441)
After
Pyth option 3 sum a2 b2 = 841
Conditions: none
This step displays the exact original operands and operation.Mul/sub/div have EXACTLY TWO inputs.Keep rational values exact and derived BigInts unbounded;do not force an answer by approximation.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · implies
Before
source roles = [3, [20, 21, 29]]
After
derived = [Yes, 841, 841, Yes]
Conditions: none
For EACH option,check positive entries AND a²+b²=c².This directly checks the STATED squared relation,not a drawing/largest-sort inference or an unneeded geometric converse.
Step identifiers and dependencies
Rule: Pythagorean_EACH_positive_triple_square_relation · Uses: G001, S021
S023 · implies
Before
source roles = [[No, Yes, Yes, Yes], [0]]
After
derived = [甲]
Conditions: none
Select the ORIGINAL label ONLY after ALL FOUR checks establish exactly one failure.Check counterexample_index metadata LAST;it never substitutes for testing the options.
Step identifiers and dependencies
Rule: Pythagorean_UNIQUE_invalid_after_ALL_four_checks · Uses: G001, S022