Step-by-step derivation
S001 · implies
Before
explicit real polynomial moment or constant integrand model
After
oriented I(a,b)=H(b)−H(a);do not sort endpoints
Conditions: none
Real polynomials are continuous and integrable;use termwise primitive endpoint differences for exact oriented integrals,not absolute area or a finite sum.
Step identifiers and dependencies
Rule: polynomial_moment_scope · Uses: G001
S002 · calculation
Before
interval width := sub(3, -1)
After
interval width = 4
Conditions: none
Compute the nonnegative interval width,allowing zero width.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
partition step := div(4, 22)
After
partition step = 2/11
Conditions: none
Divide by positive integer N to get the exact step.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
left sample0 offset := mul(0, 2/11)
After
left sample0 offset = 0
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
left sample0 x := sum(-1, 0)
After
left sample0 x = -1
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
left sample0 mx := mul(-22, -1)
After
left sample0 mx = 22
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
left sample0 value := sum(22, 9)
After
left sample0 value = 31
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
left sample0 rectangle := mul(31, 2/11)
After
left sample0 rectangle = 62/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · implies
Before
[-1, 31, 62/11]
After
finite left-sum term index=0
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S008
S010 · calculation
Before
left sample1 offset := mul(1, 2/11)
After
left sample1 offset = 2/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
left sample1 x := sum(-1, 2/11)
After
left sample1 x = -9/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
left sample1 mx := mul(-22, -9/11)
After
left sample1 mx = 18
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
left sample1 value := sum(18, 9)
After
left sample1 value = 27
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
left sample1 rectangle := mul(27, 2/11)
After
left sample1 rectangle = 54/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · implies
Before
[-9/11, 27, 54/11]
After
finite left-sum term index=1
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S014
S016 · calculation
Before
left sample2 offset := mul(2, 2/11)
After
left sample2 offset = 4/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
left sample2 x := sum(-1, 4/11)
After
left sample2 x = -7/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
left sample2 mx := mul(-22, -7/11)
After
left sample2 mx = 14
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
left sample2 value := sum(14, 9)
After
left sample2 value = 23
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
left sample2 rectangle := mul(23, 2/11)
After
left sample2 rectangle = 46/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · implies
Before
[-7/11, 23, 46/11]
After
finite left-sum term index=2
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S020
S022 · calculation
Before
left sample3 offset := mul(3, 2/11)
After
left sample3 offset = 6/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
left sample3 x := sum(-1, 6/11)
After
left sample3 x = -5/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
left sample3 mx := mul(-22, -5/11)
After
left sample3 mx = 10
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · calculation
Before
left sample3 value := sum(10, 9)
After
left sample3 value = 19
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · calculation
Before
left sample3 rectangle := mul(19, 2/11)
After
left sample3 rectangle = 38/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · implies
Before
[-5/11, 19, 38/11]
After
finite left-sum term index=3
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S026
S028 · calculation
Before
left sample4 offset := mul(4, 2/11)
After
left sample4 offset = 8/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · calculation
Before
left sample4 x := sum(-1, 8/11)
After
left sample4 x = -3/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S028
S030 · calculation
Before
left sample4 mx := mul(-22, -3/11)
After
left sample4 mx = 6
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S029
S031 · calculation
Before
left sample4 value := sum(6, 9)
After
left sample4 value = 15
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S030
S032 · calculation
Before
left sample4 rectangle := mul(15, 2/11)
After
left sample4 rectangle = 30/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · implies
Before
[-3/11, 15, 30/11]
After
finite left-sum term index=4
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S032
S034 · calculation
Before
left sample5 offset := mul(5, 2/11)
After
left sample5 offset = 10/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S033
S035 · calculation
Before
left sample5 x := sum(-1, 10/11)
After
left sample5 x = -1/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S034
S036 · calculation
Before
left sample5 mx := mul(-22, -1/11)
After
left sample5 mx = 2
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S035
S037 · calculation
Before
left sample5 value := sum(2, 9)
After
left sample5 value = 11
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S036
S038 · calculation
Before
left sample5 rectangle := mul(11, 2/11)
After
left sample5 rectangle = 2
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S037
S039 · implies
Before
[-1/11, 11, 2]
After
finite left-sum term index=5
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S038
S040 · calculation
Before
left sample6 offset := mul(6, 2/11)
After
left sample6 offset = 12/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S039
S041 · calculation
Before
left sample6 x := sum(-1, 12/11)
After
left sample6 x = 1/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S040
S042 · calculation
Before
left sample6 mx := mul(-22, 1/11)
After
left sample6 mx = -2
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S041
S043 · calculation
Before
left sample6 value := sum(-2, 9)
After
left sample6 value = 7
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S042
S044 · calculation
Before
left sample6 rectangle := mul(7, 2/11)
After
left sample6 rectangle = 14/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S043
S045 · implies
Before
[1/11, 7, 14/11]
After
finite left-sum term index=6
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S044
S046 · calculation
Before
left sample7 offset := mul(7, 2/11)
After
left sample7 offset = 14/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S045
S047 · calculation
Before
left sample7 x := sum(-1, 14/11)
After
left sample7 x = 3/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S046
S048 · calculation
Before
left sample7 mx := mul(-22, 3/11)
After
left sample7 mx = -6
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S047
S049 · calculation
Before
left sample7 value := sum(-6, 9)
After
left sample7 value = 3
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S048
S050 · calculation
Before
left sample7 rectangle := mul(3, 2/11)
After
left sample7 rectangle = 6/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S049
S051 · implies
Before
[3/11, 3, 6/11]
After
finite left-sum term index=7
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S050
S052 · calculation
Before
left sample8 offset := mul(8, 2/11)
After
left sample8 offset = 16/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S051
S053 · calculation
Before
left sample8 x := sum(-1, 16/11)
After
left sample8 x = 5/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S052
S054 · calculation
Before
left sample8 mx := mul(-22, 5/11)
After
left sample8 mx = -10
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S053
S055 · calculation
Before
left sample8 value := sum(-10, 9)
After
left sample8 value = -1
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S054
S056 · calculation
Before
left sample8 rectangle := mul(-1, 2/11)
After
left sample8 rectangle = -2/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S055
S057 · implies
Before
[5/11, -1, -2/11]
After
finite left-sum term index=8
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S056
S058 · calculation
Before
left sample9 offset := mul(9, 2/11)
After
left sample9 offset = 18/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S057
S059 · calculation
Before
left sample9 x := sum(-1, 18/11)
After
left sample9 x = 7/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S058
S060 · calculation
Before
left sample9 mx := mul(-22, 7/11)
After
left sample9 mx = -14
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S059
S061 · calculation
Before
left sample9 value := sum(-14, 9)
After
left sample9 value = -5
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S060
S062 · calculation
Before
left sample9 rectangle := mul(-5, 2/11)
After
left sample9 rectangle = -10/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S061
S063 · implies
Before
[7/11, -5, -10/11]
After
finite left-sum term index=9
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S062
S064 · calculation
Before
left sample10 offset := mul(10, 2/11)
After
left sample10 offset = 20/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S063
S065 · calculation
Before
left sample10 x := sum(-1, 20/11)
After
left sample10 x = 9/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S064
S066 · calculation
Before
left sample10 mx := mul(-22, 9/11)
After
left sample10 mx = -18
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S065
S067 · calculation
Before
left sample10 value := sum(-18, 9)
After
left sample10 value = -9
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S066
S068 · calculation
Before
left sample10 rectangle := mul(-9, 2/11)
After
left sample10 rectangle = -18/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S067
S069 · implies
Before
[9/11, -9, -18/11]
After
finite left-sum term index=10
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S068
S070 · calculation
Before
left sample11 offset := mul(11, 2/11)
After
left sample11 offset = 2
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S069
S071 · calculation
Before
left sample11 x := sum(-1, 2)
After
left sample11 x = 1
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S070
S072 · calculation
Before
left sample11 mx := mul(-22, 1)
After
left sample11 mx = -22
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S071
S073 · calculation
Before
left sample11 value := sum(-22, 9)
After
left sample11 value = -13
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S072
S074 · calculation
Before
left sample11 rectangle := mul(-13, 2/11)
After
left sample11 rectangle = -26/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S073
S075 · implies
Before
[1, -13, -26/11]
After
finite left-sum term index=11
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S074
S076 · calculation
Before
left sample12 offset := mul(12, 2/11)
After
left sample12 offset = 24/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S075
S077 · calculation
Before
left sample12 x := sum(-1, 24/11)
After
left sample12 x = 13/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S076
S078 · calculation
Before
left sample12 mx := mul(-22, 13/11)
After
left sample12 mx = -26
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S077
S079 · calculation
Before
left sample12 value := sum(-26, 9)
After
left sample12 value = -17
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S078
S080 · calculation
Before
left sample12 rectangle := mul(-17, 2/11)
After
left sample12 rectangle = -34/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S079
S081 · implies
Before
[13/11, -17, -34/11]
After
finite left-sum term index=12
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S080
S082 · calculation
Before
left sample13 offset := mul(13, 2/11)
After
left sample13 offset = 26/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S081
S083 · calculation
Before
left sample13 x := sum(-1, 26/11)
After
left sample13 x = 15/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S082
S084 · calculation
Before
left sample13 mx := mul(-22, 15/11)
After
left sample13 mx = -30
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S083
S085 · calculation
Before
left sample13 value := sum(-30, 9)
After
left sample13 value = -21
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S084
S086 · calculation
Before
left sample13 rectangle := mul(-21, 2/11)
After
left sample13 rectangle = -42/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S085
S087 · implies
Before
[15/11, -21, -42/11]
After
finite left-sum term index=13
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S086
S088 · calculation
Before
left sample14 offset := mul(14, 2/11)
After
left sample14 offset = 28/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S087
S089 · calculation
Before
left sample14 x := sum(-1, 28/11)
After
left sample14 x = 17/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S088
S090 · calculation
Before
left sample14 mx := mul(-22, 17/11)
After
left sample14 mx = -34
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S089
S091 · calculation
Before
left sample14 value := sum(-34, 9)
After
left sample14 value = -25
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S090
S092 · calculation
Before
left sample14 rectangle := mul(-25, 2/11)
After
left sample14 rectangle = -50/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S091
S093 · implies
Before
[17/11, -25, -50/11]
After
finite left-sum term index=14
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S092
S094 · calculation
Before
left sample15 offset := mul(15, 2/11)
After
left sample15 offset = 30/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S093
S095 · calculation
Before
left sample15 x := sum(-1, 30/11)
After
left sample15 x = 19/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S094
S096 · calculation
Before
left sample15 mx := mul(-22, 19/11)
After
left sample15 mx = -38
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S095
S097 · calculation
Before
left sample15 value := sum(-38, 9)
After
left sample15 value = -29
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S096
S098 · calculation
Before
left sample15 rectangle := mul(-29, 2/11)
After
left sample15 rectangle = -58/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S097
S099 · implies
Before
[19/11, -29, -58/11]
After
finite left-sum term index=15
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S098
S100 · calculation
Before
left sample16 offset := mul(16, 2/11)
After
left sample16 offset = 32/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S099
S101 · calculation
Before
left sample16 x := sum(-1, 32/11)
After
left sample16 x = 21/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S100
S102 · calculation
Before
left sample16 mx := mul(-22, 21/11)
After
left sample16 mx = -42
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S101
S103 · calculation
Before
left sample16 value := sum(-42, 9)
After
left sample16 value = -33
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S102
S104 · calculation
Before
left sample16 rectangle := mul(-33, 2/11)
After
left sample16 rectangle = -6
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S103
S105 · implies
Before
[21/11, -33, -6]
After
finite left-sum term index=16
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S104
S106 · calculation
Before
left sample17 offset := mul(17, 2/11)
After
left sample17 offset = 34/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S105
S107 · calculation
Before
left sample17 x := sum(-1, 34/11)
After
left sample17 x = 23/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S106
S108 · calculation
Before
left sample17 mx := mul(-22, 23/11)
After
left sample17 mx = -46
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S107
S109 · calculation
Before
left sample17 value := sum(-46, 9)
After
left sample17 value = -37
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S108
S110 · calculation
Before
left sample17 rectangle := mul(-37, 2/11)
After
left sample17 rectangle = -74/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S109
S111 · implies
Before
[23/11, -37, -74/11]
After
finite left-sum term index=17
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S110
S112 · calculation
Before
left sample18 offset := mul(18, 2/11)
After
left sample18 offset = 36/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S111
S113 · calculation
Before
left sample18 x := sum(-1, 36/11)
After
left sample18 x = 25/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S112
S114 · calculation
Before
left sample18 mx := mul(-22, 25/11)
After
left sample18 mx = -50
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S113
S115 · calculation
Before
left sample18 value := sum(-50, 9)
After
left sample18 value = -41
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S114
S116 · calculation
Before
left sample18 rectangle := mul(-41, 2/11)
After
left sample18 rectangle = -82/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S115
S117 · implies
Before
[25/11, -41, -82/11]
After
finite left-sum term index=18
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S116
S118 · calculation
Before
left sample19 offset := mul(19, 2/11)
After
left sample19 offset = 38/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S117
S119 · calculation
Before
left sample19 x := sum(-1, 38/11)
After
left sample19 x = 27/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S118
S120 · calculation
Before
left sample19 mx := mul(-22, 27/11)
After
left sample19 mx = -54
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S119
S121 · calculation
Before
left sample19 value := sum(-54, 9)
After
left sample19 value = -45
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S120
S122 · calculation
Before
left sample19 rectangle := mul(-45, 2/11)
After
left sample19 rectangle = -90/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S121
S123 · implies
Before
[27/11, -45, -90/11]
After
finite left-sum term index=19
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S122
S124 · calculation
Before
left sample20 offset := mul(20, 2/11)
After
left sample20 offset = 40/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S123
S125 · calculation
Before
left sample20 x := sum(-1, 40/11)
After
left sample20 x = 29/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S124
S126 · calculation
Before
left sample20 mx := mul(-22, 29/11)
After
left sample20 mx = -58
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S125
S127 · calculation
Before
left sample20 value := sum(-58, 9)
After
left sample20 value = -49
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S126
S128 · calculation
Before
left sample20 rectangle := mul(-49, 2/11)
After
left sample20 rectangle = -98/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S127
S129 · implies
Before
[29/11, -49, -98/11]
After
finite left-sum term index=20
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S128
S130 · calculation
Before
left sample21 offset := mul(21, 2/11)
After
left sample21 offset = 42/11
Conditions: none
Left samples use i=0,...,N−1,not the final right endpoint.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S129
S131 · calculation
Before
left sample21 x := sum(-1, 42/11)
After
left sample21 x = 31/11
Conditions: none
Add the indexed offset to the start.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S130
S132 · calculation
Before
left sample21 mx := mul(-22, 31/11)
After
left sample21 mx = -62
Conditions: none
Evaluate the product term of the affine integrand.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S131
S133 · calculation
Before
left sample21 value := sum(-62, 9)
After
left sample21 value = -53
Conditions: none
Add c to obtain this sample value.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S132
S134 · calculation
Before
left sample21 rectangle := mul(-53, 2/11)
After
left sample21 rectangle = -106/11
Conditions: none
Multiply by the step to get the signed rectangle contribution,without absolute values.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S133
S135 · implies
Before
[31/11, -53, -106/11]
After
finite left-sum term index=21
Conditions: none
List exactly one left term per subinterval;these are finite-sum data,not a claimed limit proof.
Step identifiers and dependencies
Rule: left_partition_term · Uses: G001, S134
S136 · calculation
Before
finite left sum := sum(62/11, 54/11, 46/11, 38/11, 30/11, 2, 14/11, 6/11, -2/11, -10/11, -18/11, -26/11, -34/11, -42/11, -50/11, -58/11, -6, -74/11, -82/11, -90/11, -98/11, -106/11)
After
finite left sum = -44
Conditions: none
Add all N contributions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S135
S137 · calculation
Before
affine integral primitive coefficient1 := div(9, 1)
After
affine integral primitive coefficient1 = 9
Conditions: none
The primitive coefficient for c·x^k is c/(k+1),with positive nonzero k+1.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S136
S138 · calculation
Before
affine integral primitive coefficient2 := div(-22, 2)
After
affine integral primitive coefficient2 = -11
Conditions: none
The primitive coefficient for c·x^k is c/(k+1),with positive nonzero k+1.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S137
S139 · implies
Before
[0, 9, -11]
After
H′=the supplied polynomial;integrate from -1 to 3
Conditions: none
Termwise differentiation recovers the original coefficients;the integration constant cancels in the endpoint difference.
Step identifiers and dependencies
Rule: polynomial_primitive_identity · Uses: G001, S138
S140 · implies
Before
affine integral H(b) ascending coefficients=[0, 9, -11]
After
evaluate at x=3
Conditions: none
Evaluate ascending coefficients by Horner from the highest nonzero term down;ignoring redundant top zero terms changes neither the function nor the retained original list.
Step identifiers and dependencies
Rule: polynomial_evaluation_order · Uses: G001, S139
S141 · calculation
Before
affine integral H(b) Horner multiply before degree1 := mul(-11, 3)
After
affine integral H(b) Horner multiply before degree1 = -33
Conditions: none
Multiply by the same evaluation point first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S140
S142 · calculation
Before
affine integral H(b) Horner add degree1 := sum(-33, 9)
After
affine integral H(b) Horner add degree1 = -24
Conditions: none
Then add the full coefficient at this position.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S141
S143 · calculation
Before
affine integral H(b) Horner multiply before degree0 := mul(-24, 3)
After
affine integral H(b) Horner multiply before degree0 = -72
Conditions: none
Multiply by the same evaluation point first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S142
S144 · calculation
Before
affine integral H(b) Horner add degree0 := sum(-72, 0)
After
affine integral H(b) Horner add degree0 = -72
Conditions: none
Then add the full coefficient at this position.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S143
S145 · implies
Before
affine integral H(a) ascending coefficients=[0, 9, -11]
After
evaluate at x=-1
Conditions: none
Evaluate ascending coefficients by Horner from the highest nonzero term down;ignoring redundant top zero terms changes neither the function nor the retained original list.
Step identifiers and dependencies
Rule: polynomial_evaluation_order · Uses: G001, S144
S146 · calculation
Before
affine integral H(a) Horner multiply before degree1 := mul(-11, -1)
After
affine integral H(a) Horner multiply before degree1 = 11
Conditions: none
Multiply by the same evaluation point first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S145
S147 · calculation
Before
affine integral H(a) Horner add degree1 := sum(11, 9)
After
affine integral H(a) Horner add degree1 = 20
Conditions: none
Then add the full coefficient at this position.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S146
S148 · calculation
Before
affine integral H(a) Horner multiply before degree0 := mul(20, -1)
After
affine integral H(a) Horner multiply before degree0 = -20
Conditions: none
Multiply by the same evaluation point first.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S147
S149 · calculation
Before
affine integral H(a) Horner add degree0 := sum(-20, 0)
After
affine integral H(a) Horner add degree0 = -20
Conditions: none
Then add the full coefficient at this position.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S148
S150 · calculation
Before
affine integral oriented moment := sub(-72, -20)
After
affine integral oriented moment = -52
Conditions: none
Subtract the starting primitive value from the ending value;reversing endpoints naturally reverses the sign.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S149
S151 · calculation
Before
integral minus left sum := sub(-52, -44)
After
integral minus left sum = -8
Conditions: none
The requested direction is I−S_N;a negative slope may give a negative difference,not absolute error.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S150
S152 · implies
Before
I=-52;S_N=-44;N=22
After
signed finite-sum difference=-8
Conditions: none
This is the exact difference for finite N,not evidence of a general convergence rate or integrability of arbitrary functions.
Step identifiers and dependencies
Rule: finite_sum_vs_integral · Uses: G001, S151