FormalConjectures/ErdosProblems/794.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
5 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 794
References:
- erdosproblems.com/794
- [Er69] Erdős, Paul, Some applications of graph theory to number theory. The Many Facets of Graph Theory (Proc. Conf., Western Mich. Univ., Kalamazoo, Mich., 1968) (1969), 77-82.
- [FrFu84] Frankl, P. and Füredi, Z., An exact result for $3$-graphs. Discrete Math. (1984), 323-328.
Imports (1)
- def
Erdos794.harrisHypergraphDocumented declaration: harrisHypergraph line 41 sourceSource documentation
The
3-uniform hypergraph onFin 9given by Harris: the27triples containing exactly one vertex from each of the three parts{0, 1, 2},{3, 4, 5},{6, 7, 8}, together with the triple{0, 1, 2}. A triple is a transversal of the three parts exactly when the three values ofv ↦ v / 3it produces are distinct.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset,Fin,OfNat.ofNat,NatProof uses:
Insert.insert,Singleton.singleton,Finset.filter,Eq,Finset.card,Finset.image,HDiv.hDiv,Finset.powersetCard,Finset.univ13 instances, coercions and auxiliary constants left out.
def harrisHypergraph : Finset (Finset (Fin 9)) := …
- theorem
Erdos794.erdos_794Documented declaration: erdos_794 sorry line 58 sourceSource documentation
Is it true that every $3$-uniform hypergraph on $3n$ vertices with at least $n^3+1$ edges must contain either a subgraph on $4$ vertices with $3$ edges or a subgraph on $5$ vertices with $7$ edges?
Harris has provided the following simple counterexample to the problem as stated: the $3$-uniform graph on $\{1,\ldots,9\}$ with $28$ edges, formed by taking $27$ edges by choosing one element each from $\{1,2,3\},\{4,5,6\},\{7,8,9\}$, and then adding the edge $\{1,2,3\}$.
depends on sorry what this means
Statement uses:
Iff,False,Nat,Finset,Fin,HMul.hMul,OfNat.ofNat, Finset.IsUniform,LE.le,HAdd.hAdd,HPow.hPow,Finset.card,Or, Finset.ContainsSubgraphProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_794 : answer(False) ↔ ∀ n : ℕ, ∀ H : Finset (Finset (Fin (3 * n))), H.IsUniform 3 → n ^ 3 + 1 ≤ H.card → H.ContainsSubgraph 4 3 ∨ H.ContainsSubgraph 5 7 := by … - theorem
Erdos794.erdos_794.variants.baloghDocumented declaration: balogh line 69 sourceSource documentation
Balogh has observed that this problem is probably misstated by Erdős - indeed, every graph with $5$ vertices spanning $7$ edges contains a graph on $4$ vertices spanning $3$ edges, so the second condition can be dropped.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
DecidableEq,Finset, Finset.IsUniform,OfNat.ofNat,Nat, Finset.ContainsSubgraphProof uses:
And,Eq,Finset.card,LE.le,Finset.filter,Classical.byContradiction,Not,Finset.sum,Finset.powersetCard,Trans.trans,Finset.sum_le_sum,Membership.mem,LT.lt,Eq.mp,Eq.trans,Exists,forall_congr,implies_congr,Eq.refl,And.rightand 37 more48 instances, coercions and auxiliary constants left out.
Tactic trace: 28 steps
Open to load the checked before-and-after goal states.
theorem erdos_794.variants.balogh {V : Type*} [DecidableEq V] (H : Finset (Finset V)) (hH : H.IsUniform 3) (h : H.ContainsSubgraph 5 7) : H.ContainsSubgraph 4 3 := by … - theorem
Erdos794.erdos_794.variants.harrisDocumented declaration: harris line 108 sourceSource documentation
Harris has provided the following simple counterexample to the problem as stated: the $3$-uniform graph on $\{1,\ldots,9\}$ with $28$ edges, formed by taking $27$ edges by choosing one element each from $\{1,2,3\},\{4,5,6\},\{7,8,9\}$, and then adding the edge $\{1,2,3\}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
And, Finset.IsUniform,Fin,OfNat.ofNat,Nat, Erdos794.harrisHypergraph,Eq,Finset.card,Finset,Not, Finset.ContainsSubgraphProof uses:
id,Membership.mem7 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem erdos_794.variants.harris : harrisHypergraph.IsUniform 3 ∧ harrisHypergraph.card = 28 ∧ ¬ harrisHypergraph.ContainsSubgraph 4 3 ∧ ¬ harrisHypergraph.ContainsSubgraph 5 7 := by … - theorem
Erdos794.erdos_794.variants.frankl_furediThis problem is then now asking how many edges a $3$-uniform hypergraph can have before it contains $K_4$ minus an edge, and whether the critical edge density is $2/9$ sorry line 122 sourceSource documentation
This problem is then now asking how many edges a $3$-uniform hypergraph can have before it contains $K_4$ minus an edge, and whether the critical edge density is $2/9$. In fact there is a construction of Frankl and Füredi [FrFu84] showing it must be at least $2/7$, which is the conjectured truth (although Turán conjectured before [Er69] that the edge density was $1/4$, and so likely there is simply a typo in this problem's statement).
depends on sorry what this means
Statement uses:
Real,LT.lt,OfNat.ofNat,Filter.Eventually,Nat,Exists,Finset,Fin,And, Finset.IsUniform,Not, Finset.ContainsSubgraph,LE.le,HMul.hMul,HSub.hSub,HDiv.hDiv,Nat.choose,Finset.card,Filter.atTopProof 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_794.variants.frankl_furedi (ε : ℝ) (hε : 0 < ε) : ∀ᶠ n : ℕ in atTop, ∃ H : Finset (Finset (Fin n)), H.IsUniform 3 ∧ ¬ H.ContainsSubgraph 4 3 ∧ (2 / 7 - ε) * (n.choose 3 : ℝ) ≤ (H.card : ℝ) := by …