Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
Exact expanded first-order arithmetic statement
forall m x y r s a. (exists hgcrt_mod_left_pth_step_base hgcrt_mod_right_pth_step_base. x + m * hgcrt_mod_left_pth_step_base = y + m * hgcrt_mod_right_pth_step_base) -> (exists hgcrt_mod_left_pth_step_prefix hgcrt_mod_right_pth_step_prefix. r + m * hgcrt_mod_left_pth_step_prefix = s + m * hgcrt_mod_right_pth_step_prefix) -> (exists hgcrt_mod_left_pth_step_result hgcrt_mod_right_pth_step_result. (r * x + a) + m * hgcrt_mod_left_pth_step_result = (s * y + a) + m * hgcrt_mod_right_pth_step_result)Constructive proof overview
Generated structural guide
One genuine Horner value transition preserves balanced congruence at congruent evaluation points.
The unchanged tactic script uses 3 declared prerequisites and contains 29 exact native proof lines.
Alpha v34 checked-use · first admitted v25 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
mod_eq_mul Stable theorem; checked-use authorized mod_eq_refl Stable theorem; checked-use authorized mod_eq_add Stable theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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–8
02Establish hproductL9–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq mul.
- L9
have hproduct : exists hgcrt_mod_left_pth_step_product hgcrt_mod_right_pth_step_product. (r * x) + m * hgcrt_mod_left_pth_step_product = (s * y) + m * hgcrt_mod_right_pth_step_product - L10
specialize mod_eq_mul m - L11
specialize mod_eq_mul r - L12
specialize mod_eq_mul s - L13
specialize mod_eq_mul x - L14
specialize mod_eq_mul y - L15
apply mod_eq_mul - L16
exact hprefix - L17
exact hbase
03Establish hcoefficientL18–27
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq refl.
- L18
have hcoefficient : exists hgcrt_mod_left_pth_step_coefficient hgcrt_mod_right_pth_step_coefficient. a + m * hgcrt_mod_left_pth_step_coefficient = a + m * hgcrt_mod_right_pth_step_coefficient - L19
specialize mod_eq_refl m - L20
specialize mod_eq_refl a - L21
apply mod_eq_refl - L22
specialize mod_eq_add m - L23
specialize mod_eq_add (r * x) - L24
specialize mod_eq_add (s * y) - L25
specialize mod_eq_add a - L26
specialize mod_eq_add a - L27
apply mod_eq_add
Original exact command ledger · 29 lines
- 0001
intro m - 0002
intro x - 0003
intro y - 0004
intro r - 0005
intro s - 0006
intro a - 0007
intro hbase - 0008
intro hprefix - 0009
have hproduct : exists hgcrt_mod_left_pth_step_product hgcrt_mod_right_pth_step_product. (r * x) + m * hgcrt_mod_left_pth_step_product = (s * y) + m * hgcrt_mod_right_pth_step_product - 0010
specialize mod_eq_mul m - 0011
specialize mod_eq_mul r - 0012
specialize mod_eq_mul s - 0013
specialize mod_eq_mul x - 0014
specialize mod_eq_mul y - 0015
apply mod_eq_mul - 0016
exact hprefix - 0017
exact hbase - 0018
have hcoefficient : exists hgcrt_mod_left_pth_step_coefficient hgcrt_mod_right_pth_step_coefficient. a + m * hgcrt_mod_left_pth_step_coefficient = a + m * hgcrt_mod_right_pth_step_coefficient - 0019
specialize mod_eq_refl m - 0020
specialize mod_eq_refl a - 0021
apply mod_eq_refl - 0022
specialize mod_eq_add m - 0023
specialize mod_eq_add (r * x) - 0024
specialize mod_eq_add (s * y) - 0025
specialize mod_eq_add a - 0026
specialize mod_eq_add a - 0027
apply mod_eq_add - 0028
exact hproduct - 0029
exact hcoefficient
Separate complete second-wave branches: Full G095 proof · Alpha v27.