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

2 declarations, 2 contain sorry, 0 declared as axioms

Erdős Problem 1009

References:

Imports (1)
  1. theorem Erdos1009.erdos_1009 sorry line 54 source

    depends on sorry what this means

    Statement uses: Iff, True, Real, LT.lt, OfNat.ofNat, Exists, Nat, SimpleGraph, Fin, LE.le, HAdd.hAdd, HDiv.hDiv, HPow.hPow, Set.ncard, Sym2, SimpleGraph.edgeSet, HMul.hMul, Finset, And, Membership.mem and 4 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.

  2. theorem Erdos1009.erdos_1009.variants.sauer Documented declaration: sauer sorry line 66 source

    Source documentation

    Sauer gave an example of a graph on $n$ vertices with $\lfloor n^2/4\rfloor+2n-6$ many edges which contains only $2n-7$ many edge disjoint triangles: if $n=2r+4$ then $G$ is the complete tripartite graph on $[r]\times [r]\times [4]$, with a $K_4$ on the $[4]$ vertices also.

    depends on sorry what this means

    Statement uses: Nat, LE.le, OfNat.ofNat, Exists, SimpleGraph, Fin, HAdd.hAdd, HMul.hMul, And, Eq, Set.ncard, Sym2, SimpleGraph.edgeSet, HSub.hSub, HDiv.hDiv, HPow.hPow, Finset, Membership.mem, SimpleGraph.IsNClique, Set.Pairwise and 2 more

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

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_1009.variants.sauer : ∀ r : ℕ, 1 ≤ r → ∃ G : SimpleGraph (Fin (2 * r + 4)),
        G.edgeSet.ncard = (2 * r + 4) ^ 2 / 4 + 2 * (2 * r + 4) - 6 ∧
          ∀ T : Finset (Finset (Fin (2 * r + 4))), (∀ t ∈ T, G.IsNClique 3 t) →
            (T : Set (Finset (Fin (2 * r + 4)))).Pairwise (fun s t => (s ∩ t).card ≤ 1) →
              T.card ≤ 2 * (2 * r + 4) - 7 := by
    …