Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
Length is representation length, not polynomial degree. Leading zeros and the empty zero polynomial are allowed; the canonical argument guard x<p also applies to the empty case. Evaluation is defined by actual field-operation steps, not an assumed residue invariant. Polynomial division, gcd, irreducibles and general prime-power extension fields remain open; this does not close G091.
Exact theorem in conservative defined notation
∀ p. ∀ b. ∀ c. ∀ t. ∀ l. Prime(p) → BetaPrefixInto(b,c,l,p) → Lt(t,p) → ∃ x. FpHorner(p,b,c,t,l,x)
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 (2)
01Fix variables and assumptionsL1–8
02Establish hnL9–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta horner eval exists.
- L9
have hn : ∃ n. Horner(b,c,t,l,n)Definitions: Horner(b,c,t,l,n)Original native command in the exact edition - L10
specialize beta_horner_eval_exists (b) - L11
specialize beta_horner_eval_exists (c) - L12
specialize beta_horner_eval_exists (t) - L13
specialize beta_horner_eval_exists (l) - L14
apply beta_horner_eval_exists
03Separate the logical casesL15–17
04Establish hrL18–27
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field polynomial normalization exists.
- L18
have hr : ∃ U. ∃ V. FpCoefficientReduction(p,x1,x2,U,V,S l)Definitions: FpCoefficientReduction(p,x1,x2,U,V,S l)Original native command in the exact edition - L19
specialize prime_field_polynomial_normalization_exists (p) - L20
specialize prime_field_polynomial_normalization_exists (x1) - L21
specialize prime_field_polynomial_normalization_exists (x2) - L22
specialize prime_field_polynomial_normalization_exists (S l) - L23
apply prime_field_polynomial_normalization_exists - L24
intro hz - L25
specialize prime_nonzero (p) - L26
apply prime_nonzero - L27
exact hp
05Use earlier factsL28–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L28
exact hz
06Separate the logical casesL29–30
07Establish heL31–40
Establish this local claim before using it. It is not an additional assumption.
- L31
have he : ∃ r. FpHornerTrace(p,b,c,t,l,r,x3,x4) ∧ CanonicalModularResidue(p,x,r)Definitions: FpHornerTrace(p,b,c,t,l,r,x3,x4)CanonicalModularResidue(p,x,r)Original native command in the exact edition - L32
specialize prime_field_polynomial_horner_trace_from_normalization (p) - L33
specialize prime_field_polynomial_horner_trace_from_normalization (b) - L34
specialize prime_field_polynomial_horner_trace_from_normalization (c) - L35
specialize prime_field_polynomial_horner_trace_from_normalization (t) - L36
specialize prime_field_polynomial_horner_trace_from_normalization (l) - L37
specialize prime_field_polynomial_horner_trace_from_normalization (x) - L38
specialize prime_field_polynomial_horner_trace_from_normalization (x1) - L39
specialize prime_field_polynomial_horner_trace_from_normalization (x2) - L40
specialize prime_field_polynomial_horner_trace_from_normalization (x3)
08Use earlier factsL41–47
Instantiate or apply named facts and discharge the corresponding proof obligations.
09Separate the logical casesL48–49
10Construct an explicit witnessL50–52
11Use earlier factsL53–53
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L53
exact he_witness_left
Original defined command ledger · 53 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro t - 0005
intro l - 0006
intro hp - 0007
intro hc - 0008
intro ht - 0009
have hn : ∃ n. Horner(b,c,t,l,n) - 0010
specialize beta_horner_eval_exists (b) - 0011
specialize beta_horner_eval_exists (c) - 0012
specialize beta_horner_eval_exists (t) - 0013
specialize beta_horner_eval_exists (l) - 0014
apply beta_horner_eval_exists - 0015
cases hn - 0016
cases hn_witness - 0017
cases hn_witness_witness - 0018
have hr : ∃ U. ∃ V. FpCoefficientReduction(p,x1,x2,U,V,S l) - 0019
specialize prime_field_polynomial_normalization_exists (p) - 0020
specialize prime_field_polynomial_normalization_exists (x1) - 0021
specialize prime_field_polynomial_normalization_exists (x2) - 0022
specialize prime_field_polynomial_normalization_exists (S l) - 0023
apply prime_field_polynomial_normalization_exists - 0024
intro hz - 0025
specialize prime_nonzero (p) - 0026
apply prime_nonzero - 0027
exact hp - 0028
exact hz - 0029
cases hr - 0030
cases hr_witness - 0031
have he : ∃ r. FpHornerTrace(p,b,c,t,l,r,x3,x4) ∧ CanonicalModularResidue(p,x,r) - 0032
specialize prime_field_polynomial_horner_trace_from_normalization (p) - 0033
specialize prime_field_polynomial_horner_trace_from_normalization (b) - 0034
specialize prime_field_polynomial_horner_trace_from_normalization (c) - 0035
specialize prime_field_polynomial_horner_trace_from_normalization (t) - 0036
specialize prime_field_polynomial_horner_trace_from_normalization (l) - 0037
specialize prime_field_polynomial_horner_trace_from_normalization (x) - 0038
specialize prime_field_polynomial_horner_trace_from_normalization (x1) - 0039
specialize prime_field_polynomial_horner_trace_from_normalization (x2) - 0040
specialize prime_field_polynomial_horner_trace_from_normalization (x3) - 0041
specialize prime_field_polynomial_horner_trace_from_normalization (x4) - 0042
apply prime_field_polynomial_horner_trace_from_normalization - 0043
exact hp - 0044
exact hc - 0045
exact ht - 0046
exact hn_witness_witness_witness - 0047
exact hr_witness_witness - 0048
cases he - 0049
cases he_witness - 0050
exists x5 - 0051
exists x3 - 0052
exists x4 - 0053
exact he_witness_left