Step-by-step derivation
S001 · implies
Before
source roles = [qf-density-primitive-anchor-constant, density_primitive_anchor_constant]
After
derived = [[required_additive_constant_fraction_retaining1]]
Conditions: none
Follow THIS bank exact keys,domain/frame,operation and answer role.STR22/App20 tuples differ from legacy scalars;retain or omit/1 by the ORIGINAL contract,not a generic visual convention.
Step identifiers and dependencies
Rule: R58_EXACT_source_interface_and_answer_ROLE · Uses: G001
S002 · implies
Before
source roles = [integrand f, [5, 18, 1, 2], No]
After
derived = [[5/1, 18/1, 1/1, 2/1]]
Conditions: none
Raw integer f has length1..4 and rational candidate F length1..5.Every raw number is SAFE;rational denominators are STRICTLY positive,not repaired from negatives.Trim only trailing zeros,keeping a singleton zero polynomial.Derived algebra has no1e6 or raw-degree cap.
Step identifiers and dependencies
Rule: Primitive_RAW_arity_SAFE_inputs_POSITIVE_rational_den_trim_KEEPzero · Uses: G001, S001
S003 · calculation
Before
Primitive ORIGINAL coefficient degree1 := div(5, 1)
After
Primitive ORIGINAL coefficient degree1 = 5
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
Primitive ORIGINAL coefficient degree2 := div(18, 2)
After
Primitive ORIGINAL coefficient degree2 = 9
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
Primitive ORIGINAL coefficient degree3 := div(1, 3)
After
Primitive ORIGINAL coefficient degree3 = 1/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
Primitive ORIGINAL coefficient degree4 := div(2, 4)
After
Primitive ORIGINAL coefficient degree4 = 1/2
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
Primitive reverse ORIGINAL derivative coefficient0 := mul(5, 1)
After
Primitive reverse ORIGINAL derivative coefficient0 = 5
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
Primitive reverse ORIGINAL derivative coefficient1 := mul(9, 2)
After
Primitive reverse ORIGINAL derivative coefficient1 = 18
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
Primitive reverse ORIGINAL derivative coefficient2 := mul(1/3, 3)
After
Primitive reverse ORIGINAL derivative coefficient2 = 1
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
Primitive reverse ORIGINAL derivative coefficient3 := mul(1/2, 4)
After
Primitive reverse ORIGINAL derivative coefficient3 = 2
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · implies
Before
source roles = [[5/1, 18/1, 1/1, 2/1]]
After
derived = [[0/1, 5/1, 9/1, 1/3, 1/2], [5/1, 18/1, 1/1, 2/1], Yes]
Conditions: none
Since d(x^(j+1)/(j+1))/dx=x^j,integrate EACH monomial into the zero-constant representative F0,and differentiate ALL coefficients back to the original f as an identity.Keep[0/1] for zero;do not rely on sampled agreement.
Step identifiers and dependencies
Rule: Primitive_ZEROconstant_ALL_monomial_coefficients_AND_reverse_identity · Uses: G001, S010
S012 · calculation
Before
Primitive anchor ORIGINAL Horner product degree4 := mul(0, -2)
After
Primitive anchor ORIGINAL Horner product degree4 = 0
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
Primitive anchor ORIGINAL Horner sum degree4 := sum(0, 1/2)
After
Primitive anchor ORIGINAL Horner sum degree4 = 1/2
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
Primitive anchor ORIGINAL Horner product degree3 := mul(1/2, -2)
After
Primitive anchor ORIGINAL Horner product degree3 = -1
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
Primitive anchor ORIGINAL Horner sum degree3 := sum(-1, 1/3)
After
Primitive anchor ORIGINAL Horner sum degree3 = -2/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
Primitive anchor ORIGINAL Horner product degree2 := mul(-2/3, -2)
After
Primitive anchor ORIGINAL Horner product degree2 = 4/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
Primitive anchor ORIGINAL Horner sum degree2 := sum(4/3, 9)
After
Primitive anchor ORIGINAL Horner sum degree2 = 31/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
Primitive anchor ORIGINAL Horner product degree1 := mul(31/3, -2)
After
Primitive anchor ORIGINAL Horner product degree1 = -62/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
Primitive anchor ORIGINAL Horner sum degree1 := sum(-62/3, 5)
After
Primitive anchor ORIGINAL Horner sum degree1 = -47/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
Primitive anchor ORIGINAL Horner product degree0 := mul(-47/3, -2)
After
Primitive anchor ORIGINAL Horner product degree0 = 94/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
Primitive anchor ORIGINAL Horner sum degree0 := sum(94/3, 0)
After
Primitive anchor ORIGINAL Horner sum degree0 = 94/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
Primitive anchor ORIGINAL target minus F0 at anchor := sub(5/3, 94/3)
After
Primitive anchor ORIGINAL target minus F0 at anchor = -89/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
Primitive anchor reverse SAME F0 value plus C := sum(94/3, -89/3)
After
Primitive anchor reverse SAME F0 value plus C = 5/3
Conditions: none
Substitute exact ORIGINAL operands.Additional teaching algebra does not inherit raw-input caps;only declared SOURCE rational operations apply their own profile.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · implies
Before
source roles = [[5/1, 18/1, 1/1, 2/1], -2, 5/3, [0/1, 5/1, 9/1, 1/3, 1/2]]
After
derived = [94/3, -89/3, 5/3, Yes]
Conditions: none
In the DECLARED family F=F0+C,substitute the ORIGINAL anchor a:F(a)=F0(a)+C=V,so C=V-F0(a).Reverse substitution at the SAME anchor gives V while(F0+C)_prime=f.C changes values although not derivatives;do not drop it or change the anchor.This asks for the constant in this representative family.
Step identifiers and dependencies
Rule: Primitive_anchor_ORIGINAL_target_C_changes_values_NOT_derivative · Uses: G001, S023