FormalConjecturesForMathlib/Combinatorics/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
3 declarations, 0 contain sorry, 0 declared as axioms
Hypergraph Ramsey Numbers
This file defines the r-uniform hypergraph Ramsey number R_r(n).
Imported by 2 files
- def
Combinatorics.hypergraphRamseyTher-uniform hypergraph Ramsey numberR_r(n)line 37 sourceSource documentation
The
r-uniform hypergraph Ramsey numberR_r(n). The smallest natural numbermsuch that every 2-coloring of ther-subsets of a set of sizemcontains a monochromatic subset of sizen.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,Finset,Fin,Bool,Exists,And,Eq,Finset.card,LE.le4 instances, coercions and auxiliary constants left out.
noncomputable def hypergraphRamsey (r n : ℕ) : ℕ := …
- theorem
Combinatorics.le_hypergraphRamseyn ≤ hypergraphRamsey r nwhen the set is nonempty line 43 sourceSource documentation
n ≤ hypergraphRamsey r nwhen the set is nonempty.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Set.Nonempty,Set.ofPred,Finset,Fin,Bool,Exists,And,Eq,Finset.card,LE.le, Combinatorics.hypergraphRamseyProof uses:
le_csInf,Membership.mem,Set,Bool.false,Trans.trans,Fintype.card,Eq.symm,Finset.card_le_univ,Fintype.card_fin20 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
theorem le_hypergraphRamsey (r n : ℕ) (hne : { m | ∀ (c : Finset (Fin m) → Bool), ∃ (S : Finset (Fin m)), S.card = n ∧ ∃ (color : Bool), ∀ (e : Finset (Fin m)), e ⊆ S → e.card = r → c e = color }.Nonempty) : n ≤ hypergraphRamsey r n := by …Mentions: c, Combinatorics.hypergraphRamsey
- theorem
Combinatorics.hypergraphRamsey_selfhypergraphRamsey r r = rfor anyrline 56 sourceSource documentation
hypergraphRamsey r r = rfor anyr.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, Combinatorics.hypergraphRamseyProof uses:
Membership.mem,Set,Set.ofPred,Finset,Fin,Bool,Exists,And,Finset.card,LE.le,Exists.intro,Finset.univ,And.intro,of_eq_true,Eq.trans,True,congrFun',congrArg,Fintype.card_fin,eq_selfand 8 more6 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
theorem hypergraphRamsey_self (r : ℕ) : hypergraphRamsey r r = r := by …
Mentions: Combinatorics.hypergraphRamsey