FormalConjectures/ErdosProblems/180.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
7 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 180
References:
- erdosproblems.com/180
- [ErSi82] Erdős, P. and Simonovits, M., Compactness results in extremal graph theory. Combinatorica (1982), 275-288.
- [OpenAI26] OpenAI, Ten advances in mathematics and theoretical computer science. (2026).
Imports (1)
- structure
Erdos180.FiniteGraphA finite graph, bundled with its vertex count, so that a family may mix orders line 37 sourceSource documentation
A finite graph, bundled with its vertex count, so that a family may mix orders.
no axioms what this means
structure FiniteGraph where …
- def
Erdos180.FamilyFreeA host graph isfamily-free when it contains no member offamilyas a subgraph line 42 sourceSource documentation
A host graph is
family-free when it contains no member offamilyas a subgraph.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset, Erdos180.FiniteGraph,Nat,SimpleGraph,FinProof uses:
Membership.mem,SimpleGraph.Free,Erdos180.FiniteGraph.order,Erdos180.FiniteGraph.graph2 instances, coercions and auxiliary constants left out.
def FamilyFree (family : Finset FiniteGraph) {n : ℕ} (host : SimpleGraph (Fin n)) : Prop := …Mentions: Erdos180.FiniteGraph
- def
Erdos180.familyExtremal$\mathrm{ex}(n;\mathcal{F})$, the greatest number of edges of a graph onnvertices containing no member offamilyline 48 sourceSource documentation
$\mathrm{ex}(n;\mathcal{F})$, the greatest number of edges of a graph on
nvertices containing no member offamily.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset, Erdos180.FiniteGraph,NatProof uses:
Finset.sup,SimpleGraph,Fin,Finset.filter, Erdos180.FamilyFree,Classical.propDecidable,Finset.univ,Finset.card,Sym2,SimpleGraph.edgeFinset,SimpleGraph.Adj8 instances, coercions and auxiliary constants left out.
noncomputable def familyExtremal (family : Finset FiniteGraph) (n : ℕ) : ℕ := …
Mentions: Erdos180.FiniteGraph
- def
Erdos180.IsCyclicFamilyNo member of the family is acyclic line 53 sourceSource documentation
No member of the family is acyclic.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset, Erdos180.FiniteGraphProof uses:
Membership.mem,Not,SimpleGraph.IsAcyclic,Fin,Erdos180.FiniteGraph.order,Erdos180.FiniteGraph.graph2 instances, coercions and auxiliary constants left out.
def IsCyclicFamily (family : Finset FiniteGraph) : Prop := …
Mentions: Erdos180.FiniteGraph
- def
Erdos180.IsCompactFamilyThe family is compact: some single member already controls the family extremal number line 57 sourceSource documentation
The family is compact: some single member already controls the family extremal number.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset, Erdos180.FiniteGraphProof uses:
Exists,And,Membership.mem,Real,LT.lt,OfNat.ofNat,Filter.Eventually,Nat,LE.le,SimpleGraph.extremalNumber,Fin,Erdos180.FiniteGraph.order,Erdos180.FiniteGraph.graph,HMul.hMul, Erdos180.familyExtremal,Filter.atTop11 instances, coercions and auxiliary constants left out.
def IsCompactFamily (family : Finset FiniteGraph) : Prop := …
Mentions: Erdos180.FiniteGraph
- theorem
Erdos180.erdos_180Documented declaration: erdos_180 sorry line 75 sourceSource documentation
If $\mathcal{F}$ is a finite set of finite graphs then $\mathrm{ex}(n;\mathcal{F})$ is the maximum number of edges a graph on $n$ vertices can have without containing any subgraphs from $\mathcal{F}$. Note that it is trivial that $\mathrm{ex}(n;\mathcal{F})\leq \mathrm{ex}(n;G)$ for every $G\in\mathcal{F}$. Is it true that, for every $\mathcal{F}$, there exists $G\in\mathcal{F}$ such that $$\mathrm{ex}(n;G)\ll_{\mathcal{F}}\mathrm{ex}(n;\mathcal{F})?$$
This is the Erdős–Simonovits compactness conjecture. The answer is no: OpenAI [OpenAI26] give a family of connected bipartite graphs, none of them acyclic, for which no single member controls the family extremal number. See
erdos_180.variants.counterexample.depends on sorry what this means
Statement uses:
Iff,False,Finset, Erdos180.FiniteGraph,Finset.Nonempty, Erdos180.IsCyclicFamily, Erdos180.IsCompactFamilyProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,Nat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_180 : answer(False) ↔ ∀ family : Finset FiniteGraph, family.Nonempty → IsCyclicFamily family → IsCompactFamily family := by …Mentions: Erdos180.FiniteGraph, Erdos180.IsCyclicFamily, Erdos180.IsCompactFamily
- theorem
Erdos180.erdos_180.variants.counterexamplesorry line 86 sourcedepends on sorry what this means
Statement uses:
Exists,Finset, Erdos180.FiniteGraph,And,Finset.Nonempty,Membership.mem,SimpleGraph.Connected,Fin,Erdos180.FiniteGraph.order,Erdos180.FiniteGraph.graph,SimpleGraph.IsBipartite,Not,SimpleGraph.IsAcyclic, Erdos180.IsCompactFamilyProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,Nat5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.