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(1, 1)
After
Left sum ORIGINAL upper minus lower endpoint = 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, S001
S003 · calculation
Before
Left sum ORIGINAL width over positive cell count := div(0, 4)
After
Left sum ORIGINAL width over positive cell count = 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, S002
S004 · calculation
Before
Left sum ORIGINAL sample0 index times width := mul(0, 0)
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(3, 1)
After
Left sum ORIGINAL sample0 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, S005
S007 · calculation
Before
Left sum ORIGINAL sample0 affine value plus c := sum(3, -2)
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, 0)
After
Left sum ORIGINAL sample0 value times cell 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, S007
S009 · calculation
Before
Left sum ORIGINAL accumulated term0 := sum(0, 0)
After
Left sum ORIGINAL accumulated term0 = 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, S008
S010 · implies
Before
source roles = [0, 4, 3, -2, 1, 1, 0/1]
After
derived = [1/1, 1/1, 0/1, 0/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, S009
S011 · calculation
Before
Left sum ORIGINAL sample1 index times width := mul(1, 0)
After
Left sum ORIGINAL sample1 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, S010
S012 · calculation
Before
Left sum ORIGINAL sample1 lower plus offset := sum(1, 0)
After
Left sum ORIGINAL sample1 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, S011
S013 · calculation
Before
Left sum ORIGINAL sample1 slope times x := mul(3, 1)
After
Left sum ORIGINAL sample1 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, S012
S014 · calculation
Before
Left sum ORIGINAL sample1 affine value plus c := sum(3, -2)
After
Left sum ORIGINAL sample1 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, S013
S015 · calculation
Before
Left sum ORIGINAL sample1 value times cell width := mul(1, 0)
After
Left sum ORIGINAL sample1 value times cell 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, S014
S016 · calculation
Before
Left sum ORIGINAL accumulated term1 := sum(0, 0)
After
Left sum ORIGINAL accumulated term1 = 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, S015
S017 · implies
Before
source roles = [1, 4, 3, -2, 1, 1, 0/1]
After
derived = [1/1, 1/1, 0/1, 0/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, S016
S018 · calculation
Before
Left sum ORIGINAL sample2 index times width := mul(2, 0)
After
Left sum ORIGINAL sample2 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, S017
S019 · calculation
Before
Left sum ORIGINAL sample2 lower plus offset := sum(1, 0)
After
Left sum ORIGINAL sample2 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, S018
S020 · calculation
Before
Left sum ORIGINAL sample2 slope times x := mul(3, 1)
After
Left sum ORIGINAL sample2 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, S019
S021 · calculation
Before
Left sum ORIGINAL sample2 affine value plus c := sum(3, -2)
After
Left sum ORIGINAL sample2 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, S020
S022 · calculation
Before
Left sum ORIGINAL sample2 value times cell width := mul(1, 0)
After
Left sum ORIGINAL sample2 value times cell 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, S021
S023 · calculation
Before
Left sum ORIGINAL accumulated term2 := sum(0, 0)
After
Left sum ORIGINAL accumulated term2 = 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, S022
S024 · implies
Before
source roles = [2, 4, 3, -2, 1, 1, 0/1]
After
derived = [1/1, 1/1, 0/1, 0/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, 0)
After
Left sum ORIGINAL sample3 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, S024
S026 · calculation
Before
Left sum ORIGINAL sample3 lower plus offset := sum(1, 0)
After
Left sum ORIGINAL sample3 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, S025
S027 · calculation
Before
Left sum ORIGINAL sample3 slope times x := mul(3, 1)
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, -2)
After
Left sum ORIGINAL sample3 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, S027
S029 · calculation
Before
Left sum ORIGINAL sample3 value times cell width := mul(1, 0)
After
Left sum ORIGINAL sample3 value times cell 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, S028
S030 · calculation
Before
Left sum ORIGINAL accumulated term3 := sum(0, 0)
After
Left sum ORIGINAL accumulated term3 = 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, S029
S031 · implies
Before
source roles = [3, 4, 3, -2, 1, 1, 0/1]
After
derived = [1/1, 1/1, 0/1, 0/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, S030
S032 · implies
Before
source roles = [4, 3, -2, 1, 1]
After
derived = [0/1, 0/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, S031