Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
All coefficients retain the established highest-degree-first order. Trimming handles empty and all-zero prefixes; monic normalization requires a nonzero leading coefficient. Synthetic division has a nonempty input of length S n and a quotient of length n, unique in decoded values. Its coefficient recurrence, actual evaluation remainder and positive-degree drop are checked. General polynomial Euclidean division, gcd/Bezout, an arbitrary-convolution factor theorem, irreducible-polynomial existence and the full G091 prime-power-field endpoint remain open. These exact theorems are first admitted to Alpha v32; Stable remains unchanged.
Exact theorem in conservative defined notation
∀ p. ∀ b. ∀ c. ∀ L. ∀ t. ∀ d. ∀ e. ∀ M. ∀ q. FpPolynomialTrim(p,b,c,L,t,d,e,M) → M = S q → FpRepresentedDegree(p,d,e,M,q)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 39 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
Named ingredients (1)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–11
Work with arbitrary variables or the premises of the current implication.
- L11
intro hlen
03Separate the logical casesL12–12
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L12
split
04Use earlier factsL13–13
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L13
exact hlen
05Separate the logical casesL14–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L14
split
06Use earlier factsL15–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L15
specialize prime_field_polynomial_trim_output_coefficients (p) - L16
specialize prime_field_polynomial_trim_output_coefficients (b) - L17
specialize prime_field_polynomial_trim_output_coefficients (c) - L18
specialize prime_field_polynomial_trim_output_coefficients (L) - L19
specialize prime_field_polynomial_trim_output_coefficients (t) - L20
specialize prime_field_polynomial_trim_output_coefficients (d) - L21
specialize prime_field_polynomial_trim_output_coefficients (e) - L22
specialize prime_field_polynomial_trim_output_coefficients (M) - L23
apply prime_field_polynomial_trim_output_coefficients - L24
exact h
07Separate the logical casesL25–30
08Establish hzL31–39
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply succ ne zero.
Original defined command ledger · 39 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro L - 0005
intro t - 0006
intro d - 0007
intro e - 0008
intro M - 0009
intro q - 0010
intro h - 0011
intro hlen - 0012
split - 0013
exact hlen - 0014
split - 0015
specialize prime_field_polynomial_trim_output_coefficients (p) - 0016
specialize prime_field_polynomial_trim_output_coefficients (b) - 0017
specialize prime_field_polynomial_trim_output_coefficients (c) - 0018
specialize prime_field_polynomial_trim_output_coefficients (L) - 0019
specialize prime_field_polynomial_trim_output_coefficients (t) - 0020
specialize prime_field_polynomial_trim_output_coefficients (d) - 0021
specialize prime_field_polynomial_trim_output_coefficients (e) - 0022
specialize prime_field_polynomial_trim_output_coefficients (M) - 0023
apply prime_field_polynomial_trim_output_coefficients - 0024
exact h - 0025
cases h - 0026
cases h_right - 0027
cases h_right_right - 0028
cases h_right_right_right - 0029
cases h_right_right_right_right - 0030
exfalso - 0031
have hz : S q=0 - 0032
trans M - 0033
symm - 0034
exact hlen - 0035
exact h_right_right_right_right_left - 0036
specialize succ_ne_zero (q) - 0037
apply succ_ne_zero - 0038
exact hz - 0039
exact h_right_right_right_right_right