FormalConjectures/ErdosProblems/1025.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

3 declarations, 1 contain sorry, 0 declared as axioms

Erdős Problem 1025

References:

Imports (1)
  1. def Erdos1025.IsIndependent X is independent for a set mapping f on pairs if f s(x, y) ∉ X whenever x ≠ y are in X line 42 source

    Source documentation

    X is independent for a set mapping f on pairs if f s(x, y) ∉ X whenever x ≠ y are in X.

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

    Statement uses: Nat, Sym2, Fin, Finset

    Proof uses: Membership.mem, Ne, Not, Sym2.mk

    2 instances, coercions and auxiliary constants left out.

    def IsIndependent {n : ℕ} (f : Sym2 (Fin n) → Fin n) (X : Finset (Fin n)) : Prop :=
    …
  2. def Erdos1025.g g n is the largest k such that every set mapping f on the pairs of an n-element set with f(x, y) ∉ {x, y} admits an independent set of size at least k line 47 source

    Source documentation

    g n is the largest k such that every set mapping f on the pairs of an n-element set with f(x, y) ∉ {x, y} admits an independent set of size at least k.

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

    Statement uses: Nat

    Proof uses: SupSet.sSup, Set.ofPred, And, LE.le, Sym2, Fin, Ne, Sym2.mk, Exists, Finset, Erdos1025.IsIndependent, Finset.card

    2 instances, coercions and auxiliary constants left out.

    noncomputable def g (n : ℕ) : ℕ :=
    …
  3. theorem Erdos1025.erdos_1025 sorry line 66 source

    depends on sorry what this means

    Statement uses: Asymptotics.IsTheta, Nat, Real, Filter.atTop, Erdos1025.g, Real.sqrt

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

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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