FormalConjectures/ErdosProblems/1010.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, 3 contain sorry, 0 declared as axioms

Erdős Problem 1010

References:

Imports (1)
  1. theorem Erdos1010.erdos_1010 sorry line 54 source

    depends on sorry what this means

    Statement uses: Iff, True, Nat, LT.lt, HDiv.hDiv, OfNat.ofNat, SimpleGraph, Fin, Eq, Finset.card, Sym2, SimpleGraph.edgeFinset, Classical.propDecidable, SimpleGraph.Adj, HAdd.hAdd, HPow.hPow, LE.le, HMul.hMul, Finset, SimpleGraph.cliqueFinset

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

    34 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  2. theorem Erdos1010.erdos_1010.variants.rademacher Rademacher proved that every graph on $n$ vertices with $\lfloor n^2/4\rfloor+1$ edges contains at least $\lfloor n/2\rfloor$ triangles sorry line 64 source

    Source documentation

    Rademacher proved that every graph on $n$ vertices with $\lfloor n^2/4\rfloor+1$ edges contains at least $\lfloor n/2\rfloor$ triangles.

    depends on sorry what this means

    Statement uses: Nat, SimpleGraph, Fin, Eq, Finset.card, Sym2, SimpleGraph.edgeFinset, Classical.propDecidable, SimpleGraph.Adj, HAdd.hAdd, HDiv.hDiv, HPow.hPow, OfNat.ofNat, LE.le, Finset, SimpleGraph.cliqueFinset

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

    28 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_1010.variants.rademacher : ∀ n : ℕ, ∀ G : SimpleGraph (Fin n),
        G.edgeFinset.card = n ^ 2 / 4 + 1 → n / 2 ≤ (G.cliqueFinset 3).card := by
    …
  3. theorem Erdos1010.erdos_1010.variants.erdos Erdős [Er62d] proved that every graph on $n$ vertices with $\lfloor n^2/4\rfloor+t$ edges contains at least $t\lfloor n/2\rfloor$ triangles, for all $t0$ sorry line 74 source

    Source documentation

    Erdős [Er62d] proved that every graph on $n$ vertices with $\lfloor n^2/4\rfloor+t$ edges contains at least $t\lfloor n/2\rfloor$ triangles, for all $t<cn$, for some constant $c>0$.

    L4DEL explanation

    Erdős [Er62d] proved that every graph on $n$ vertices with $\lfloor n^2/4\rfloor+t$ edges contains at least $t\lfloor n/2\rfloor$ triangles, for all $t0$.

    Sources and attribution: Pinned Lean source (1646ca16afd6)

    depends on sorry what this means

    Statement uses: Exists, Real, And, LT.lt, OfNat.ofNat, Nat, HMul.hMul, SimpleGraph, Fin, Eq, Finset.card, Sym2, SimpleGraph.edgeFinset, Classical.propDecidable, SimpleGraph.Adj, HAdd.hAdd, HDiv.hDiv, HPow.hPow, LE.le, Finset and 1 more

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

    44 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_1010.variants.erdos : ∃ c : ℝ, 0 < c ∧ ∀ n t : ℕ, t < c * n →
        ∀ G : SimpleGraph (Fin n), G.edgeFinset.card = n ^ 2 / 4 + t →
          t * (n / 2) ≤ (G.cliqueFinset 3).card := by
    …

    Mentions: c