FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Ramsey.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
8 declarations, 0 contain sorry, 0 declared as axioms
Ramsey-type properties of graph pairs
The Erdős–Hajnal "exceptional pair" trio of predicates:
HasFiniteRamseyProperty G₁ G₂— for everyn ≥ 1there is aG₁-free graphHsuch that everyn-edge-colouring ofHcontains a monochromaticG₂.HasCountableRamseyEscape G₁ G₂— everyG₁-free graphHadmits a countable edge-colouring with every colour classG₂-free.IsErdosHajnalExceptional G₁ G₂— the conjunction of both.
These were introduced for Erdős Problem 596 but are reusable for Problem 595 and other Ramsey-type questions; we factor them out per mo271's review.
It also defines the two-colour graph Ramsey number graphRamsey G H and the notion of a
Ramsey size linear graph IsRamseySizeLinear G of Erdős, Faudree, Rousseau and Schelp.
References
- Erdős, Faudree, Rousseau and Schelp, Ramsey size linear graphs, Combin. Probab. Comput. 2 (1993), 389–399.
Imports (6)
Imported by 1 file
- def
SimpleGraph.HasFiniteRamseyPropertyThe finite Ramsey property for the pair line 55 sourceSource documentation
The finite Ramsey property for the pair $(G_1, G_2)$: for every $n \geq 1$, there exists a $G_1$-free graph
Hon some vertex type inType(universe 0) such that everyn-edge-colouring ofHcontains a monochromatic copy ofG_2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraphProof uses:
Nat,LE.le,OfNat.ofNat,Exists,And,SimpleGraph.Free,Fin, SimpleGraph.IsEdgeColouring,SimpleGraph.IsContained2 instances, coercions and auxiliary constants left out.
def HasFiniteRamseyProperty {U₁ U₂ : Type*} (G₁ : SimpleGraph U₁) (G₂ : SimpleGraph U₂) : Prop := … - def
SimpleGraph.HasCountableRamseyEscapeThe countable Ramsey escape property for the pair line 66 sourceSource documentation
The countable Ramsey escape property for the pair $(G_1, G_2)$: every $G_1$-free graph
Hon aType-valued vertex type has a countable edge-colouring in which every colour class is $G_2$-free.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraphProof uses:
SimpleGraph.Free,Exists,Nat,And, SimpleGraph.IsEdgeColouringdef HasCountableRamseyEscape {U₁ U₂ : Type*} (G₁ : SimpleGraph U₁) (G₂ : SimpleGraph U₂) : Prop := … - def
SimpleGraph.IsErdosHajnalExceptionalA pair $(G_1, G_2)$ is Erdős–Hajnal exceptional if it has both the finite Ramsey property and the countable Ramsey escape property line 75 sourceSource documentation
A pair $(G_1, G_2)$ is Erdős–Hajnal exceptional if it has both the finite Ramsey property and the countable Ramsey escape property.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraphProof uses:
And, SimpleGraph.HasFiniteRamseyProperty, SimpleGraph.HasCountableRamseyEscapedef IsErdosHajnalExceptional {U₁ U₂ : Type*} (G₁ : SimpleGraph U₁) (G₂ : SimpleGraph U₂) : Prop := … - def
SimpleGraph.graphRamseyDocumented declaration: graphRamsey line 87 sourceSource documentation
The two-color Ramsey number
graphRamsey G His the minimum number of verticesnsuch that every 2-coloring of the edges of the complete graph onnvertices contains a copy ofGin the first color or a copy ofHin the second color.A 2-coloring of the complete graph on
Fin nis represented by a graphC(the edges of the first color) and its complementCᶜ(the edges of the second color).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,NatProof uses:
InfSet.sInf,Set.ofPred,Fin,Or,SimpleGraph.IsContained,Compl.compl2 instances, coercions and auxiliary constants left out.
noncomputable def graphRamsey {α β : Type*} [Fintype α] [Fintype β] (G : SimpleGraph α) (H : SimpleGraph β) : ℕ := … - def
SimpleGraph.diagonalGraphRamseyThe diagonal graph Ramsey numberR(G, G)line 92 sourceSource documentation
The diagonal graph Ramsey number
R(G, G).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,NatProof uses: SimpleGraph.graphRamsey
noncomputable def diagonalGraphRamsey {α : Type*} [Fintype α] (G : SimpleGraph α) : ℕ := … - def
SimpleGraph.classicalRamseyThe classical two-color Ramsey numberR(k, l) = R(K_k, K_l)line 96 sourceSource documentation
The classical two-color Ramsey number
R(k, l) = R(K_k, K_l).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses: SimpleGraph.graphRamsey,
Fin,SimpleGraph.completeGraph1 instances, coercions and auxiliary constants left out.
noncomputable def classicalRamsey (k l : ℕ) : ℕ := …
Mentions: SimpleGraph.l
- def
SimpleGraph.diagonalRamseyThe diagonal classical Ramsey numberR(k) = R(K_k, K_k)line 100 sourceSource documentation
The diagonal classical Ramsey number
R(k) = R(K_k, K_k).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses: SimpleGraph.classicalRamsey
noncomputable def diagonalRamsey (k : ℕ) : ℕ := …
- def
SimpleGraph.IsRamseySizeLinearDocumented declaration: IsRamseySizeLinear line 111 sourceSource documentation
A graph
Gis Ramsey size linear if there exists a constantc > 0such that for all graphsHwithmedges and no isolated vertices, the Ramsey number satisfiesR(G, H) ≤ c · m.Note that this is about the (vertex) Ramsey number
graphRamsey G H, not the size Ramsey numbersizeRamsey G H.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraphProof uses:
Exists,Real,And,GT.gt,OfNat.ofNat,Nat,Fin,DecidableRel,SimpleGraph.Adj,LT.lt,SimpleGraph.degree,Membership.mem,Set,SimpleGraph.neighborSet,LE.le, SimpleGraph.graphRamsey,HMul.hMul,Set.ncard,Sym2,SimpleGraph.edgeSet14 instances, coercions and auxiliary constants left out.
def IsRamseySizeLinear {α : Type*} [Fintype α] (G : SimpleGraph α) : Prop := …