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, 3)
After
Linear grid base ORIGINAL negated constant = -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, S001
S003 · calculation
Before
Linear grid base ORIGINAL negative b over a := div(-3, -16)
After
Linear grid base ORIGINAL negative b over a = 3/16
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(-16, 3/16)
After
Linear grid base reverse ORIGINAL a times root = -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, S003
S005 · calculation
Before
Linear grid base reverse ORIGINAL residual plus b := sum(-3, 3)
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, -16, 3]
After
derived = [3/16, 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, [16, 2]]
After
derived = [8/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, [-15, 3]]
After
derived = [-5/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, S008
S010 · calculation
Before
Linear grid ORIGINAL root plus offset0 := sum(3/16, 0)
After
Linear grid ORIGINAL root plus offset0 = 3/16
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(-16, 3/16)
After
Linear grid ORIGINAL a times candidate0 = -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, S010
S012 · calculation
Before
Linear grid ORIGINAL candidate0 residual plus b := sum(-3, 3)
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(-16, 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(3/16, 8)
After
Linear grid ORIGINAL root plus offset1 = 131/16
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(-16, 131/16)
After
Linear grid ORIGINAL a times candidate1 = -131
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(-131, 3)
After
Linear grid ORIGINAL candidate1 residual plus b = -128
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(-16, 8)
After
Linear grid reverse a times offset1 = -128
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(3/16, -5)
After
Linear grid ORIGINAL root plus offset2 = -77/16
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(-16, -77/16)
After
Linear grid ORIGINAL a times candidate2 = 77
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(77, 3)
After
Linear grid ORIGINAL candidate2 residual plus b = 80
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(-16, -5)
After
Linear grid reverse a times offset2 = 80
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 = [-16, 3, 3/16, [0/1, 8/1, -5/1]]
After
derived = [[3/16, 131/16, -77/16], [0/1, -128/1, 80/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