Step-by-step derivation
S001 · implies
Before
source roles = [qf-linear-system-unique-solve, unique_solve, reals, []]
After
derived = [[solution_pair_fractions_RETAIN1]]
Conditions: none
Legacy banks enforce their exact source keys/operation/domain.BASE integers retain metadata without treating it as an oracle.Distinguish NUMBER,string,fraction pair and vector equality formats;retain original bilingual data/AST/status.
Step identifiers and dependencies
Rule: R64_SOURCE_exact_legacy_interface_BASE_metadata_AND_output_roles · Uses: G001
S002 · implies
Before
source roles = [[[-2, 1, 3], [1, 2, -4]]]
After
derived = [[coefficient_x, coefficient_y, right_side]]
Conditions: none
Each ORIGINAL row[a,b,c]means ax+by=c;the THIRD column is RHS,not a coefficient.Type ALL SIX raw SAFE values,including unused RHS in a determinant task.Keep original row order.
Step identifiers and dependencies
Rule: System_RAW_exact2_augmented_rows3_ALL_SAFEincl_unused_rhs · Uses: G001, S001
S003 · calculation
Before
System ORIGINAL a times e main product := mul(-2, 2)
After
System ORIGINAL a times e main product = -4
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
System ORIGINAL b times d other product := mul(1, 1)
After
System ORIGINAL b times d other product = 1
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
System ORIGINAL signed determinant ae minus bd := sub(-4, 1)
After
System ORIGINAL signed determinant ae minus bd = -5
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · implies
Before
source roles = [[[-2, 1, 3], [1, 2, -4]]]
After
derived = [-4, 1, -5]
Conditions: none
D=ae−bd uses ONLY the first TWO columns,retaining ORIGINAL row order/sign.RHS is excluded;swapping rows changes the sign.Do not replace originals by semantic sorting.
Step identifiers and dependencies
Rule: System_DETERMINANT_coefficients_ONLY_raw_order_sign · Uses: G001, S005
S007 · calculation
Before
Cramer ORIGINAL c times e := mul(3, 2)
After
Cramer ORIGINAL c times e = 6
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Cramer ORIGINAL b times f := mul(1, -4)
After
Cramer ORIGINAL b times f = -4
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Cramer ORIGINAL numerator x ce minus bf := sub(6, -4)
After
Cramer ORIGINAL numerator x ce minus bf = 10
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
Cramer ORIGINAL a times f := mul(-2, -4)
After
Cramer ORIGINAL a times f = 8
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
Cramer ORIGINAL c times d := mul(3, 1)
After
Cramer ORIGINAL c times d = 3
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
Cramer ORIGINAL numerator y af minus cd := sub(8, 3)
After
Cramer ORIGINAL numerator y af minus cd = 5
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Cramer ORIGINAL x numerator over NONZERO D := div(10, -5)
After
Cramer ORIGINAL x numerator over NONZERO D = -2
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Cramer ORIGINAL y numerator over NONZERO D := div(5, -5)
After
Cramer ORIGINAL y numerator over NONZERO D = -1
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Cramer reverse ORIGINAL row0 x term := mul(-2, -2)
After
Cramer reverse ORIGINAL row0 x term = 4
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Cramer reverse ORIGINAL row0 y term := mul(1, -1)
After
Cramer reverse ORIGINAL row0 y term = -1
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
Cramer reverse ORIGINAL row0 terms sum := sum(4, -1)
After
Cramer reverse ORIGINAL row0 terms sum = 3
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
Cramer reverse ORIGINAL row0 residual minus rhs := sub(3, 3)
After
Cramer reverse ORIGINAL row0 residual minus rhs = 0
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · implies
Before
source roles = [Cramer reverse, 0, -2, 1, 3, -2/1, -1/1]
After
derived = [4, -1, 3, 0/1]
Conditions: none
Substitute into EACH ORIGINAL row with its ORIGINAL coefficients/RHS.ALL residuals must be0,not merely one transformed row.
Step identifiers and dependencies
Rule: System_EACH_original_row_reverse_exact_substitution · Uses: G001, S018
S020 · calculation
Before
Cramer reverse ORIGINAL row1 x term := mul(1, -2)
After
Cramer reverse ORIGINAL row1 x term = -2
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
Cramer reverse ORIGINAL row1 y term := mul(2, -1)
After
Cramer reverse ORIGINAL row1 y term = -2
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
Cramer reverse ORIGINAL row1 terms sum := sum(-2, -2)
After
Cramer reverse ORIGINAL row1 terms sum = -4
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
Cramer reverse ORIGINAL row1 residual minus rhs := sub(-4, -4)
After
Cramer reverse ORIGINAL row1 residual minus rhs = 0
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · implies
Before
source roles = [Cramer reverse, 1, 1, 2, -4, -2/1, -1/1]
After
derived = [-2, -2, -4, 0/1]
Conditions: none
Substitute into EACH ORIGINAL row with its ORIGINAL coefficients/RHS.ALL residuals must be0,not merely one transformed row.
Step identifiers and dependencies
Rule: System_EACH_original_row_reverse_exact_substitution · Uses: G001, S023
S025 · implies
Before
source roles = [[[-2, 1, 3], [1, 2, -4]], -5]
After
derived = [10, 5, -2/1, -1/1]
Conditions: none
Divide ONLY for D≠0:x=(ce−bf)/D,y=(af−cd)/D.Reduce positive denominators,retain/1,and verify BOTH original rows.The difference of two solutions obeys the homogeneous equations;elimination gives DΔx=DΔy=0,hence uniqueness over R,not an integer-unit criterion.
Step identifiers and dependencies
Rule: System_CRAMER_NONZERO_D_BOTH_fractions_and_uniqueness · Uses: G001, S024