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, 1)
After
Linear grid base ORIGINAL negated constant = -1
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(-1, -14)
After
Linear grid base ORIGINAL negative b over a = 1/14
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(-14, 1/14)
After
Linear grid base reverse ORIGINAL a times root = -1
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(-1, 1)
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, -14, 1]
After
derived = [1/14, 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, [14, 2]]
After
derived = [7/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, S007
S009 · implies
Before
source roles = [Linear grid original offset2, [-13, 3]]
After
derived = [-13/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(1/14, 0)
After
Linear grid ORIGINAL root plus offset0 = 1/14
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(-14, 1/14)
After
Linear grid ORIGINAL a times candidate0 = -1
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(-1, 1)
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(-14, 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(1/14, 7)
After
Linear grid ORIGINAL root plus offset1 = 99/14
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(-14, 99/14)
After
Linear grid ORIGINAL a times candidate1 = -99
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(-99, 1)
After
Linear grid ORIGINAL candidate1 residual plus b = -98
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(-14, 7)
After
Linear grid reverse a times offset1 = -98
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(1/14, -13/3)
After
Linear grid ORIGINAL root plus offset2 = -179/42
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(-14, -179/42)
After
Linear grid ORIGINAL a times candidate2 = 179/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, S018
S020 · calculation
Before
Linear grid ORIGINAL candidate2 residual plus b := sum(179/3, 1)
After
Linear grid ORIGINAL candidate2 residual plus b = 182/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, S019
S021 · calculation
Before
Linear grid reverse a times offset2 := mul(-14, -13/3)
After
Linear grid reverse a times offset2 = 182/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, S020
S022 · implies
Before
source roles = [-14, 1, 1/14, [0/1, 7/1, -13/3]]
After
derived = [[1/14, 99/14, -179/42], [0/1, -98/1, 182/3], [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