The distinct Erdős–Straus property
DefinitionErdosStraus242For a natural number , the property means exactly that there exist natural numbers with and in . There are no additional certificates, assumptions, or universal assertions in this definition. The definition accepts all natural inputs; the root theorem separately requires .
import Mathlib.Data.Rat.Cast.Order
namespace ErdosStraus242
/-- The exact distinct-denominator property, with rational division. -/
def IsErdosStraus (n : ℕ) : Prop :=
∃ x y z : ℕ, 1 ≤ x ∧ x < y ∧ y < z ∧
(4 / n : ℚ) = 1 / x + 1 / y + 1 / z
end ErdosStraus242
Read-back
What the Lean code literally says, in plain math · Codex GPT-6 (independent fresh-context sub-agent)
For each natural number (including ), the predicate is defined to hold precisely when there exist natural numbers such that , , , and , where all divisions and the equality are in the rational numbers, with the natural numbers interpreted as rational numbers. Thus the three denominators must be positive and strictly increasing. There is no restriction on the input ; rational division by zero is defined to be zero, so the predicate is false for , since its required right-hand side is positive.
Confirmed by the mission captain (proposal self-audit).