Canonical coefficients · leading-zero trimming · monic and synthetic normalization

Polynomial division prerequisites

Construct actual coefficient differences, trimmed and monic representatives, and synthetic quotient/remainder executions over prime fields.

85 kernel- and Lean-verified Alpha-closed theorems · 28 conservative definitions · 50 notation dependencies

Alpha v34 checked-use · first admitted v32 · 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.

113 items
PQ0001 prime_field_subtract_exists

Construct a genuine bounded solution of b+r=a using actual additive inverse and addition witnesses.

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

The genuine bounded difference of a canonical coefficient from itself is natural zero.

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

Every pair of empty coefficient prefixes satisfies the operation, including modulus zero and arbitrary encodings.

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

Construct the entire actual canonical coefficient output by ordinary induction and beta-prefix extension; no output table is assumed.

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

Every actual decoded tuple satisfies the bounded scalar graph, independently of its existential witnesses.

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

The actual operation graph itself forces every source and result coefficient to be canonical.

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

The result is unique by existing decoded-prefix equality, never by equality of beta code numbers.

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

Independent beta recodings of every input and output preserve the actual aligned coefficient operation.

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

Reversing a genuine coefficientwise additive inverse gives the original values, without identifying encodings.

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

A genuinely encoded all-zero coefficient prefix is its own additive inverse.

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

Adding actual opposite coefficient values produces any genuine zero-prefix encoding.

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

Every pair of empty coefficient prefixes satisfies the operation, including modulus zero and arbitrary encodings.

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

Construct the entire actual canonical coefficient output by ordinary induction and beta-prefix extension; no output table is assumed.

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

Every actual decoded tuple satisfies the bounded scalar graph, independently of its existential witnesses.

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

The actual operation graph itself forces every source and result coefficient to be canonical.

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

Independent beta recodings of every input and output preserve the actual aligned coefficient operation.

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

Relate the actual subtraction witnesses to the actual aligned B+R=A table; no algebraic identity is assumed.

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

Relate the actual subtraction witnesses to the actual aligned B+R=A table; no algebraic identity is assumed.

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

Subtracting an actual canonical prefix from zero yields its actual coefficientwise additive inverse.

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

Subtracting extensionally equal canonical prefixes gives an actual all-zero prefix even when their beta encodings differ.

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

Subtracting the actual first addend from an actual sum recovers the other addend by represented-prefix equality.

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

Construct every finite beta-coded suffix by the existing actual affine-slice constructor at stride one, including length zero.

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

Every actual output decoding equals the input coefficient at the supplied shifted index.

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

A genuine suffix ending at the annotated input length inherits every canonical coefficient bound.

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

Two actual suffix encodings agree at every decoded prefix position, without asserting equality of raw codes.

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

Finite induction scans actual decoded coefficients: either the entire prefix is zero or the first retained position has an actual nonzero value.

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

An actually constructed first-nonzero cut and actual suffix supply the normalized output head; no output-bound or algebra-law premise is assumed.

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

Every actual canonical input has a genuinely beta-coded leading-zero trim, for all moduli and all finite lengths including zero.

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

Every pair of output beta codes is a valid empty trim of every empty input, including modulus zero; raw encodings are deliberately unconstrained.

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

The actual trimmed coefficients are canonical below the same modulus; this is a consequence, not a clause assumed in Trim.

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

Both the number of removed leading zeroes and the retained length are bounded by the actual annotated input length.

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

A genuinely all-zero input cannot have a nonempty normalized trim, proved using actual input and output beta values.

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

For an actual trim, empty output and an all-zero input prefix are constructively equivalent.

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

One normalized cut cannot lie after another: otherwise a supposedly leading nonzero coefficient belongs to the other removed zero prefix.

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

All actual trims of the same input agree coefficientwise on the unique retained prefix; no beta-code identity follows.

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

Construct an actual trim and prove unique removed count, retained length and decoded coefficients against every other actual trim.

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

Every nonempty actual trim has the existing represented degree given by the predecessor of its retained length; the zero polynomial receives no degree.

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

A canonical nonzero-leading representation trims to itself with zero removals, preserving its actual length and all decoded coefficients.

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

Actual prefix reencoding preserves monicity, without constraining any outside entry.

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

The entire represented degree-zero monic prefix is the constant one, not an empty prefix.

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

Construct an actual inverse and actual scaled beta prefix from a canonical nonzero-leading representation over any prime, including two.

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

Every bounded prefix of a genuine Horner history is a genuine execution with its actually decoded terminal state.

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

All actually decoded states of a canonical Horner history are canonical field elements, including its initial and terminal states.

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

Construct the actual quotient code and remainder from a real modular Horner history, for every nonempty canonical coefficient prefix.

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

The constructively encoded quotient has canonical coefficients at every one of its n positions; this includes an empty quotient for constants.

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

The remainder and all decoded quotient values are unique, independently of either beta encoding or the chosen execution history.

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

An actual one-step execution returns the decoded constant coefficient; coefficient bounds follow from the execution itself.

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

Adjacent actual prefix values satisfy the genuine multiply-then-add recurrence, even when their execution histories use different codes.

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

Synthetic division of a nonzero-leading polynomial of positive represented degree S n produces a quotient of represented degree exactly n.

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

A constant has an empty quotient and its own coefficient as remainder, without assigning a degree to the empty quotient.

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

Every nonempty canonical input has a constructively encoded synthetic quotient and remainder, unique in decoded values rather than raw codes.

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

The actual synthetic remainder vanishes exactly when the actual input evaluation at a vanishes; a general convolution factor theorem remains a separate obligation.

Alpha v34 checked-use · first admitted v32 · independently kernel and Lean verified; not Stable
PD0001 Le(a,b)

Witness-defined non-strict order on natural numbers.

Conservative definition · notation layer 0
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
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
PD0008 ModEq(m,a,b)

Balanced-natural congruence modulo m.

Conservative definition · notation layer 0
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
ND0232 FpInv(p,a,b)

An explicitly nonzero input and an actual product equal to canonical one. This relation never declares zero invertible.

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
ND0298 FpRepresentedDegree(p,b,c,L,d)

A length-annotated canonical coefficient prefix has L=S d and an actually decoded nonzero leading coefficient. This does not assign degree to zero or normalize arbitrary leading-zero representations.

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

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

Conservative definition · notation layer 0
ND0231 FpNeg(p,a,b)

An actual bounded additive inverse: FpAdd(p,a,b,0). Its existence and uniqueness are theorems.

Conservative definition · notation layer 3
ND0327 FpCoefficientNegation(p,ab,ac,rb,rc,L)

At each strict index i<L, actual beta source and result coefficients satisfy FpNeg(p,a,r), namely bounded field addition a+r=0. The common representation length and highest-degree-first order are retained. Empty prefixes impose no coefficient condition, even at p=0; existence for canonical prime-field inputs is a separate theorem.

Conservative definition · notation layer 4
ND0328 FpCoefficientSubtraction(p,ab,ac,bb,bc,rb,rc,L)

At each aligned i<L, actual source entries a,b and result entry r satisfy FpAdd(p,b,r,a). All values are the inherited canonical natural field representatives. The graph assumes no subtraction identity, output construction, degree or equality of raw beta codes. Empty prefixes remain vacuous at every modulus.

Conservative definition · notation layer 3
ND0329 PolynomialSuffix(b,c,t,d,e,M)

For every i<M and actual source value at t+i, the target beta prefix records that same value at i. No coefficient bound, primality, total input length, zero-prefix condition or suffix construction is assumed. The affine-slice construction theorem is not itself a definition-expansion edge.

Conservative definition · notation layer 1
ND0330 FpPolynomialTrim(p,b,c,L,t,d,e,M)

The actual input has canonical coefficients and length L=t+M, its first t coefficients are zero, and an actual suffix code has length M. The suffix is empty or its decoded head is nonzero. Primality, a claimed degree, length uniqueness and an output-code uniqueness law are not definition clauses.

Conservative definition · notation layer 2
ND0331 FpMonic(p,b,c,L)

A nonempty canonical coefficient prefix has actual leading coefficient natural 1. Its length is still a representation annotation, not a degree definition; the empty zero polynomial is excluded. Natural field one is not signed code 2, and primality is not included in this graph.

Conservative definition · notation layer 2
ND0332 FpMonicNormalization(p,k,ab,ac,bb,bc,L)

For nonempty length L, k is an actual inherited field inverse of the decoded source leading coefficient, and the result is its actual coefficientwise FpPolyScale action. Result monicity, degree preservation and represented-value uniqueness are separate conclusions, not premises. A recorded inverse can also exist at a composite modulus.

Conservative definition · notation layer 4
ND0333 FpSyntheticDivision(p,b,c,a,n,qb,qc,r)

An actual FpHornerTrace processes S n highest-degree-first coefficients at the canonical argument a and ends at r. An actual MatrixAffineSlice with offset 1 and stride 1 records n quotient coefficients from that same history; constants therefore have an empty quotient. The coefficient recurrence and division identity are not graph premises. This is not arbitrary-divisor Euclidean division or G091.

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.