FormalConjectures/ErdosProblems/1009.lean
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:
- erdosproblems.com/1009
- [Er71] Erdős, P., Some unsolved problems in graph theory and combinatorial analysis. Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) (1971), 97--109.
- [Gy88] Győri, E., On the number of edge-disjoint triangles in graphs of given size. (1988), 267--276.
Imports (1)
- theorem
Erdos1009.erdos_1009sorry line 54 sourcedepends 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.memand 4 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous44 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos1009.erdos_1009.variants.sauerDocumented declaration: sauer sorry line 66 sourceSource 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.Pairwiseand 2 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous38 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 …