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, -10)
After
Linear grid base ORIGINAL negated constant = 10
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(10, 3)
After
Linear grid base ORIGINAL negative b over a = 10/3
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(3, 10/3)
After
Linear grid base reverse ORIGINAL a times root = 10
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(10, -10)
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, 3, -10]
After
derived = [10/3, 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, [3, 2]]
After
derived = [3/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, [-2, 3]]
After
derived = [-2/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(10/3, 0)
After
Linear grid ORIGINAL root plus offset0 = 10/3
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(3, 10/3)
After
Linear grid ORIGINAL a times candidate0 = 10
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(10, -10)
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(3, 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(10/3, 3/2)
After
Linear grid ORIGINAL root plus offset1 = 29/6
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(3, 29/6)
After
Linear grid ORIGINAL a times candidate1 = 29/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(29/2, -10)
After
Linear grid ORIGINAL candidate1 residual plus b = 9/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(3, 3/2)
After
Linear grid reverse a times offset1 = 9/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(10/3, -2/3)
After
Linear grid ORIGINAL root plus offset2 = 8/3
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(3, 8/3)
After
Linear grid ORIGINAL a times candidate2 = 8
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(8, -10)
After
Linear grid ORIGINAL candidate2 residual plus b = -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, S019
S021 · calculation
Before
Linear grid reverse a times offset2 := mul(3, -2/3)
After
Linear grid reverse a times offset2 = -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, S020
S022 · implies
Before
source roles = [3, -10, 10/3, [0/1, 3/2, -2/3]]
After
derived = [[10/3, 29/6, 8/3], [0/1, 9/2, -2/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