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 a b n. (exists ee_bound_le. ee_bound_le + (a) = (b)) -> ((((a) * (a)) + ((b) * (b))) = (((a) * (b)) + (n))) -> (exists ee_bound_le. ee_bound_le + (n) = (b * b))Constructive proof overview
Generated structural guide
If a≤b then a²−ab+b²≤b², with an actual natural gap witness.
The unchanged tactic script uses 5 declared prerequisites and contains 22 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
mul_le_mul_left Stable theorem; checked-use authorized add_left_cancel Stable theorem; checked-use authorized add_assoc Stable theorem; checked-use authorized add_comm Stable theorem; checked-use authorized four_square_add_swap_right_tail Alpha 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–5
02Establish hproductL6–11
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul le mul left.
03Separate the logical casesL12–12
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L12
cases hproduct
04Construct an explicit witnessL13–13
Supply the displayed value, then prove that it has the required property.
- L13
exists x
05Use earlier factsL14–17
06Calculate and transport equalitiesL18–21
07Use earlier factsL22–22
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L22
exact hnorm
Original exact command ledger · 22 lines
- 0001
intro a - 0002
intro b - 0003
intro n - 0004
intro hle - 0005
intro hnorm - 0006
have hproduct : exists k. k + a * a = a * b - 0007
specialize mul_le_mul_left a - 0008
specialize mul_le_mul_left b - 0009
specialize mul_le_mul_left a - 0010
apply mul_le_mul_left - 0011
exact hle - 0012
cases hproduct - 0013
exists x - 0014
specialize add_left_cancel (a * a) - 0015
specialize add_left_cancel (x + n) - 0016
specialize add_left_cancel (b * b) - 0017
apply add_left_cancel - 0018
trans (x + a * a) + n - 0019
simp [add_assoc, add_comm, four_square_add_swap_right_tail] - 0020
rewrite hproduct_witness - 0021
symm - 0022
exact hnorm