Canonical coefficients · witnessed modular histories · re-encoding

Prime-field coefficient tables and Horner evaluation

Normalize finite coefficient data, construct coefficientwise arithmetic, and execute an actual modular Horner trace using the already proved canonical field operations.

49 kernel- and Lean-verified Alpha-closed theorems · 21 conservative definitions · 36 notation dependencies

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable

Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.

70 items
PP0002 prime_field_polynomial_normalization_exists

Every natural coefficient table has an actual canonical reduction at every nonzero modulus, including empty tables.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP000A prime_field_polynomial_repeat_exists

Construct a finite coefficient table containing exactly the chosen canonical coefficient at every position.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP000B prime_field_polynomial_zero_exists

Every prime admits an actual all-zero coefficient table of every finite representation length.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP000D prime_field_polynomial_add_exists

Construct the actual finite canonical coefficient sum, without supplying a table or an addition-law premise.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP000E prime_field_polynomial_add_entry

Every decoded coefficient triple obeys the actual field-addition graph, independently of witness choices.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP000F prime_field_polynomial_add_bounded

All three prefixes in an actual polynomial addition consist of canonical coefficients.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0010 prime_field_polynomial_add_functional

The sum is unique as a coefficient prefix; arbitrary beta recodings remain admissible.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0011 prime_field_polynomial_add_transport

Independent beta recoding of both inputs and the output preserves actual coefficient addition.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0013 prime_field_polynomial_add_zero_right

An actual all-zero table is an additive identity at every finite representation length.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0015 prime_field_polynomial_scale_exists

Every canonical scalar has an actual finite coefficient-product table, including scalar zero and empty inputs.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0016 prime_field_polynomial_scale_entry

Every decoded input/output pair of the scalar table satisfies actual canonical multiplication.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0017 prime_field_polynomial_scale_bounded

Both the input and the constructed output of scalar multiplication have bounded coefficients.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0018 prime_field_polynomial_scale_functional

The scalar product has a unique decoded coefficient prefix, not a unique raw beta code.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0019 prime_field_polynomial_scale_transport

Independent recoding of the source and target preserves actual scalar multiplication.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP001A prime_field_polynomial_scale_one

The actual canonical scalar one acts identically on every finite coefficient prefix.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP001B prime_field_polynomial_scale_zero

Scalar zero produces a genuinely encoded zero polynomial, not merely a zero output claim.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP001C prime_field_polynomial_add_associative

Both actual bracketings of three finite coefficient additions yield extensionally equal prefixes.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP001D prime_field_polynomial_scale_associative

Two successive canonical scalar actions agree coefficientwise with the actual canonical product scalar.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0020 prime_field_polynomial_horner_canonical_step

Construct an actual canonical multiply-then-add step from proved residues of the corresponding natural step.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0022 prime_field_polynomial_horner_exists

Every canonical coefficient prefix and canonical base have an actual finite modular Horner history; no trace or norm invariant is supplied.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0023 prime_field_polynomial_horner_input_bounds

The actual execution graph entails canonical input coefficients and base; no separate input-bound certificates are hidden in its steps.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0024 prime_field_polynomial_horner_empty

The empty polynomial execution returns zero by its actual initial and terminal beta entries.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0025 prime_field_polynomial_horner_successor_decompose

An actual successor execution decomposes into its actual prefix and final multiply-then-add step in highest-degree-first order.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0026 prime_field_polynomial_horner_transport

Coefficient reencoding preserves the same real execution trace and result, without asserting equality of raw code numbers.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0027 prime_field_polynomial_horner_normalization_residue

Ordinary induction proves the residue invariant against arbitrary natural coefficients and their actual coefficientwise reduction; the invariant is not part of the execution definition.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0028 prime_field_polynomial_horner_residue

Actual modular evaluation has exactly the canonical residue of the existing natural T12 Horner value.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0029 prime_field_polynomial_horner_functional

Every actual modular execution of the same coefficient prefix and base has the same canonical result.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP002A prime_field_polynomial_horner_exists_unique

Constructive totality and uniqueness of genuine finite prime-field polynomial evaluation, including p=2 and length zero.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP002B prime_field_polynomial_horner_empty_construct

Construct an actual zero-result execution of every empty coefficient prefix, retaining the canonical base guard.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP002C prime_field_polynomial_horner_successor_construct

Every actual canonical last multiply/add step extends an actual prefix to a full execution; the required coefficient bounds are derived, not assumed.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP002D prime_field_polynomial_horner_constant

A one-coefficient prefix evaluates to that actual constant, including zero and characteristic two.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP002E prime_field_polynomial_horner_zero

Every actually encoded all-zero coefficient prefix has a genuine zero-result modular execution, including length zero.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP002F prime_field_polynomial_normalized_horner_iff

After actual coefficient reduction, the genuine modular execution exists with exactly—and every—canonical residue of the original natural T12 evaluation.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0030 prime_field_polynomial_horner_result_bounded

Every genuine execution result is strictly below p, including the empty and zero-polynomial boundary cases.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PP0031 prime_field_polynomial_reduce_and_evaluate_exists

For arbitrary finite natural coefficients construct their canonical prime-field table and an actual Horner execution, and prove agreement with every natural T12 evaluation.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
PD0002 Lt(a,b)

Witness-defined strict order on natural numbers.

Conservative definition · notation layer 0
PD0004 Prime(p)

p is nonunit and every factorization of p has a unit factor.

Conservative definition · notation layer 0
PD0007 DivRem(n,d,q,r)

q and r are a quotient and a strict remainder for n by d.

Conservative definition · notation layer 1
PD0013 BetaAt(b,c,i,x)

x is the bounded beta-decoded value at index i.

Conservative definition · notation layer 0
PD0019 Repeat(b,c,a,l)

The decoded prefix repeats a for l positions.

Conservative definition · notation layer 1
ND0262 BetaPrefixInto(b,c,l,B)

Every actual beta entry below the strict length l has a witnessed value below B. The same generic graph describes canonical polynomial coefficients when B is the modulus; empty prefixes are allowed.

Conservative definition · notation layer 1
ND0263 BetaPrefixEqual(b,c,d,e,l)

Every decoded source entry at i<l also decodes in the target. Actual beta totality and functionality make this extensional prefix equality, not equality of the two code parameters.

Conservative definition · notation layer 1
ND0001 Beta(b,c,i,x)

Exact hygienic Gödel-beta extraction; a signature-identical alias of checked BetaAt.

Conservative definition · notation layer 0
ND0002 Horner(b,c,x,ell,z)

A complete beta-coded natural-polynomial Horner trace with an explicitly witnessed terminal value.

Conservative definition · notation layer 1
PD0008 ModEq(m,a,b)

Balanced-natural congruence modulo m.

Conservative definition · notation layer 0
ND0269 FpCoefficientReduction(p,b,c,d,e,l)

Actual source and target coefficient entries are related by the existing canonical-residue graph at each i<l. Normalization exists even at composite nonzero moduli; field laws require their own prime hypotheses.

Conservative definition · notation layer 2
ND0229 FpAdd(p,a,b,c)

Bounded operands and the actual canonical residue of their natural sum. The old ND0023 residue graph is reused exactly.

Conservative definition · notation layer 2
ND0270 FpPolyAdd(p,ab,ac,bb,bc,cb,cc,l)

Witnessed canonical addition at each aligned coefficient position. Coefficients are highest-degree-first, and l is a common representation length, not a claimed degree.

Conservative definition · notation layer 3
ND0230 FpMul(p,a,b,c)

Bounded operands and the actual canonical residue of their natural product; no multiplication law is assumed.

Conservative definition · notation layer 2
ND0271 FpPolyScale(p,k,ab,ac,bb,bc,l)

A scalar k<p and actual canonical field products at every coefficient index i<l. The empty polynomial retains the scalar bound and denotes zero.

Conservative definition · notation layer 3
ND0277 FpHornerStep(p,b,c,x,u,v,i)

Actual coefficient and consecutive history entries, with witnessed FpMul followed by FpAdd. This is an execution step, not an assumed equality with a natural Horner value or its residue.

Conservative definition · notation layer 3
ND0278 FpHornerSteps(p,b,c,x,l,u,v)

Every step i<l in the actual history performs modular multiply-and-add with coefficient a_i. Highest-degree-first order is inherited from the existing natural Horner interpretation.

Conservative definition · notation layer 4
ND0279 FpHornerTrace(p,b,c,x,l,r,u,v)

A canonical argument x<p and a real history starting at zero, taking l actual modular Horner steps and ending at r. The argument bound remains present even for the empty zero polynomial.

Conservative definition · notation layer 5
ND0280 FpHorner(p,b,c,x,l,r)

Existence of a genuine finite modular Horner trace with endpoint r. Existence, value uniqueness, re-encoding and natural-residue correctness are proved separately; l is not asserted to be the polynomial degree.

Conservative definition · notation layer 6

Only proof arrows are theorem dependencies. Definition arrows are hygienic abbreviations of exact first-order formulas and introduce no axiom or kernel symbol.