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. ∀ r. Prime(p) → FpHorner(p,b,c,t,l,r) → Lt(r,p)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 29 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–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–15
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L15
cases hn
04Establish hrL16–25
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field polynomial horner residue.
- L16
have hr : CanonicalModularResidue(p,x,r)Definitions: CanonicalModularResidue(p,x,r)Original native command in the exact edition - L17
specialize prime_field_polynomial_horner_residue (p) - L18
specialize prime_field_polynomial_horner_residue (b) - L19
specialize prime_field_polynomial_horner_residue (c) - L20
specialize prime_field_polynomial_horner_residue (t) - L21
specialize prime_field_polynomial_horner_residue (l) - L22
specialize prime_field_polynomial_horner_residue (x) - L23
specialize prime_field_polynomial_horner_residue (r) - L24
apply prime_field_polynomial_horner_residue - L25
exact hp
05Use earlier factsL26–27
06Separate the logical casesL28–28
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L28
cases hr
07Use earlier factsL29–29
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
exact hr_left
Original defined command ledger · 29 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro t - 0005
intro l - 0006
intro r - 0007
intro hp - 0008
intro he - 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
have hr : CanonicalModularResidue(p,x,r) - 0017
specialize prime_field_polynomial_horner_residue (p) - 0018
specialize prime_field_polynomial_horner_residue (b) - 0019
specialize prime_field_polynomial_horner_residue (c) - 0020
specialize prime_field_polynomial_horner_residue (t) - 0021
specialize prime_field_polynomial_horner_residue (l) - 0022
specialize prime_field_polynomial_horner_residue (x) - 0023
specialize prime_field_polynomial_horner_residue (r) - 0024
apply prime_field_polynomial_horner_residue - 0025
exact hp - 0026
exact hn_witness - 0027
exact he - 0028
cases hr - 0029
exact hr_left