EI0005

eisenstein_natural_norm_le_larger_square

Alpha v34 independently verified · alpha_closed; checked-use authorized; not Stable

If a≤b then a²−ab+b²≤b², with an actual natural gap witness.

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 authorized

Direct 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

22 script commands · 7 reading checkpoints · 1 local claims

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

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro a
  2. L2
    intro b
  3. L3
    intro n
  4. L4
    intro hle
  5. L5
    intro hnorm
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.

  1. L6
    have hproduct : exists k. k + a * a = a * b
  2. L7
    specialize mul_le_mul_left a
  3. L8
    specialize mul_le_mul_left b
  4. L9
    specialize mul_le_mul_left a
  5. L10
    apply mul_le_mul_left
  6. L11
    exact hle
03Separate the logical casesL12–12

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L12
    cases hproduct
04Construct an explicit witnessL13–13

Supply the displayed value, then prove that it has the required property.

  1. L13
    exists x
05Use earlier factsL14–17

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L14
    specialize add_left_cancel (a * a)
  2. L15
    specialize add_left_cancel (x + n)
  3. L16
    specialize add_left_cancel (b * b)
  4. L17
    apply add_left_cancel
06Calculate and transport equalitiesL18–21

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L18
    trans (x + a * a) + n
  2. L19
    simp [add_assoc, add_comm, four_square_add_swap_right_tail]
  3. L20
    rewrite hproduct_witness
  4. L21
    symm
07Use earlier factsL22–22

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L22
    exact hnorm

Library-wide reading audit

Original exact command ledger · 22 lines
  1. 0001intro a
  2. 0002intro b
  3. 0003intro n
  4. 0004intro hle
  5. 0005intro hnorm
  6. 0006have hproduct : exists k. k + a * a = a * b
  7. 0007specialize mul_le_mul_left a
  8. 0008specialize mul_le_mul_left b
  9. 0009specialize mul_le_mul_left a
  10. 0010apply mul_le_mul_left
  11. 0011exact hle
  12. 0012cases hproduct
  13. 0013exists x
  14. 0014specialize add_left_cancel (a * a)
  15. 0015specialize add_left_cancel (x + n)
  16. 0016specialize add_left_cancel (b * b)
  17. 0017apply add_left_cancel
  18. 0018trans (x + a * a) + n
  19. 0019simp [add_assoc, add_comm, four_square_add_swap_right_tail]
  20. 0020rewrite hproduct_witness
  21. 0021symm
  22. 0022exact hnorm