Step-by-step derivation
S001 · implies
Before
source roles = [qf-integral-affine-left-sum, affine_left_sum, reals, []]
After
derived = [[finite_left_sum_fraction_RETAIN1]]
Conditions: none
Legacy banks enforce their exact source keys/operation/domain.BASE integers retain metadata without treating it as an oracle.Distinguish NUMBER,string,fraction pair and vector equality formats;retain original bilingual data/AST/status.
Step identifiers and dependencies
Rule: R64_SOURCE_exact_legacy_interface_BASE_metadata_AND_output_roles · Uses: G001
S002 · calculation
Before
Left sum ORIGINAL upper minus lower endpoint := sub(2, -2)
After
Left sum ORIGINAL upper minus lower endpoint = 4
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Left sum ORIGINAL width over positive cell count := div(4, 9)
After
Left sum ORIGINAL width over positive cell count = 4/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Left sum ORIGINAL sample0 index times width := mul(0, 4/9)
After
Left sum ORIGINAL sample0 index times width = 0
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Left sum ORIGINAL sample0 lower plus offset := sum(-2, 0)
After
Left sum ORIGINAL sample0 lower plus offset = -2
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Left sum ORIGINAL sample0 slope times x := mul(9, -2)
After
Left sum ORIGINAL sample0 slope times x = -18
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
Left sum ORIGINAL sample0 affine value plus c := sum(-18, -4)
After
Left sum ORIGINAL sample0 affine value plus c = -22
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Left sum ORIGINAL sample0 value times cell width := mul(-22, 4/9)
After
Left sum ORIGINAL sample0 value times cell width = -88/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Left sum ORIGINAL accumulated term0 := sum(0, -88/9)
After
Left sum ORIGINAL accumulated term0 = -88/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · implies
Before
source roles = [0, 9, 9, -4, -2, 2, 4/9]
After
derived = [-2/1, -22/1, -88/9, -88/9]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S009
S011 · calculation
Before
Left sum ORIGINAL sample1 index times width := mul(1, 4/9)
After
Left sum ORIGINAL sample1 index times width = 4/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
Left sum ORIGINAL sample1 lower plus offset := sum(-2, 4/9)
After
Left sum ORIGINAL sample1 lower plus offset = -14/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Left sum ORIGINAL sample1 slope times x := mul(9, -14/9)
After
Left sum ORIGINAL sample1 slope times x = -14
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Left sum ORIGINAL sample1 affine value plus c := sum(-14, -4)
After
Left sum ORIGINAL sample1 affine value plus c = -18
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Left sum ORIGINAL sample1 value times cell width := mul(-18, 4/9)
After
Left sum ORIGINAL sample1 value times cell width = -8
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Left sum ORIGINAL accumulated term1 := sum(-88/9, -8)
After
Left sum ORIGINAL accumulated term1 = -160/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · implies
Before
source roles = [1, 9, 9, -4, -2, 2, 4/9]
After
derived = [-14/9, -18/1, -8/1, -160/9]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S016
S018 · calculation
Before
Left sum ORIGINAL sample2 index times width := mul(2, 4/9)
After
Left sum ORIGINAL sample2 index times width = 8/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
Left sum ORIGINAL sample2 lower plus offset := sum(-2, 8/9)
After
Left sum ORIGINAL sample2 lower plus offset = -10/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
Left sum ORIGINAL sample2 slope times x := mul(9, -10/9)
After
Left sum ORIGINAL sample2 slope times x = -10
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
Left sum ORIGINAL sample2 affine value plus c := sum(-10, -4)
After
Left sum ORIGINAL sample2 affine value plus c = -14
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
Left sum ORIGINAL sample2 value times cell width := mul(-14, 4/9)
After
Left sum ORIGINAL sample2 value times cell width = -56/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
Left sum ORIGINAL accumulated term2 := sum(-160/9, -56/9)
After
Left sum ORIGINAL accumulated term2 = -24
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · implies
Before
source roles = [2, 9, 9, -4, -2, 2, 4/9]
After
derived = [-10/9, -14/1, -56/9, -24/1]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S023
S025 · calculation
Before
Left sum ORIGINAL sample3 index times width := mul(3, 4/9)
After
Left sum ORIGINAL sample3 index times width = 4/3
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · calculation
Before
Left sum ORIGINAL sample3 lower plus offset := sum(-2, 4/3)
After
Left sum ORIGINAL sample3 lower plus offset = -2/3
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · calculation
Before
Left sum ORIGINAL sample3 slope times x := mul(9, -2/3)
After
Left sum ORIGINAL sample3 slope times x = -6
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S026
S028 · calculation
Before
Left sum ORIGINAL sample3 affine value plus c := sum(-6, -4)
After
Left sum ORIGINAL sample3 affine value plus c = -10
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · calculation
Before
Left sum ORIGINAL sample3 value times cell width := mul(-10, 4/9)
After
Left sum ORIGINAL sample3 value times cell width = -40/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S028
S030 · calculation
Before
Left sum ORIGINAL accumulated term3 := sum(-24, -40/9)
After
Left sum ORIGINAL accumulated term3 = -256/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S029
S031 · implies
Before
source roles = [3, 9, 9, -4, -2, 2, 4/9]
After
derived = [-2/3, -10/1, -40/9, -256/9]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S030
S032 · calculation
Before
Left sum ORIGINAL sample4 index times width := mul(4, 4/9)
After
Left sum ORIGINAL sample4 index times width = 16/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · calculation
Before
Left sum ORIGINAL sample4 lower plus offset := sum(-2, 16/9)
After
Left sum ORIGINAL sample4 lower plus offset = -2/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S032
S034 · calculation
Before
Left sum ORIGINAL sample4 slope times x := mul(9, -2/9)
After
Left sum ORIGINAL sample4 slope times x = -2
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S033
S035 · calculation
Before
Left sum ORIGINAL sample4 affine value plus c := sum(-2, -4)
After
Left sum ORIGINAL sample4 affine value plus c = -6
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S034
S036 · calculation
Before
Left sum ORIGINAL sample4 value times cell width := mul(-6, 4/9)
After
Left sum ORIGINAL sample4 value times cell width = -8/3
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S035
S037 · calculation
Before
Left sum ORIGINAL accumulated term4 := sum(-256/9, -8/3)
After
Left sum ORIGINAL accumulated term4 = -280/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S036
S038 · implies
Before
source roles = [4, 9, 9, -4, -2, 2, 4/9]
After
derived = [-2/9, -6/1, -8/3, -280/9]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S037
S039 · calculation
Before
Left sum ORIGINAL sample5 index times width := mul(5, 4/9)
After
Left sum ORIGINAL sample5 index times width = 20/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S038
S040 · calculation
Before
Left sum ORIGINAL sample5 lower plus offset := sum(-2, 20/9)
After
Left sum ORIGINAL sample5 lower plus offset = 2/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S039
S041 · calculation
Before
Left sum ORIGINAL sample5 slope times x := mul(9, 2/9)
After
Left sum ORIGINAL sample5 slope times x = 2
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S040
S042 · calculation
Before
Left sum ORIGINAL sample5 affine value plus c := sum(2, -4)
After
Left sum ORIGINAL sample5 affine value plus c = -2
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S041
S043 · calculation
Before
Left sum ORIGINAL sample5 value times cell width := mul(-2, 4/9)
After
Left sum ORIGINAL sample5 value times cell width = -8/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S042
S044 · calculation
Before
Left sum ORIGINAL accumulated term5 := sum(-280/9, -8/9)
After
Left sum ORIGINAL accumulated term5 = -32
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S043
S045 · implies
Before
source roles = [5, 9, 9, -4, -2, 2, 4/9]
After
derived = [2/9, -2/1, -8/9, -32/1]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S044
S046 · calculation
Before
Left sum ORIGINAL sample6 index times width := mul(6, 4/9)
After
Left sum ORIGINAL sample6 index times width = 8/3
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S045
S047 · calculation
Before
Left sum ORIGINAL sample6 lower plus offset := sum(-2, 8/3)
After
Left sum ORIGINAL sample6 lower plus offset = 2/3
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · calculation
Before
Left sum ORIGINAL sample6 slope times x := mul(9, 2/3)
After
Left sum ORIGINAL sample6 slope times x = 6
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S047
S049 · calculation
Before
Left sum ORIGINAL sample6 affine value plus c := sum(6, -4)
After
Left sum ORIGINAL sample6 affine value plus c = 2
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S048
S050 · calculation
Before
Left sum ORIGINAL sample6 value times cell width := mul(2, 4/9)
After
Left sum ORIGINAL sample6 value times cell width = 8/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S049
S051 · calculation
Before
Left sum ORIGINAL accumulated term6 := sum(-32, 8/9)
After
Left sum ORIGINAL accumulated term6 = -280/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S050
S052 · implies
Before
source roles = [6, 9, 9, -4, -2, 2, 4/9]
After
derived = [2/3, 2/1, 8/9, -280/9]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S051
S053 · calculation
Before
Left sum ORIGINAL sample7 index times width := mul(7, 4/9)
After
Left sum ORIGINAL sample7 index times width = 28/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S052
S054 · calculation
Before
Left sum ORIGINAL sample7 lower plus offset := sum(-2, 28/9)
After
Left sum ORIGINAL sample7 lower plus offset = 10/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S053
S055 · calculation
Before
Left sum ORIGINAL sample7 slope times x := mul(9, 10/9)
After
Left sum ORIGINAL sample7 slope times x = 10
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S054
S056 · calculation
Before
Left sum ORIGINAL sample7 affine value plus c := sum(10, -4)
After
Left sum ORIGINAL sample7 affine value plus c = 6
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S055
S057 · calculation
Before
Left sum ORIGINAL sample7 value times cell width := mul(6, 4/9)
After
Left sum ORIGINAL sample7 value times cell width = 8/3
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S056
S058 · calculation
Before
Left sum ORIGINAL accumulated term7 := sum(-280/9, 8/3)
After
Left sum ORIGINAL accumulated term7 = -256/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S057
S059 · implies
Before
source roles = [7, 9, 9, -4, -2, 2, 4/9]
After
derived = [10/9, 6/1, 8/3, -256/9]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S058
S060 · calculation
Before
Left sum ORIGINAL sample8 index times width := mul(8, 4/9)
After
Left sum ORIGINAL sample8 index times width = 32/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S059
S061 · calculation
Before
Left sum ORIGINAL sample8 lower plus offset := sum(-2, 32/9)
After
Left sum ORIGINAL sample8 lower plus offset = 14/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S060
S062 · calculation
Before
Left sum ORIGINAL sample8 slope times x := mul(9, 14/9)
After
Left sum ORIGINAL sample8 slope times x = 14
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S061
S063 · calculation
Before
Left sum ORIGINAL sample8 affine value plus c := sum(14, -4)
After
Left sum ORIGINAL sample8 affine value plus c = 10
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S062
S064 · calculation
Before
Left sum ORIGINAL sample8 value times cell width := mul(10, 4/9)
After
Left sum ORIGINAL sample8 value times cell width = 40/9
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S063
S065 · calculation
Before
Left sum ORIGINAL accumulated term8 := sum(-256/9, 40/9)
After
Left sum ORIGINAL accumulated term8 = -24
Conditions: none
Use ORIGINAL operands/order for exact integer/rational arithmetic.RAW bounds are bank-specific;derived values are not SAFE-recapped or approximated.Do not import legacy caps into BASE integers.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S064
S066 · implies
Before
source roles = [8, 9, 9, -4, -2, 2, 4/9]
After
derived = [14/9, 10/1, 40/9, -24/1]
Conditions: none
For EACH i=0..N−1,use the LEFT point a+iΔ,evaluate the affine law,multiply by Δ and accumulate.The right endpoint i=N is EXCLUDED.All fractions are exact;zero width/constants still validate N and EVERY raw field.
Step identifiers and dependencies
Rule: LeftSum_EVERY_fixed_LEFT_sample_value_weight_and_running_sum · Uses: G001, S065
S067 · implies
Before
source roles = [9, 9, -4, -2, 2]
After
derived = [4/9, -24/1]
Conditions: none
This is a FIXED-N finite left sum,generally not the integral.Constants/zero-width cases may agree,without proving arbitrary integrability or a limit as N→∞.
Step identifiers and dependencies
Rule: LeftSum_FIXED_finite_partition_NOT_integral_or_limit_claim · Uses: G001, S066