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. ∀ u. ∀ f. ∀ g. ∀ N. FpPolynomialTrim(p,b,c,L,t,d,e,M) → FpPolynomialTrim(p,b,c,L,u,f,g,N) → M = N
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 51 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–14
03Establish htL15–24
Establish this local claim before using it. It is not an additional assumption.
- L15
have ht : t=u - L16
specialize prime_field_polynomial_trim_removed_count_unique (p) - L17
specialize prime_field_polynomial_trim_removed_count_unique (b) - L18
specialize prime_field_polynomial_trim_removed_count_unique (c) - L19
specialize prime_field_polynomial_trim_removed_count_unique (L) - L20
specialize prime_field_polynomial_trim_removed_count_unique (t) - L21
specialize prime_field_polynomial_trim_removed_count_unique (d) - L22
specialize prime_field_polynomial_trim_removed_count_unique (e) - L23
specialize prime_field_polynomial_trim_removed_count_unique (M) - L24
specialize prime_field_polynomial_trim_removed_count_unique (u)
04Use earlier factsL25–30
Instantiate or apply named facts and discharge the corresponding proof obligations.
05Separate the logical casesL31–38
06Use earlier factsL39–42
07Calculate and transport equalitiesL43–44
08Use earlier factsL45–45
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L45
exact h_left
09Calculate and transport equalitiesL46–46
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L46
trans u+N
10Use earlier factsL47–47
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L47
exact hk_left
11Calculate and transport equalitiesL48–49
12Use earlier factsL50–50
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L50
exact ht
13Calculate and transport equalitiesL51–51
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L51
refl
Original defined command ledger · 51 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 u - 0010
intro f - 0011
intro g - 0012
intro N - 0013
intro h - 0014
intro hk - 0015
have ht : t=u - 0016
specialize prime_field_polynomial_trim_removed_count_unique (p) - 0017
specialize prime_field_polynomial_trim_removed_count_unique (b) - 0018
specialize prime_field_polynomial_trim_removed_count_unique (c) - 0019
specialize prime_field_polynomial_trim_removed_count_unique (L) - 0020
specialize prime_field_polynomial_trim_removed_count_unique (t) - 0021
specialize prime_field_polynomial_trim_removed_count_unique (d) - 0022
specialize prime_field_polynomial_trim_removed_count_unique (e) - 0023
specialize prime_field_polynomial_trim_removed_count_unique (M) - 0024
specialize prime_field_polynomial_trim_removed_count_unique (u) - 0025
specialize prime_field_polynomial_trim_removed_count_unique (f) - 0026
specialize prime_field_polynomial_trim_removed_count_unique (g) - 0027
specialize prime_field_polynomial_trim_removed_count_unique (N) - 0028
apply prime_field_polynomial_trim_removed_count_unique - 0029
exact h - 0030
exact hk - 0031
cases h - 0032
cases h_right - 0033
cases h_right_right - 0034
cases h_right_right_right - 0035
cases hk - 0036
cases hk_right - 0037
cases hk_right_right - 0038
cases hk_right_right_right - 0039
specialize add_left_cancel (t) - 0040
specialize add_left_cancel (M) - 0041
specialize add_left_cancel (N) - 0042
apply add_left_cancel - 0043
trans L - 0044
symm - 0045
exact h_left - 0046
trans u+N - 0047
exact hk_left - 0048
congr - 0049
symm - 0050
exact ht - 0051
refl