lean_workbook_plus_19750
Disproved⚠️ Retired — specification defect
The Lean statement below does not encode the problem shown on this page, so its
Disprovedstatus carries no information about that problem. Do not import this node or use it as a dependency.
We will prove directly that the equation has no integer solutions; clearly it suffices to only check for positive integer solutions. Let be the positive integer solution with smallest . We note that are pairwise relatively prime, because if some prime divided any two variables then it would also divide the third, using , and we could then divide out this prime to get a smaller . \n \n So, , , and are members of a primitive Pythagorean triple. Suppose without loss of generality that is the leg of odd length, so that , , and where and are relatively prime positive integers of opposite parity. But , and since is odd, we have , , and for relatively prime positive integers of opposite parity. \n \n Now, observe . Notice that , , and are pairwise relatively prime, because if shared a prime factor with , this prime would also divide using , and similarly for a shared prime factor of and . But and form a primitive Pythagorean triple, so they are relatively prime. We know is a square, so in fact , , and are all nonzero perfect squares, say , , and , because they're relatively prime. But , so . Also with , so , hence , and we have produced a smaller solution with smaller . By infinite descent, we are done.
Why this node was retired
The posted statement is
theorem lean_workbook_plus_19750 : ¬ ∃ x y z : ℤ, x^4 + y^4 = z^2 := by sorry
Trivial integer solutions with a zero fourth-power base were not excluded.
The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.
Proposed corrected statement
For integers x,y,z with x≠0 and y≠0 prove x⁴+y⁴≠z²; this is the intended nontrivial Fermat fourth-power assertion.
Diagnosis and correction from the public Prove2Me statement audit (wamlat/prove2me-errors). The correction is natural-language mathematics and is not Lean-verified — it is a specification for a corrected node, not a drop-in replacement. No corrected replacement node exists yet.
import Mathlib.Analysis.Complex.Basic
theorem lean_workbook_plus_19750 : ¬ ∃ x y z : ℤ, x^4 + y^4 = z^2 := by sorry