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(3, 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, 14)
After
Trapezoid affine ORIGINAL value plus intercept0 = 14
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(3, 1)
After
Trapezoid affine ORIGINAL value product1 = 3
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(3, 14)
After
Trapezoid affine ORIGINAL value plus intercept1 = 17
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(3, 16)
After
Trapezoid affine ORIGINAL value product2 = 48
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(48, 14)
After
Trapezoid affine ORIGINAL value plus intercept2 = 62
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(16, 1)
After
Trapezoid affine partition ORIGINAL width1 = 15
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(14, 17)
After
Trapezoid affine partition ORIGINAL endpoint sum interval0 = 31
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, 31)
After
Trapezoid affine partition ORIGINAL individual trapezoid interval0 = 31/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, S011
S013 · implies
Before
source roles = [Trapezoid affine partition, 0, 0, 1, 14, 17]
After
derived = [1, 1/2, 31, 31/2]
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(15, 2)
After
Trapezoid affine partition ORIGINAL width over2 interval1 = 15/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(17, 62)
After
Trapezoid affine partition ORIGINAL endpoint sum interval1 = 79
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(15/2, 79)
After
Trapezoid affine partition ORIGINAL individual trapezoid interval1 = 1185/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, S015
S017 · implies
Before
source roles = [Trapezoid affine partition, 1, 1, 16, 17, 62]
After
derived = [15, 15/2, 79, 1185/2]
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, 31/2)
After
Trapezoid affine partition ORIGINAL trapezoid running total0 = 31/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, S017
S019 · calculation
Before
Trapezoid affine partition ORIGINAL trapezoid running total1 := sum(31/2, 1185/2)
After
Trapezoid affine partition ORIGINAL trapezoid running total1 = 608
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], [16, 1]], [[14, 1], [17, 1], [62, 1]]]
After
derived = [[0, 1, 16], [14, 17, 62], [1, 15], [31/2, 1185/2], 608]
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(3, 2)
After
Trapezoid affine ORIGINAL slope over2 = 3/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, S020
S022 · calculation
Before
Trapezoid affine ORIGINAL right square := mul(16, 16)
After
Trapezoid affine ORIGINAL right square = 256
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(256, 0)
After
Trapezoid affine ORIGINAL square difference = 256
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(3/2, 256)
After
Trapezoid affine ORIGINAL quadratic integral part = 384
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(16, 0)
After
Trapezoid affine ORIGINAL whole width = 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, S025
S027 · calculation
Before
Trapezoid affine ORIGINAL intercept integral part := mul(14, 16)
After
Trapezoid affine ORIGINAL intercept integral part = 224
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(384, 224)
After
Trapezoid affine ORIGINAL exact integral = 608
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 = [3, 14, [0, 1, 16], [14, 17, 62]]
After
derived = [608, 608, 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