FormalConjecturesForMathlib/Combinatorics/SimpleGraph/SizeRamsey.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
1 declarations, 0 contain sorry, 0 declared as axioms
Size Ramsey Number
This file defines the size Ramsey number for simple graphs.
Definition
The size Ramsey number r̂(G, H) is the minimum number of edges in a graph F
such that any 2-coloring of F's edges contains a copy of G in one color or H in the other.
Imported by 1 file
- def
SimpleGraph.sizeRamseyThe size Ramsey numberr̂(G, H)is the minimum number of edges in a graphFsuch that any 2-coloring ofF's edges contains a copy ofGin one color orHin the other line 43 sourceSource documentation
The size Ramsey number
r̂(G, H)is the minimum number of edges in a graphFsuch that any 2-coloring ofF's edges contains a copy ofGin one color orHin the other.A 2-coloring is represented by a subgraph
R ≤ F(the "red" edges); the "blue" edges areF \ R.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,NatProof uses:
InfSet.sInf,Set.ofPred,Exists,Fin,And,Eq,Set.ncard,Sym2,SimpleGraph.edgeSet,LE.le,Or,SimpleGraph.IsContained,SDiff.sdiff3 instances, coercions and auxiliary constants left out.
noncomputable def sizeRamsey {α β : Type*} [Fintype α] [Fintype β] (G : SimpleGraph α) (H : SimpleGraph β) : ℕ := …