Elementary family: five modulo eight
ProvedErdosStraus242.family_DFor a natural number with , put . Then and in the rationals. The displayed quotients are computed in the natural numbers; the congruence makes both exact.
import Definitions.Def_ErdosStraus242 import Mathlib.Data.Nat.Prime.Basic import Mathlib.Data.Finset.Insert
namespace ErdosStraus242
theorem family_D (n : ℕ) (hn : 2 < n) (hmod : n % 8 = 5) :
let u := (n+3)/4
1 ≤ u ∧ u < n*u/2 ∧ n*u/2 < n*u ∧
(4 / n : ℚ) = 1 / u + 1 / (n*u/2 : ℕ) + 1 / (n*u : ℕ) := by sorry
end ErdosStraus242
Read-back
What the Lean code literally says, in plain math · Codex GPT-6 (independent fresh-context sub-agent)
For every natural number satisfying and having remainder upon division by , let , where this is division in the natural numbers. Then , , and , and the following equality holds in the rational numbers: . Here is the natural-number product and is computed by natural-number division before being used as a rational denominator; all divisions in the rational equality use the natural-number denominators interpreted as rational numbers. The quantification includes , the smallest permitted value, and the asserted inequalities make all three denominators positive and strictly increasing.
Confirmed by the mission captain (proposal self-audit).