PF002P · theorem body

fermat_four_equation_height_nonzero

Alpha v34 checked-use · independently kernel and Lean verified; not Stable

A nonzero first fourth-power summand forces the square hypotenuse to be nonzero, so its positivity need not be assumed.

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.

Statement with defined notation

forall a b h. ~(a = 0) -> a * a * a * a + b * b * b * b = h * h -> ~(h = 0)

Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.

Definitions used by this theorem

In the theorem statement

none

In local proof propositions

none
Exact expanded first-order statement
forall a b h. ~(a = 0) -> a * a * a * a + b * b * b * b = h * h -> ~(h = 0)

Proof neighborhood

Direct theorem prerequisites

PF0025 fermat_four_square_nonzero fourth_power_regroup · Stable closed add_eq_zero_left · Stable closed mul_zero_left · Stable closed

Direct theorem dependents

Definition-aware tactic body

Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay command.

Read the argument

Proof checkpoints

28 script commands · 7 reading checkpoints · 2 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.

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

Named ingredients (1)
01Fix variables and assumptionsL1–6

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

  1. L1
    intro a
  2. L2
    intro b
  3. L3
    intro h
  4. L4
    intro ha
  5. L5
    intro hequation
  6. L6
    intro hzero
02Establish hsquareL7–12

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply fermat four square nonzero.

  1. L7
    have hsquare : ~(a * a = 0)
  2. L8
    intro hz
  3. L9
    specialize fermat_four_square_nonzero (a)
  4. L10
    apply fermat_four_square_nonzero
  5. L11
    exact ha
  6. L12
    exact hz
03Establish hfourthL13–22

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply fermat four square nonzero.

  1. L13
    have hfourth : ~((a * a) * (a * a) = 0)
  2. L14
    intro hz
  3. L15
    specialize fermat_four_square_nonzero (a * a)
  4. L16
    apply fermat_four_square_nonzero
  5. L17
    exact hsquare
  6. L18
    exact hz
  7. L19
    apply hfourth
  8. L20
    trans a * a * a * a
  9. L21
    symm
  10. L22
    apply fourth_power_regroup
04Use earlier factsL23–25

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

  1. L23
    specialize add_eq_zero_left (a * a * a * a)
  2. L24
    specialize add_eq_zero_left (b * b * b * b)
  3. L25
    apply add_eq_zero_left
05Calculate and transport equalitiesL26–26

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

  1. L26
    trans h * h
06Use earlier factsL27–27

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

  1. L27
    exact hequation
07Calculate and transport equalitiesL28–28

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

  1. L28
    simp [hzero, mul_zero_left]

Library-wide reading audit

Original defined command ledger · 28 lines
  1. 0001intro a
  2. 0002intro b
  3. 0003intro h
  4. 0004intro ha
  5. 0005intro hequation
  6. 0006intro hzero
  7. 0007have hsquare : ~(a * a = 0)
  8. 0008intro hz
  9. 0009specialize fermat_four_square_nonzero (a)
  10. 0010apply fermat_four_square_nonzero
  11. 0011exact ha
  12. 0012exact hz
  13. 0013have hfourth : ~((a * a) * (a * a) = 0)
  14. 0014intro hz
  15. 0015specialize fermat_four_square_nonzero (a * a)
  16. 0016apply fermat_four_square_nonzero
  17. 0017exact hsquare
  18. 0018exact hz
  19. 0019apply hfourth
  20. 0020trans a * a * a * a
  21. 0021symm
  22. 0022apply fourth_power_regroup
  23. 0023specialize add_eq_zero_left (a * a * a * a)
  24. 0024specialize add_eq_zero_left (b * b * b * b)
  25. 0025apply add_eq_zero_left
  26. 0026trans h * h
  27. 0027exact hequation
  28. 0028simp [hzero, mul_zero_left]