FormalConjectures/ErdosProblems/193.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

4 declarations, 2 contain sorry, 0 declared as axioms

Erdős Problem 193

References:

Imports (1)
  1. def Erdos193.IsSWalk An $S$-walk is a sequence where every difference is in $S$ line 40 source

    Source documentation

    An $S$-walk is a sequence where every difference is in $S$.

    no axioms what this means

    Statement uses: AddCommGroup, Set, Nat

    Proof uses: Membership.mem, HSub.hSub, HAdd.hAdd, OfNat.ofNat

    8 instances, coercions and auxiliary constants left out.

    def IsSWalk {V : Type*} [AddCommGroup V] (S : Set V) (a : ℕ → V) : Prop :=
    …
  2. def Erdos193.HasCollinearTriple True if set $A$ contains 3 distinct collinear points over $R$ line 44 source

    Source documentation

    True if set $A$ contains 3 distinct collinear points over $R$.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: DivisionRing, AddCommGroup, Module, Set

    Proof uses: Exists, And, Membership.mem, Ne, Collinear, Insert.insert, Singleton.singleton

    11 instances, coercions and auxiliary constants left out.

    def HasCollinearTriple (R) {V : Type*} [DivisionRing R] [AddCommGroup V] [Module R V] (A : Set V) : Prop :=
    …
  3. theorem Erdos193.erdos_193 sorry line 57 source

    depends on sorry what this means

    Statement uses: Iff, False, Set, Fin, OfNat.ofNat, Nat, Int, Set.Finite, Erdos193.IsSWalk, Set.Infinite, Set.range, Erdos193.HasCollinearTriple, Rat, Function.comp

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

  4. theorem Erdos193.erdos_193_z2 [GeRa79] showed that the answer is yes for $\mathbb{Z}^2$ sorry line 76 source

    Source documentation

    [GeRa79] showed that the answer is yes for $\mathbb{Z}^2$

    depends on sorry what this means

    Statement uses: Set, Fin, OfNat.ofNat, Nat, Int, Set.Finite, Erdos193.IsSWalk, Set.Infinite, Set.range, Erdos193.HasCollinearTriple, Rat, Function.comp

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    24 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem erdos_193_z2 :
        ∀ S : Set (Fin 2 → ℤ), S.Finite →
          ∀ a : ℕ → Fin 2 → ℤ, IsSWalk S a → (range a).Infinite →
          HasCollinearTriple ℚ (range (fun n ↦ (↑) ∘ a n : ℕ → Fin 2 → ℚ)) := by
    …

    Mentions: Erdos193.IsSWalk, Erdos193.HasCollinearTriple