FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Cycle.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 (1)
Imported by 1 file
- structure
SimpleGraph.CycleA cycle ofG, carrying its basepoint line 28 sourceSource documentation
A cycle of
G, carrying its basepoint. Bundling the basepoint makes the cycles ofGinto a type, so they can be collected into aFinsetor aMultiset.no axioms what this means
Statement uses:
SimpleGraphstructure Cycle (G : SimpleGraph V) where …
- def
SimpleGraph.Cycle.edgesThe edges a cycle traverses line 37 sourceSource documentation
The edges a cycle traverses.
no axioms what this means
Statement uses:
SimpleGraph, SimpleGraph.Cycle,List,Sym2Proof uses:
SimpleGraph.Walk.edges,SimpleGraph.Cycle.base,SimpleGraph.Cycle.walkdef Cycle.edges {G : SimpleGraph V} (c : Cycle G) : List (Sym2 V) := c.walk.edgesMentions: c, SimpleGraph.Cycle
- def
SimpleGraph.Cycle.lengthThe length of a cycle, its number of edges line 40 sourceSource documentation
The length of a cycle, its number of edges.
no axioms what this means
Statement uses:
SimpleGraph, SimpleGraph.Cycle,NatProof uses:
SimpleGraph.Walk.length,SimpleGraph.Cycle.base,SimpleGraph.Cycle.walkdef Cycle.length {G : SimpleGraph V} (c : Cycle G) : ℕ := c.walk.lengthMentions: c, SimpleGraph.Cycle
- def
SimpleGraph.IsBridgelessGis bridgeless if none of its edges is a bridge line 43 sourceSource documentation
Gis bridgeless if none of its edges is a bridge.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraphProof uses:
Sym2,Membership.mem,Set,SimpleGraph.edgeSet,Not,SimpleGraph.IsBridge1 instances, coercions and auxiliary constants left out.
def IsBridgeless (G : SimpleGraph V) : Prop := ∀ e ∈ G.edgeSet, ¬ G.IsBridge e
- theorem
SimpleGraph.edgeFinset_eq_empty_of_isBridgeless_of_isAcyclicIn a forest every edge is a bridge, so an acyclic bridgeless graph has no edges at all line 46 sourceSource documentation
In a forest every edge is a bridge, so an acyclic bridgeless graph has no edges at all.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,DecidableRel,SimpleGraph.Adj,SimpleGraph.IsAcyclic, SimpleGraph.IsBridgeless,Eq,Finset,Sym2,SimpleGraph.edgeFinset,EmptyCollection.emptyCollectionProof uses:
Eq.mpr,Bot.bot,id,congrArg,propext,SimpleGraph.edgeFinset_eq_empty,SimpleGraph.ext,funext,Iff,Not,Eq.trans,False,iff_false,Sym2.mk,Iff.mp,Membership.mem,Set,SimpleGraph.edgeSet,SimpleGraph.IsBridge,SimpleGraph.isAcyclic_iff_forall_isBridge12 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
theorem edgeFinset_eq_empty_of_isBridgeless_of_isAcyclic [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj] (hacyc : G.IsAcyclic) (hbr : G.IsBridgeless) : G.edgeFinset = ∅ := by …