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, 23)
After
Trapezoid affine ORIGINAL value plus intercept0 = 23
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, 23)
After
Trapezoid affine ORIGINAL value plus intercept1 = 21
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, 25)
After
Trapezoid affine ORIGINAL value product2 = -50
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(-50, 23)
After
Trapezoid affine ORIGINAL value plus intercept2 = -27
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(25, 1)
After
Trapezoid affine partition ORIGINAL width1 = 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, 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(23, 21)
After
Trapezoid affine partition ORIGINAL endpoint sum interval0 = 44
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, 44)
After
Trapezoid affine partition ORIGINAL individual trapezoid interval0 = 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, S011
S013 · implies
Before
source roles = [Trapezoid affine partition, 0, 0, 1, 23, 21]
After
derived = [1, 1/2, 44, 22]
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(24, 2)
After
Trapezoid affine partition ORIGINAL width over2 interval1 = 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, S013
S015 · calculation
Before
Trapezoid affine partition ORIGINAL endpoint sum interval1 := sum(21, -27)
After
Trapezoid affine partition ORIGINAL endpoint sum interval1 = -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, S014
S016 · calculation
Before
Trapezoid affine partition ORIGINAL individual trapezoid interval1 := mul(12, -6)
After
Trapezoid affine partition ORIGINAL individual trapezoid interval1 = -72
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, 25, 21, -27]
After
derived = [24, 12, -6, -72]
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, 22)
After
Trapezoid affine partition ORIGINAL trapezoid running total0 = 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, S017
S019 · calculation
Before
Trapezoid affine partition ORIGINAL trapezoid running total1 := sum(22, -72)
After
Trapezoid affine partition ORIGINAL trapezoid running total1 = -50
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], [25, 1]], [[23, 1], [21, 1], [-27, 1]]]
After
derived = [[0, 1, 25], [23, 21, -27], [1, 24], [22, -72], -50]
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(25, 25)
After
Trapezoid affine ORIGINAL right square = 625
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(625, 0)
After
Trapezoid affine ORIGINAL square difference = 625
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, 625)
After
Trapezoid affine ORIGINAL quadratic integral part = -625
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(25, 0)
After
Trapezoid affine ORIGINAL whole width = 25
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(23, 25)
After
Trapezoid affine ORIGINAL intercept integral part = 575
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(-625, 575)
After
Trapezoid affine ORIGINAL exact integral = -50
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, 23, [0, 1, 25], [23, 21, -27]]
After
derived = [-50, -50, 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