Mordell–Yamamoto six-class congruence reduction
ProvedErdosStraus242.mordell_840For every prime natural number , if the remainder is outside , then there exist natural numbers with in the rationals. This is a known congruence result to formalize, not an assumed covering theorem. The exact distinct-denominator adaptation remains part of the Lean proof obligation.
import Definitions.Def_ErdosStraus242 import Mathlib.Data.Nat.Prime.Basic import Mathlib.Data.Finset.Insert
namespace ErdosStraus242
theorem mordell_840 (p : ℕ) (hp : Nat.Prime p) (hp2 : 2 < p)
(hres : p % 840 ∉ ({1, 121, 169, 289, 361, 529} : Finset ℕ)) :
IsErdosStraus p := 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 that is prime, satisfies , and has remainder modulo outside the set , there exist natural numbers such that and . All fractions are evaluated in the rational numbers after converting the natural-number denominators to rational numbers; the hypotheses and inequalities ensure that every denominator is nonzero and that are positive and pairwise distinct. The assertion does not include or primes whose remainder modulo belongs to the specified set.
Confirmed by the mission captain (proposal self-audit).