FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Clique.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, 0 contain sorry, 0 declared as axioms
Imports (3)
Imported by 2 files
- lemma
SimpleGraph.indepNum_of_isEmptyline 31 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,IsEmpty,Eq,Nat,SimpleGraph.indepNum,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,SupSet.sSup,Set.ofPred,Exists,Finset,SimpleGraph.IsNIndepSet,Singleton.singleton,Set,funext,And,SimpleGraph.IsIndepSet,EmptyCollection.emptyCollection,Finset.card,Subsingleton,EmptyCollection,Subsingleton.elimand 6 more21 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
SimpleGraph.indepNum_posline 34 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,Finite,Nonempty,LT.lt,Nat,OfNat.ofNat,SimpleGraph.indepNumProof uses:
Fintype,Eq,nonempty_fintype,Nonempty.intro,Eq.mpr,LE.le,HAdd.hAdd,id,congrArg,Eq.symm,propext,Nat.add_one_le_iff,le_csSup,Set.ofPred,Exists,Finset,SimpleGraph.IsNIndepSet,Exists.intro,Membership.mem,Setand 25 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- def
SimpleGraph.ecliqueNumline 45 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,ENatProof uses:
iSup,Finset,SimpleGraph.IsClique,Finset.card9 instances, coercions and auxiliary constants left out.
- def
SimpleGraph.cliqueSizesThe set of sizes of the cliques (maximal complete subgraphs) ofGline 48 sourceSource documentation
The set of sizes of the cliques (maximal complete subgraphs) of
G.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,Set,NatProof uses:
Set.ofPred,Exists,Finset,And,Maximal,SimpleGraph.IsClique,Eq,Finset.card5 instances, coercions and auxiliary constants left out.
def cliqueSizes {V : Type} (G : SimpleGraph V) : Set ℕ := … - def
SimpleGraph.trianglesContainingThe triangles ofGcontaining the edgeuv, that is, the3-cliques ofGwhose vertex set contains both endpoints ofuvline 54 sourceSource documentation
The triangles of
Gcontaining the edgeuv, that is, the3-cliques ofGwhose vertex set contains both endpoints ofuv.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,Sym2,FinsetProof uses:
Finset.filter,LE.le,Sym2.toFinset,Classical.propDecidable,Eq,SimpleGraph.cliqueFinset,SimpleGraph.Adj,OfNat.ofNat,Nat5 instances, coercions and auxiliary constants left out.
noncomputable def trianglesContaining {α : Type*} [Fintype α] (G : SimpleGraph α) (uv : Sym2 α) : Finset (Finset α) := …