Step-by-step derivation
S001 · implies
Before
source roles = [qf-mod50-trap-affine-exactness, trap-affine-exactness]
After
derived = [[slope, intercept, nodes, endpoint_values, trapezoid_value, exact_integral, exact_on_this_partition, scope]]
Conditions: none
List this scalar/label/set/point answer role or mode-specific ordered fields,not an imposed universal tuple.Retain legacy domain/underscore operation and integer fractions with/1;original bilingual snapshots stay unchanged.
Step identifiers and dependencies
Rule: source_answer_roles_or_ordered_fields_without_JS · Uses: G001
S002 · calculation
Before
Trapezoid affine ORIGINAL value product0 := mul(2, 0)
After
Trapezoid affine ORIGINAL value product0 = 0
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
Trapezoid affine ORIGINAL value plus intercept0 := sum(0, 4)
After
Trapezoid affine ORIGINAL value plus intercept0 = 4
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Trapezoid affine ORIGINAL value product1 := mul(2, 1)
After
Trapezoid affine ORIGINAL value product1 = 2
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Trapezoid affine ORIGINAL value plus intercept1 := sum(2, 4)
After
Trapezoid affine ORIGINAL value plus intercept1 = 6
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Trapezoid affine ORIGINAL value product2 := mul(2, 6)
After
Trapezoid affine ORIGINAL value product2 = 12
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
Trapezoid affine ORIGINAL value plus intercept2 := sum(12, 4)
After
Trapezoid affine ORIGINAL value plus intercept2 = 16
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Trapezoid affine partition ORIGINAL width0 := sub(1, 0)
After
Trapezoid affine partition ORIGINAL width0 = 1
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Trapezoid affine partition ORIGINAL width1 := sub(6, 1)
After
Trapezoid affine partition ORIGINAL width1 = 5
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
Trapezoid affine partition ORIGINAL width over2 interval0 := div(1, 2)
After
Trapezoid affine partition ORIGINAL width over2 interval0 = 1/2
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
Trapezoid affine partition ORIGINAL endpoint sum interval0 := sum(4, 6)
After
Trapezoid affine partition ORIGINAL endpoint sum interval0 = 10
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
Trapezoid affine partition ORIGINAL individual trapezoid interval0 := mul(1/2, 10)
After
Trapezoid affine partition ORIGINAL individual trapezoid interval0 = 5
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · implies
Before
source roles = [Trapezoid affine partition, 0, 0, 1, 4, 6]
After
derived = [1, 1/2, 10, 5]
Conditions: none
Use the own width and aligned endpoints of this ORIGINAL interval times the endpoint average.Widths may differ and values may be negative;do not sort or replace all widths with the first.
Step identifiers and dependencies
Rule: Trapezoid_EACH_original_interval_own_width_and_aligned_endpoints · Uses: G001, S012
S014 · calculation
Before
Trapezoid affine partition ORIGINAL width over2 interval1 := div(5, 2)
After
Trapezoid affine partition ORIGINAL width over2 interval1 = 5/2
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Trapezoid affine partition ORIGINAL endpoint sum interval1 := sum(6, 16)
After
Trapezoid affine partition ORIGINAL endpoint sum interval1 = 22
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Trapezoid affine partition ORIGINAL individual trapezoid interval1 := mul(5/2, 22)
After
Trapezoid affine partition ORIGINAL individual trapezoid interval1 = 55
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · implies
Before
source roles = [Trapezoid affine partition, 1, 1, 6, 6, 16]
After
derived = [5, 5/2, 22, 55]
Conditions: none
Use the own width and aligned endpoints of this ORIGINAL interval times the endpoint average.Widths may differ and values may be negative;do not sort or replace all widths with the first.
Step identifiers and dependencies
Rule: Trapezoid_EACH_original_interval_own_width_and_aligned_endpoints · Uses: G001, S016
S018 · calculation
Before
Trapezoid affine partition ORIGINAL trapezoid running total0 := sum(0, 5)
After
Trapezoid affine partition ORIGINAL trapezoid running total0 = 5
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
Trapezoid affine partition ORIGINAL trapezoid running total1 := sum(5, 55)
After
Trapezoid affine partition ORIGINAL trapezoid running total1 = 60
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · implies
Before
source roles = [Trapezoid affine partition, [[0, 1], [1, 1], [6, 1]], [[4, 1], [6, 1], [16, 1]]]
After
derived = [[0, 1, 6], [4, 6, 16], [1, 5], [5, 55], 60]
Conditions: none
A complete partition is STRICTLY increasing in original order,with n+1 aligned nodes/values for n intervals;the24-node cap is not the vector8 cap.The table determines this sum,not a unique integral without a full integrand.
Step identifiers and dependencies
Rule: Trapezoid_COMPLETE_partition_n_intervals_nplus1_nodes_no_unique_integrand · Uses: G001, S019
S021 · calculation
Before
Trapezoid affine ORIGINAL slope over2 := div(2, 2)
After
Trapezoid affine ORIGINAL slope over2 = 1
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
Trapezoid affine ORIGINAL right square := mul(6, 6)
After
Trapezoid affine ORIGINAL right square = 36
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
Trapezoid affine ORIGINAL left square := mul(0, 0)
After
Trapezoid affine ORIGINAL left square = 0
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
Trapezoid affine ORIGINAL square difference := sub(36, 0)
After
Trapezoid affine ORIGINAL square difference = 36
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · calculation
Before
Trapezoid affine ORIGINAL quadratic integral part := mul(1, 36)
After
Trapezoid affine ORIGINAL quadratic integral part = 36
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S024
S026 · calculation
Before
Trapezoid affine ORIGINAL whole width := sub(6, 0)
After
Trapezoid affine ORIGINAL whole width = 6
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · calculation
Before
Trapezoid affine ORIGINAL intercept integral part := mul(4, 6)
After
Trapezoid affine ORIGINAL intercept integral part = 24
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S026
S028 · calculation
Before
Trapezoid affine ORIGINAL exact integral := sum(36, 24)
After
Trapezoid affine ORIGINAL exact integral = 60
Conditions: none
Substitute original roles exactly,without floating approximation or changed operands;extra teaching identities add no source-domain restrictions.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · implies
Before
source roles = [2, 4, [0, 1, 6], [4, 6, 16]]
After
derived = [60, 60, Yes]
Conditions: none
The WHOLE affine law makes each trapezoid equal to the antiderivative difference over the same interval.Internal endpoints telescope,hence exactness on any qualified partition;not for arbitrary functions.
Step identifiers and dependencies
Rule: Trapezoid_WHOLE_affine_exactness_each_interval_antiderivative_telescopes · Uses: G001, S028