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. FpPolynomialTrim(p,b,c,L,t,d,e,M) → Repeat(b,c,0,L) → M = 0
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 53 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
02Establish hML11–14
03Separate the logical casesL15–15
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L15
cases hM
04Use earlier factsL16–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
exact hM_left
05Establish hcopyL17–18
Establish this local claim before using it. It is not an additional assumption.
- L17
have hcopy : FpPolynomialTrim(p,b,c,L,t,d,e,M)Definitions: FpPolynomialTrim(p,b,c,L,t,d,e,M)Original native command in the exact edition - L18
exact h
06Separate the logical casesL19–22
07Establish htL23–31
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply matrix recursive lt add left.
08Establish hindexL32–34
09Establish hatL35–38
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hz.
10Separate the logical casesL39–39
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L39
exfalso
11Use earlier factsL40–49
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L40
specialize prime_field_polynomial_trim_leading_source_nonzero (p) - L41
specialize prime_field_polynomial_trim_leading_source_nonzero (b) - L42
specialize prime_field_polynomial_trim_leading_source_nonzero (c) - L43
specialize prime_field_polynomial_trim_leading_source_nonzero (L) - L44
specialize prime_field_polynomial_trim_leading_source_nonzero (t) - L45
specialize prime_field_polynomial_trim_leading_source_nonzero (d) - L46
specialize prime_field_polynomial_trim_leading_source_nonzero (e) - L47
specialize prime_field_polynomial_trim_leading_source_nonzero (M) - L48
specialize prime_field_polynomial_trim_leading_source_nonzero (0) - L49
apply prime_field_polynomial_trim_leading_source_nonzero
12Use earlier factsL50–52
13Calculate and transport equalitiesL53–53
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L53
refl
Original defined command ledger · 53 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 h - 0010
intro hz - 0011
have hM : M=0 \/ ~(M=0) - 0012
specialize eq_decidable (M) - 0013
specialize eq_decidable (0) - 0014
apply eq_decidable - 0015
cases hM - 0016
exact hM_left - 0017
have hcopy : FpPolynomialTrim(p,b,c,L,t,d,e,M) - 0018
exact h - 0019
cases hcopy - 0020
cases hcopy_right - 0021
cases hcopy_right_right - 0022
cases hcopy_right_right_right - 0023
have ht : Lt(t + 0,L) - 0024
rewrite hcopy_left - 0025
specialize matrix_recursive_lt_add_left (0) - 0026
specialize matrix_recursive_lt_add_left (M) - 0027
specialize matrix_recursive_lt_add_left (t) - 0028
apply matrix_recursive_lt_add_left - 0029
specialize one_le_of_ne_zero (M) - 0030
apply one_le_of_ne_zero - 0031
exact hM_right - 0032
have hindex : t+0=t - 0033
simp - 0034
rewrite hindex at ht - 0035
have hat : BetaAt(b,c,t,0) - 0036
specialize hz (t) - 0037
apply hz - 0038
exact ht - 0039
exfalso - 0040
specialize prime_field_polynomial_trim_leading_source_nonzero (p) - 0041
specialize prime_field_polynomial_trim_leading_source_nonzero (b) - 0042
specialize prime_field_polynomial_trim_leading_source_nonzero (c) - 0043
specialize prime_field_polynomial_trim_leading_source_nonzero (L) - 0044
specialize prime_field_polynomial_trim_leading_source_nonzero (t) - 0045
specialize prime_field_polynomial_trim_leading_source_nonzero (d) - 0046
specialize prime_field_polynomial_trim_leading_source_nonzero (e) - 0047
specialize prime_field_polynomial_trim_leading_source_nonzero (M) - 0048
specialize prime_field_polynomial_trim_leading_source_nonzero (0) - 0049
apply prime_field_polynomial_trim_leading_source_nonzero - 0050
exact h - 0051
exact hM_right - 0052
exact hat - 0053
refl