Step-by-step derivation
S001 · implies
Before
source roles = [qf-density15-composition-noncommuting-affine, density15_composition_noncommuting_affine, finite_explicit_composition_protocol]
After
derived = [[GF_SLOPE_constant, FG_SLOPE_constant, GF_values, FG_values, SIGNED_constant_difference]]
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 · implies
Before
source roles = [Composition original rational input0, [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, S001
S003 · implies
Before
source roles = [Composition original rational input1, [1, 2]]
After
derived = [1/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, S002
S004 · implies
Before
source roles = [Composition original rational input2, [-1, 1]]
After
derived = [-1/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, S003
S005 · calculation
Before
Affine GF ORIGINAL c times a slope := mul(-2, 22)
After
Affine GF ORIGINAL c times a slope = -44
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 · calculation
Before
Affine GF ORIGINAL c times b := mul(-2, 1)
After
Affine GF ORIGINAL c times 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, S005
S007 · calculation
Before
Affine GF ORIGINAL constant cb plus d := sum(-2, 1)
After
Affine GF ORIGINAL constant cb plus d = -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, S006
S008 · calculation
Before
Affine FG ORIGINAL a times c slope := mul(22, -2)
After
Affine FG ORIGINAL a times c slope = -44
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, S007
S009 · calculation
Before
Affine FG ORIGINAL a times d := mul(22, 1)
After
Affine FG ORIGINAL a times d = 22
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, S008
S010 · calculation
Before
Affine FG ORIGINAL constant ad plus b := sum(22, 1)
After
Affine FG ORIGINAL constant ad plus b = 23
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
Affine ORIGINAL f input0 multiply := mul(22, 0)
After
Affine ORIGINAL f input0 multiply = 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, S010
S012 · calculation
Before
Affine ORIGINAL f input0 plus b := sum(0, 1)
After
Affine ORIGINAL f input0 plus b = 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, S011
S013 · calculation
Before
Affine ORIGINAL g AFTER f input0 multiply := mul(-2, 1)
After
Affine ORIGINAL g AFTER f input0 multiply = -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, S012
S014 · calculation
Before
Affine ORIGINAL g AFTER f input0 plus d := sum(-2, 1)
After
Affine ORIGINAL g AFTER f input0 plus d = -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, S013
S015 · calculation
Before
Affine ORIGINAL g input0 multiply := mul(-2, 0)
After
Affine ORIGINAL g input0 multiply = 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, S014
S016 · calculation
Before
Affine ORIGINAL g input0 plus d := sum(0, 1)
After
Affine ORIGINAL g input0 plus d = 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, S015
S017 · calculation
Before
Affine ORIGINAL f AFTER g input0 multiply := mul(22, 1)
After
Affine ORIGINAL f AFTER g input0 multiply = 22
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
Affine ORIGINAL f AFTER g input0 plus b := sum(22, 1)
After
Affine ORIGINAL f AFTER g input0 plus b = 23
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
Affine reverse GF coefficient input0 product := mul(-44, 0)
After
Affine reverse GF coefficient input0 product = 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, S018
S020 · calculation
Before
Affine reverse GF coefficient input0 sum := sum(0, -1)
After
Affine reverse GF coefficient input0 sum = -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, S019
S021 · calculation
Before
Affine reverse FG coefficient input0 product := mul(-44, 0)
After
Affine reverse FG coefficient input0 product = 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, S020
S022 · calculation
Before
Affine reverse FG coefficient input0 sum := sum(0, 23)
After
Affine reverse FG coefficient input0 sum = 23
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, S021
S023 · calculation
Before
Affine ORIGINAL f input1 multiply := mul(22, 1/2)
After
Affine ORIGINAL f input1 multiply = 11
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, S022
S024 · calculation
Before
Affine ORIGINAL f input1 plus b := sum(11, 1)
After
Affine ORIGINAL f input1 plus b = 12
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, S023
S025 · calculation
Before
Affine ORIGINAL g AFTER f input1 multiply := mul(-2, 12)
After
Affine ORIGINAL g AFTER f input1 multiply = -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, S024
S026 · calculation
Before
Affine ORIGINAL g AFTER f input1 plus d := sum(-24, 1)
After
Affine ORIGINAL g AFTER f input1 plus d = -23
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, S025
S027 · calculation
Before
Affine ORIGINAL g input1 multiply := mul(-2, 1/2)
After
Affine ORIGINAL g input1 multiply = -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, S026
S028 · calculation
Before
Affine ORIGINAL g input1 plus d := sum(-1, 1)
After
Affine ORIGINAL g input1 plus d = 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, S027
S029 · calculation
Before
Affine ORIGINAL f AFTER g input1 multiply := mul(22, 0)
After
Affine ORIGINAL f AFTER g input1 multiply = 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, S028
S030 · calculation
Before
Affine ORIGINAL f AFTER g input1 plus b := sum(0, 1)
After
Affine ORIGINAL f AFTER g input1 plus b = 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, S029
S031 · calculation
Before
Affine reverse GF coefficient input1 product := mul(-44, 1/2)
After
Affine reverse GF coefficient input1 product = -22
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, S030
S032 · calculation
Before
Affine reverse GF coefficient input1 sum := sum(-22, -1)
After
Affine reverse GF coefficient input1 sum = -23
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, S031
S033 · calculation
Before
Affine reverse FG coefficient input1 product := mul(-44, 1/2)
After
Affine reverse FG coefficient input1 product = -22
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, S032
S034 · calculation
Before
Affine reverse FG coefficient input1 sum := sum(-22, 23)
After
Affine reverse FG coefficient input1 sum = 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, S033
S035 · calculation
Before
Affine ORIGINAL f input2 multiply := mul(22, -1)
After
Affine ORIGINAL f input2 multiply = -22
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, S034
S036 · calculation
Before
Affine ORIGINAL f input2 plus b := sum(-22, 1)
After
Affine ORIGINAL f input2 plus b = -21
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, S035
S037 · calculation
Before
Affine ORIGINAL g AFTER f input2 multiply := mul(-2, -21)
After
Affine ORIGINAL g AFTER f input2 multiply = 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, S036
S038 · calculation
Before
Affine ORIGINAL g AFTER f input2 plus d := sum(42, 1)
After
Affine ORIGINAL g AFTER f input2 plus d = 43
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, S037
S039 · calculation
Before
Affine ORIGINAL g input2 multiply := mul(-2, -1)
After
Affine ORIGINAL g input2 multiply = 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, S038
S040 · calculation
Before
Affine ORIGINAL g input2 plus d := sum(2, 1)
After
Affine ORIGINAL g input2 plus d = 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, S039
S041 · calculation
Before
Affine ORIGINAL f AFTER g input2 multiply := mul(22, 3)
After
Affine ORIGINAL f AFTER g input2 multiply = 66
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, S040
S042 · calculation
Before
Affine ORIGINAL f AFTER g input2 plus b := sum(66, 1)
After
Affine ORIGINAL f AFTER g input2 plus b = 67
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, S041
S043 · calculation
Before
Affine reverse GF coefficient input2 product := mul(-44, -1)
After
Affine reverse GF coefficient input2 product = 44
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, S042
S044 · calculation
Before
Affine reverse GF coefficient input2 sum := sum(44, -1)
After
Affine reverse GF coefficient input2 sum = 43
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, S043
S045 · calculation
Before
Affine reverse FG coefficient input2 product := mul(-44, -1)
After
Affine reverse FG coefficient input2 product = 44
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, S044
S046 · calculation
Before
Affine reverse FG coefficient input2 sum := sum(44, 23)
After
Affine reverse FG coefficient input2 sum = 67
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, S045
S047 · calculation
Before
Affine ORIGINAL GF constant minus FG constant := sub(-1, 23)
After
Affine ORIGINAL GF constant minus FG constant = -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, S046
S048 · implies
Before
source roles = [22, 1, -2, 1, [0/1, 1/2, -1/1]]
After
derived = [[-44, -1], [-44, 23], [-1/1, -23/1, 43/1], [23/1, 1/1, 67/1], -24]
Conditions: none
Substitute twice in the WHOLE Q-affine laws:g(f(x))=(ca)x+(cb+d),f(g(x))=(ac)x+(ad+b).Pairs are[SLOPE,constant],NOT ascending powers.Commuting/constant instances are legal;three samples do not prove arbitrary functions commute.
Step identifiers and dependencies
Rule: Composition_TOTAL_Q_affine_SUBSTITUTE_each_order_SLOPE_FIRST · Uses: G001, S047