FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Degeneracy.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
4 declarations, 0 contain sorry, 0 declared as axioms
Graph degeneracy
A graph is $r$-degenerate if each nonempty finite vertex set contains a vertex with at most $r$ neighbours in that set.
Imported by 1 file
- def
SimpleGraph.neighborsWithinThe neighbours ofvlying insidesline 35 sourceSource documentation
The neighbours of
vlying insides.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,FinsetProof uses:
Finset.filter,SimpleGraph.Adj,Classical.propDecidablenoncomputable def neighborsWithin {V : Type*} (H : SimpleGraph V) (s : Finset V) (v : V) : Finset V := s.filter (H.Adj v) - def
SimpleGraph.IsDegenerateHisr-degenerate when every induced subgraph has a vertex of degree at mostr, that is, every nonempty vertex set contains a vertex with at mostrneighbours inside it line 40 sourceSource documentation
Hisr-degenerate when every induced subgraph has a vertex of degree at mostr, that is, every nonempty vertex set contains a vertex with at mostrneighbours inside it.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,NatProof uses:
Finset,Finset.Nonempty,Exists,And,Membership.mem,LE.le,Finset.card, SimpleGraph.neighborsWithin3 instances, coercions and auxiliary constants left out.
def IsDegenerate {V : Type*} (H : SimpleGraph V) (r : ℕ) : Prop := … - lemma
SimpleGraph.neighborsWithin_emptyline 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,Eq,Finset, SimpleGraph.neighborsWithin,EmptyCollection.emptyCollectionProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,Finset.filter_empty,SimpleGraph.Adj,Classical.propDecidable,eq_self2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
SimpleGraph.isDegenerate_botline 49 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, SimpleGraph.IsDegenerate,Bot.bot,SimpleGraphProof uses:
Finset,Finset.Nonempty,Membership.mem,Exists,And,LE.le,Finset.card, SimpleGraph.neighborsWithin,Exists.intro,And.intro,of_eq_true,Eq.trans,OfNat.ofNat,True,congrFun',congrArg,EmptyCollection.emptyCollection,Finset.filter,SimpleGraph.Adj,Classical.propDecidableand 4 more17 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.