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(0, -1)
After
Left sum ORIGINAL upper minus lower endpoint = 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, S001
S003 · calculation
Before
Left sum ORIGINAL width over positive cell count := div(1, 6)
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(-6, -1)
After
Left sum ORIGINAL sample0 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, S005
S007 · calculation
Before
Left sum ORIGINAL sample0 affine value plus c := sum(6, -7)
After
Left sum ORIGINAL sample0 affine value plus c = -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, S006
S008 · calculation
Before
Left sum ORIGINAL sample0 value times cell width := mul(-1, 1/6)
After
Left sum ORIGINAL sample0 value times cell 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, S007
S009 · calculation
Before
Left sum ORIGINAL accumulated term0 := sum(0, -1/6)
After
Left sum ORIGINAL accumulated term0 = -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, S008
S010 · implies
Before
source roles = [0, 6, -6, -7, -1, 0, 1/6]
After
derived = [-1/1, -1/1, -1/6, -1/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 = -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, S011
S013 · calculation
Before
Left sum ORIGINAL sample1 slope times x := mul(-6, -5/6)
After
Left sum ORIGINAL sample1 slope times x = 5
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(5, -7)
After
Left sum ORIGINAL sample1 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, S013
S015 · calculation
Before
Left sum ORIGINAL sample1 value times cell width := mul(-2, 1/6)
After
Left sum ORIGINAL sample1 value times cell 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, S014
S016 · calculation
Before
Left sum ORIGINAL accumulated term1 := sum(-1/6, -1/3)
After
Left sum ORIGINAL accumulated term1 = -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, S015
S017 · implies
Before
source roles = [1, 6, -6, -7, -1, 0, 1/6]
After
derived = [-5/6, -2/1, -1/3, -1/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, 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 = -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, S018
S020 · calculation
Before
Left sum ORIGINAL sample2 slope times x := mul(-6, -2/3)
After
Left sum ORIGINAL sample2 slope times x = 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, S019
S021 · calculation
Before
Left sum ORIGINAL sample2 affine value plus c := sum(4, -7)
After
Left sum ORIGINAL sample2 affine value plus c = -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, S020
S022 · calculation
Before
Left sum ORIGINAL sample2 value times cell width := mul(-3, 1/6)
After
Left sum ORIGINAL sample2 value times cell 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, S021
S023 · calculation
Before
Left sum ORIGINAL accumulated term2 := sum(-1/2, -1/2)
After
Left sum ORIGINAL accumulated term2 = -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, S022
S024 · implies
Before
source roles = [2, 6, -6, -7, -1, 0, 1/6]
After
derived = [-2/3, -3/1, -1/2, -1/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, 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 = -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, S025
S027 · calculation
Before
Left sum ORIGINAL sample3 slope times x := mul(-6, -1/2)
After
Left sum ORIGINAL sample3 slope times x = 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, S026
S028 · calculation
Before
Left sum ORIGINAL sample3 affine value plus c := sum(3, -7)
After
Left sum ORIGINAL sample3 affine value plus c = -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, S027
S029 · calculation
Before
Left sum ORIGINAL sample3 value times cell width := mul(-4, 1/6)
After
Left sum ORIGINAL sample3 value times cell 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, S028
S030 · calculation
Before
Left sum ORIGINAL accumulated term3 := sum(-1, -2/3)
After
Left sum ORIGINAL accumulated term3 = -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, S029
S031 · implies
Before
source roles = [3, 6, -6, -7, -1, 0, 1/6]
After
derived = [-1/2, -4/1, -2/3, -5/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 = -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, S032
S034 · calculation
Before
Left sum ORIGINAL sample4 slope times x := mul(-6, -1/3)
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, -7)
After
Left sum ORIGINAL sample4 affine value plus c = -5
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(-5, 1/6)
After
Left sum ORIGINAL sample4 value times cell 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, S035
S037 · calculation
Before
Left sum ORIGINAL accumulated term4 := sum(-5/3, -5/6)
After
Left sum ORIGINAL accumulated term4 = -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, S036
S038 · implies
Before
source roles = [4, 6, -6, -7, -1, 0, 1/6]
After
derived = [-1/3, -5/1, -5/6, -5/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, 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 = -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, S039
S041 · calculation
Before
Left sum ORIGINAL sample5 slope times x := mul(-6, -1/6)
After
Left sum ORIGINAL sample5 slope times x = 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, S040
S042 · calculation
Before
Left sum ORIGINAL sample5 affine value plus c := sum(1, -7)
After
Left sum ORIGINAL sample5 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, S041
S043 · calculation
Before
Left sum ORIGINAL sample5 value times cell width := mul(-6, 1/6)
After
Left sum ORIGINAL sample5 value times cell 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, S042
S044 · calculation
Before
Left sum ORIGINAL accumulated term5 := sum(-5/2, -1)
After
Left sum ORIGINAL accumulated term5 = -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, S043
S045 · implies
Before
source roles = [5, 6, -6, -7, -1, 0, 1/6]
After
derived = [-1/6, -6/1, -1/1, -7/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, S044
S046 · implies
Before
source roles = [6, -6, -7, -1, 0]
After
derived = [1/6, -7/2]
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, S045