Step-by-step derivation
S001 · implies
Before
source roles = [qf-density14-linear-root-substitution-grid, density14_linear_root_substitution_grid, finite_Q_affine_row_protocol]
After
derived = [[root, ALL_candidates, ALL_original_residuals, ALL_exact_solution_flags]]
Conditions: none
density14/15 use FULL-prefix underscores;density17 uses LOCAL hyphens.The coordinate and circle frames differ.Retain THIS family ordered answer roles/types and all original bilingual JSON/status.
Step identifiers and dependencies
Rule: R60_EXACT_perbank_operation_domain_FRAME_and_output_roles · Uses: G001
S002 · calculation
Before
Linear grid base ORIGINAL negated constant := sub(0, -4)
After
Linear grid base ORIGINAL negated constant = 4
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Linear grid base ORIGINAL negative b over a := div(4, 9)
After
Linear grid base ORIGINAL negative b over a = 4/9
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Linear grid base reverse ORIGINAL a times root := mul(9, 4/9)
After
Linear grid base reverse ORIGINAL a times root = 4
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Linear grid base reverse ORIGINAL residual plus b := sum(4, -4)
After
Linear grid base reverse ORIGINAL residual plus b = 0
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · implies
Before
source roles = [Linear grid base, 9, -4]
After
derived = [4/9, 0/1]
Conditions: none
ONLY nonzero a permits division:ax+b=0 IFF x=-b/a.Substitute into the ORIGINAL coefficients to verify zero residual.Normalize a negative a to a positive denominator;derived roots are not SAFE-capped or approximated.
Step identifiers and dependencies
Rule: Linear_NONZERO_a_exact_Q_root_AND_original_substitution · Uses: G001, S005
S007 · implies
Before
source roles = [Linear grid original offset0, [0, 1]]
After
derived = [0/1]
Conditions: none
Both RAW pair components are SAFE and the denominator is nonzero.Negative denominators normalize sign/gcd;derived fractions are not SAFE/1e6-capped.Integer fractions retain/1.
Step identifiers and dependencies
Rule: R60_RAW_SAFE_rational_pair_NONZERO_den_SIGN_normalized · Uses: G001, S006
S008 · implies
Before
source roles = [Linear grid original offset1, [9, 2]]
After
derived = [9/2]
Conditions: none
Both RAW pair components are SAFE and the denominator is nonzero.Negative denominators normalize sign/gcd;derived fractions are not SAFE/1e6-capped.Integer fractions retain/1.
Step identifiers and dependencies
Rule: R60_RAW_SAFE_rational_pair_NONZERO_den_SIGN_normalized · Uses: G001, S007
S009 · implies
Before
source roles = [Linear grid original offset2, [-8, 3]]
After
derived = [-8/3]
Conditions: none
Both RAW pair components are SAFE and the denominator is nonzero.Negative denominators normalize sign/gcd;derived fractions are not SAFE/1e6-capped.Integer fractions retain/1.
Step identifiers and dependencies
Rule: R60_RAW_SAFE_rational_pair_NONZERO_den_SIGN_normalized · Uses: G001, S008
S010 · calculation
Before
Linear grid ORIGINAL root plus offset0 := sum(4/9, 0)
After
Linear grid ORIGINAL root plus offset0 = 4/9
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
Linear grid ORIGINAL a times candidate0 := mul(9, 4/9)
After
Linear grid ORIGINAL a times candidate0 = 4
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
Linear grid ORIGINAL candidate0 residual plus b := sum(4, -4)
After
Linear grid ORIGINAL candidate0 residual plus b = 0
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Linear grid reverse a times offset0 := mul(9, 0)
After
Linear grid reverse a times offset0 = 0
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Linear grid ORIGINAL root plus offset1 := sum(4/9, 9/2)
After
Linear grid ORIGINAL root plus offset1 = 89/18
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Linear grid ORIGINAL a times candidate1 := mul(9, 89/18)
After
Linear grid ORIGINAL a times candidate1 = 89/2
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Linear grid ORIGINAL candidate1 residual plus b := sum(89/2, -4)
After
Linear grid ORIGINAL candidate1 residual plus b = 81/2
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
Linear grid reverse a times offset1 := mul(9, 9/2)
After
Linear grid reverse a times offset1 = 81/2
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
Linear grid ORIGINAL root plus offset2 := sum(4/9, -8/3)
After
Linear grid ORIGINAL root plus offset2 = -20/9
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
Linear grid ORIGINAL a times candidate2 := mul(9, -20/9)
After
Linear grid ORIGINAL a times candidate2 = -20
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
Linear grid ORIGINAL candidate2 residual plus b := sum(-20, -4)
After
Linear grid ORIGINAL candidate2 residual plus b = -24
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
Linear grid reverse a times offset2 := mul(9, -8/3)
After
Linear grid reverse a times offset2 = -24
Conditions: none
Use ORIGINAL operands for exact integer/rational arithmetic.Only RAW inputs use SAFE or the explicit family bounds;derived values do not inherit those caps or use floating approximations.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · implies
Before
source roles = [9, -4, 4/9, [0/1, 9/2, -8/3]]
After
derived = [[4/9, 89/18, -20/9], [0/1, 81/2, -24/1], [Yes, No, No]]
Conditions: none
For EVERY candidate evaluate the ORIGINAL a*x+b,not nearness to a root or raw offset appearance.The reverse check is residual=a*offset;with a!=0,ONLY offset0 gives a solution.Normalize negative denominators first.
Step identifiers and dependencies
Rule: Linear_grid_EVERY_original_equation_residual_exact_zero_NOT_nearness · Uses: G001, S021