Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
Coefficients are highest-degree-first. The divisor has a nonzero decoded head; primality supplies its actual inverse. Empty quotients and remainders are included. Functionality compares the constructed execution lengths and decoded coefficients, never arbitrary beta codes. Formal polynomial equivalence compares every coefficient, not evaluations on a finite field. The formal identity and remainder-degree bound are proved separately, not assumed by the execution graph. Arbitrary quotient/remainder-pair uniqueness from a formal identity, multiplication associativity, gcd/Bezout, irreducible-polynomial existence, and the full G091 prime-power-field goal remain open. The seven displayed new names are conservative first-order notation, not new kernel primitives.
Exact theorem in conservative defined notation
∀ p. ∀ b. ∀ c. ∀ B. ∀ C. ∀ L. ∀ t. ∀ rb. ∀ rc. ∀ R. BetaPrefixEqual(b,c,B,C,L) → FpPolynomialTrim(p,b,c,L,t,rb,rc,R) → FpPolynomialTrim(p,B,C,L,t,rb,rc,R)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 83 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.
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–12
03Establish hreverseL13–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply matrix rank prefix equality symmetric.
- L13
have hreverse : BetaPrefixEqual(B,C,b,c,L)Definitions: BetaPrefixEqual(B,C,b,c,L)Original native command in the exact edition - L14
specialize matrix_rank_prefix_equality_symmetric (b) - L15
specialize matrix_rank_prefix_equality_symmetric (c) - L16
specialize matrix_rank_prefix_equality_symmetric (B) - L17
specialize matrix_rank_prefix_equality_symmetric (C) - L18
specialize matrix_rank_prefix_equality_symmetric (L) - L19
apply matrix_rank_prefix_equality_symmetric - L20
exact hequal
04Establish hboundsL21–30
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field polynomial trim length bounds.
- L21
have hbounds : Le(t,L) ∧ Le(R,L)Definitions: Le(t,L)Le(R,L)Original native command in the exact edition - L22
specialize prime_field_polynomial_trim_length_bounds (p) - L23
specialize prime_field_polynomial_trim_length_bounds (b) - L24
specialize prime_field_polynomial_trim_length_bounds (c) - L25
specialize prime_field_polynomial_trim_length_bounds (L) - L26
specialize prime_field_polynomial_trim_length_bounds (t) - L27
specialize prime_field_polynomial_trim_length_bounds (rb) - L28
specialize prime_field_polynomial_trim_length_bounds (rc) - L29
specialize prime_field_polynomial_trim_length_bounds (R) - L30
apply prime_field_polynomial_trim_length_bounds
05Use earlier factsL31–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
exact htrim
06Separate the logical casesL32–37
07Use earlier factsL38–38
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L38
exact htrim_left
08Separate the logical casesL39–39
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L39
split
09Use earlier factsL40–48
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L40
specialize matrix_rank_bounded_prefix_transport (b) - L41
specialize matrix_rank_bounded_prefix_transport (c) - L42
specialize matrix_rank_bounded_prefix_transport (B) - L43
specialize matrix_rank_bounded_prefix_transport (C) - L44
specialize matrix_rank_bounded_prefix_transport (L) - L45
specialize matrix_rank_bounded_prefix_transport (p) - L46
apply matrix_rank_bounded_prefix_transport - L47
exact hequal - L48
exact htrim_right_left
10Separate the logical casesL49–49
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L49
split
11Fix variables and assumptionsL50–51
12Use earlier factsL52–61
Instantiate or apply named facts and discharge the corresponding proof obligations.
13Use earlier factsL62–63
14Separate the logical casesL64–64
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L64
split
15Fix variables and assumptionsL65–68
16Use earlier factsL69–75
17Calculate and transport equalitiesL76–76
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L76
rewrite htrim_left
18Use earlier factsL77–83
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original defined command ledger · 83 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro B - 0005
intro C - 0006
intro L - 0007
intro t - 0008
intro rb - 0009
intro rc - 0010
intro R - 0011
intro hequal - 0012
intro htrim - 0013
have hreverse : BetaPrefixEqual(B,C,b,c,L) - 0014
specialize matrix_rank_prefix_equality_symmetric (b) - 0015
specialize matrix_rank_prefix_equality_symmetric (c) - 0016
specialize matrix_rank_prefix_equality_symmetric (B) - 0017
specialize matrix_rank_prefix_equality_symmetric (C) - 0018
specialize matrix_rank_prefix_equality_symmetric (L) - 0019
apply matrix_rank_prefix_equality_symmetric - 0020
exact hequal - 0021
have hbounds : Le(t,L) ∧ Le(R,L) - 0022
specialize prime_field_polynomial_trim_length_bounds (p) - 0023
specialize prime_field_polynomial_trim_length_bounds (b) - 0024
specialize prime_field_polynomial_trim_length_bounds (c) - 0025
specialize prime_field_polynomial_trim_length_bounds (L) - 0026
specialize prime_field_polynomial_trim_length_bounds (t) - 0027
specialize prime_field_polynomial_trim_length_bounds (rb) - 0028
specialize prime_field_polynomial_trim_length_bounds (rc) - 0029
specialize prime_field_polynomial_trim_length_bounds (R) - 0030
apply prime_field_polynomial_trim_length_bounds - 0031
exact htrim - 0032
cases hbounds - 0033
cases htrim - 0034
cases htrim_right - 0035
cases htrim_right_right - 0036
cases htrim_right_right_right - 0037
split - 0038
exact htrim_left - 0039
split - 0040
specialize matrix_rank_bounded_prefix_transport (b) - 0041
specialize matrix_rank_bounded_prefix_transport (c) - 0042
specialize matrix_rank_bounded_prefix_transport (B) - 0043
specialize matrix_rank_bounded_prefix_transport (C) - 0044
specialize matrix_rank_bounded_prefix_transport (L) - 0045
specialize matrix_rank_bounded_prefix_transport (p) - 0046
apply matrix_rank_bounded_prefix_transport - 0047
exact hequal - 0048
exact htrim_right_left - 0049
split - 0050
intro i - 0051
intro hindex - 0052
specialize hequal (i) - 0053
specialize hequal (0) - 0054
apply hequal - 0055
specialize lt_of_lt_of_le (i) - 0056
specialize lt_of_lt_of_le (t) - 0057
specialize lt_of_lt_of_le (L) - 0058
apply lt_of_lt_of_le - 0059
exact hindex - 0060
exact hbounds_left - 0061
specialize htrim_right_right_left (i) - 0062
apply htrim_right_right_left - 0063
exact hindex - 0064
split - 0065
intro i - 0066
intro a - 0067
intro hindex - 0068
intro hvalue - 0069
specialize htrim_right_right_right_left (i) - 0070
specialize htrim_right_right_right_left (a) - 0071
apply htrim_right_right_right_left - 0072
exact hindex - 0073
specialize hreverse (t+i) - 0074
specialize hreverse (a) - 0075
apply hreverse - 0076
rewrite htrim_left - 0077
specialize matrix_recursive_lt_add_left (i) - 0078
specialize matrix_recursive_lt_add_left (R) - 0079
specialize matrix_recursive_lt_add_left (t) - 0080
apply matrix_recursive_lt_add_left - 0081
exact hindex - 0082
exact hvalue - 0083
exact htrim_right_right_right_right