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(3, 1)
After
Left sum ORIGINAL upper minus lower endpoint = 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, S001
S003 · calculation
Before
Left sum ORIGINAL width over positive cell count := div(2, 12)
After
Left sum ORIGINAL width over positive cell count = 1/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, S002
S004 · calculation
Before
Left sum ORIGINAL sample0 index times width := mul(0, 1/6)
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(1, 0)
After
Left sum ORIGINAL sample0 lower plus offset = 1
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(-12, 1)
After
Left sum ORIGINAL sample0 slope times x = -12
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(-12, -1)
After
Left sum ORIGINAL sample0 affine value plus c = -13
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(-13, 1/6)
After
Left sum ORIGINAL sample0 value times cell width = -13/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, S007
S009 · calculation
Before
Left sum ORIGINAL accumulated term0 := sum(0, -13/6)
After
Left sum ORIGINAL accumulated term0 = -13/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, S008
S010 · implies
Before
source roles = [0, 12, -12, -1, 1, 3, 1/6]
After
derived = [1/1, -13/1, -13/6, -13/6]
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, 1/6)
After
Left sum ORIGINAL sample1 index times width = 1/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, S010
S012 · calculation
Before
Left sum ORIGINAL sample1 lower plus offset := sum(1, 1/6)
After
Left sum ORIGINAL sample1 lower plus offset = 7/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, S011
S013 · calculation
Before
Left sum ORIGINAL sample1 slope times x := mul(-12, 7/6)
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, -1)
After
Left sum ORIGINAL sample1 affine value plus c = -15
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(-15, 1/6)
After
Left sum ORIGINAL sample1 value times cell width = -5/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, S014
S016 · calculation
Before
Left sum ORIGINAL accumulated term1 := sum(-13/6, -5/2)
After
Left sum ORIGINAL accumulated term1 = -14/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, S015
S017 · implies
Before
source roles = [1, 12, -12, -1, 1, 3, 1/6]
After
derived = [7/6, -15/1, -5/2, -14/3]
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, 1/6)
After
Left sum ORIGINAL sample2 index times width = 1/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, S017
S019 · calculation
Before
Left sum ORIGINAL sample2 lower plus offset := sum(1, 1/3)
After
Left sum ORIGINAL sample2 lower plus offset = 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, S018
S020 · calculation
Before
Left sum ORIGINAL sample2 slope times x := mul(-12, 4/3)
After
Left sum ORIGINAL sample2 slope times x = -16
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(-16, -1)
After
Left sum ORIGINAL sample2 affine value plus c = -17
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(-17, 1/6)
After
Left sum ORIGINAL sample2 value times cell width = -17/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, S021
S023 · calculation
Before
Left sum ORIGINAL accumulated term2 := sum(-14/3, -17/6)
After
Left sum ORIGINAL accumulated term2 = -15/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, S022
S024 · implies
Before
source roles = [2, 12, -12, -1, 1, 3, 1/6]
After
derived = [4/3, -17/1, -17/6, -15/2]
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, 1/6)
After
Left sum ORIGINAL sample3 index times width = 1/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, S024
S026 · calculation
Before
Left sum ORIGINAL sample3 lower plus offset := sum(1, 1/2)
After
Left sum ORIGINAL sample3 lower plus offset = 3/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, S025
S027 · calculation
Before
Left sum ORIGINAL sample3 slope times x := mul(-12, 3/2)
After
Left sum ORIGINAL sample3 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, S026
S028 · calculation
Before
Left sum ORIGINAL sample3 affine value plus c := sum(-18, -1)
After
Left sum ORIGINAL sample3 affine value plus c = -19
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(-19, 1/6)
After
Left sum ORIGINAL sample3 value times cell width = -19/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, S028
S030 · calculation
Before
Left sum ORIGINAL accumulated term3 := sum(-15/2, -19/6)
After
Left sum ORIGINAL accumulated term3 = -32/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, S029
S031 · implies
Before
source roles = [3, 12, -12, -1, 1, 3, 1/6]
After
derived = [3/2, -19/1, -19/6, -32/3]
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, 1/6)
After
Left sum ORIGINAL sample4 index times width = 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, S031
S033 · calculation
Before
Left sum ORIGINAL sample4 lower plus offset := sum(1, 2/3)
After
Left sum ORIGINAL sample4 lower plus offset = 5/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, S032
S034 · calculation
Before
Left sum ORIGINAL sample4 slope times x := mul(-12, 5/3)
After
Left sum ORIGINAL sample4 slope times x = -20
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(-20, -1)
After
Left sum ORIGINAL sample4 affine value plus c = -21
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(-21, 1/6)
After
Left sum ORIGINAL sample4 value times cell width = -7/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, S035
S037 · calculation
Before
Left sum ORIGINAL accumulated term4 := sum(-32/3, -7/2)
After
Left sum ORIGINAL accumulated term4 = -85/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, S036
S038 · implies
Before
source roles = [4, 12, -12, -1, 1, 3, 1/6]
After
derived = [5/3, -21/1, -7/2, -85/6]
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, 1/6)
After
Left sum ORIGINAL sample5 index times width = 5/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, S038
S040 · calculation
Before
Left sum ORIGINAL sample5 lower plus offset := sum(1, 5/6)
After
Left sum ORIGINAL sample5 lower plus offset = 11/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, S039
S041 · calculation
Before
Left sum ORIGINAL sample5 slope times x := mul(-12, 11/6)
After
Left sum ORIGINAL sample5 slope times x = -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, S040
S042 · calculation
Before
Left sum ORIGINAL sample5 affine value plus c := sum(-22, -1)
After
Left sum ORIGINAL sample5 affine value plus c = -23
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(-23, 1/6)
After
Left sum ORIGINAL sample5 value times cell width = -23/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, S042
S044 · calculation
Before
Left sum ORIGINAL accumulated term5 := sum(-85/6, -23/6)
After
Left sum ORIGINAL accumulated term5 = -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, S043
S045 · implies
Before
source roles = [5, 12, -12, -1, 1, 3, 1/6]
After
derived = [11/6, -23/1, -23/6, -18/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, 1/6)
After
Left sum ORIGINAL sample6 index times width = 1
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(1, 1)
After
Left sum ORIGINAL sample6 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, S046
S048 · calculation
Before
Left sum ORIGINAL sample6 slope times x := mul(-12, 2)
After
Left sum ORIGINAL sample6 slope times x = -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, S047
S049 · calculation
Before
Left sum ORIGINAL sample6 affine value plus c := sum(-24, -1)
After
Left sum ORIGINAL sample6 affine value plus c = -25
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(-25, 1/6)
After
Left sum ORIGINAL sample6 value times cell width = -25/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, S049
S051 · calculation
Before
Left sum ORIGINAL accumulated term6 := sum(-18, -25/6)
After
Left sum ORIGINAL accumulated term6 = -133/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, S050
S052 · implies
Before
source roles = [6, 12, -12, -1, 1, 3, 1/6]
After
derived = [2/1, -25/1, -25/6, -133/6]
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, 1/6)
After
Left sum ORIGINAL sample7 index times width = 7/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, S052
S054 · calculation
Before
Left sum ORIGINAL sample7 lower plus offset := sum(1, 7/6)
After
Left sum ORIGINAL sample7 lower plus offset = 13/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, S053
S055 · calculation
Before
Left sum ORIGINAL sample7 slope times x := mul(-12, 13/6)
After
Left sum ORIGINAL sample7 slope times x = -26
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(-26, -1)
After
Left sum ORIGINAL sample7 affine value plus c = -27
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(-27, 1/6)
After
Left sum ORIGINAL sample7 value times cell width = -9/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, S056
S058 · calculation
Before
Left sum ORIGINAL accumulated term7 := sum(-133/6, -9/2)
After
Left sum ORIGINAL accumulated term7 = -80/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, S057
S059 · implies
Before
source roles = [7, 12, -12, -1, 1, 3, 1/6]
After
derived = [13/6, -27/1, -9/2, -80/3]
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, 1/6)
After
Left sum ORIGINAL sample8 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, S059
S061 · calculation
Before
Left sum ORIGINAL sample8 lower plus offset := sum(1, 4/3)
After
Left sum ORIGINAL sample8 lower plus offset = 7/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, S060
S062 · calculation
Before
Left sum ORIGINAL sample8 slope times x := mul(-12, 7/3)
After
Left sum ORIGINAL sample8 slope times x = -28
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(-28, -1)
After
Left sum ORIGINAL sample8 affine value plus c = -29
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(-29, 1/6)
After
Left sum ORIGINAL sample8 value times cell width = -29/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, S063
S065 · calculation
Before
Left sum ORIGINAL accumulated term8 := sum(-80/3, -29/6)
After
Left sum ORIGINAL accumulated term8 = -63/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, S064
S066 · implies
Before
source roles = [8, 12, -12, -1, 1, 3, 1/6]
After
derived = [7/3, -29/1, -29/6, -63/2]
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 · calculation
Before
Left sum ORIGINAL sample9 index times width := mul(9, 1/6)
After
Left sum ORIGINAL sample9 index times width = 3/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, S066
S068 · calculation
Before
Left sum ORIGINAL sample9 lower plus offset := sum(1, 3/2)
After
Left sum ORIGINAL sample9 lower plus offset = 5/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, S067
S069 · calculation
Before
Left sum ORIGINAL sample9 slope times x := mul(-12, 5/2)
After
Left sum ORIGINAL sample9 slope times x = -30
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, S068
S070 · calculation
Before
Left sum ORIGINAL sample9 affine value plus c := sum(-30, -1)
After
Left sum ORIGINAL sample9 affine value plus c = -31
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, S069
S071 · calculation
Before
Left sum ORIGINAL sample9 value times cell width := mul(-31, 1/6)
After
Left sum ORIGINAL sample9 value times cell width = -31/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, S070
S072 · calculation
Before
Left sum ORIGINAL accumulated term9 := sum(-63/2, -31/6)
After
Left sum ORIGINAL accumulated term9 = -110/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, S071
S073 · implies
Before
source roles = [9, 12, -12, -1, 1, 3, 1/6]
After
derived = [5/2, -31/1, -31/6, -110/3]
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, S072
S074 · calculation
Before
Left sum ORIGINAL sample10 index times width := mul(10, 1/6)
After
Left sum ORIGINAL sample10 index times width = 5/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, S073
S075 · calculation
Before
Left sum ORIGINAL sample10 lower plus offset := sum(1, 5/3)
After
Left sum ORIGINAL sample10 lower plus offset = 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, S074
S076 · calculation
Before
Left sum ORIGINAL sample10 slope times x := mul(-12, 8/3)
After
Left sum ORIGINAL sample10 slope times x = -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, S075
S077 · calculation
Before
Left sum ORIGINAL sample10 affine value plus c := sum(-32, -1)
After
Left sum ORIGINAL sample10 affine value plus c = -33
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, S076
S078 · calculation
Before
Left sum ORIGINAL sample10 value times cell width := mul(-33, 1/6)
After
Left sum ORIGINAL sample10 value times cell width = -11/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, S077
S079 · calculation
Before
Left sum ORIGINAL accumulated term10 := sum(-110/3, -11/2)
After
Left sum ORIGINAL accumulated term10 = -253/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, S078
S080 · implies
Before
source roles = [10, 12, -12, -1, 1, 3, 1/6]
After
derived = [8/3, -33/1, -11/2, -253/6]
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, S079
S081 · calculation
Before
Left sum ORIGINAL sample11 index times width := mul(11, 1/6)
After
Left sum ORIGINAL sample11 index times width = 11/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, S080
S082 · calculation
Before
Left sum ORIGINAL sample11 lower plus offset := sum(1, 11/6)
After
Left sum ORIGINAL sample11 lower plus offset = 17/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, S081
S083 · calculation
Before
Left sum ORIGINAL sample11 slope times x := mul(-12, 17/6)
After
Left sum ORIGINAL sample11 slope times x = -34
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, S082
S084 · calculation
Before
Left sum ORIGINAL sample11 affine value plus c := sum(-34, -1)
After
Left sum ORIGINAL sample11 affine value plus c = -35
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, S083
S085 · calculation
Before
Left sum ORIGINAL sample11 value times cell width := mul(-35, 1/6)
After
Left sum ORIGINAL sample11 value times cell width = -35/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, S084
S086 · calculation
Before
Left sum ORIGINAL accumulated term11 := sum(-253/6, -35/6)
After
Left sum ORIGINAL accumulated term11 = -48
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, S085
S087 · implies
Before
source roles = [11, 12, -12, -1, 1, 3, 1/6]
After
derived = [17/6, -35/1, -35/6, -48/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, S086
S088 · implies
Before
source roles = [12, -12, -1, 1, 3]
After
derived = [1/6, -48/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, S087