simple_graph_longest_cycles_card_eq
theoremverified
Any two longest cycles of a simple graph have the same number of vertices.
Statement
theorem simple_graph_longest_cycles_card_eq {V : Type*} {G : SimpleGraph V} (C D : G.Subgraph) (hC : simple_graph_is_longest_cycle C) (hD : simple_graph_is_longest_cycle D) : C.verts.ncard = D.verts.ncard
- Source
- step towards k_connected_longest_cycles_intersection_bound
- Verified
- 24 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- simple_graph_is_longest_cycleA subgraph C of a simple graph G is a longest cycle if it is a cycle subgraph and its vertex set has maximum cardinality among all cycle…
- simple_graph_is_cycle_subgraphA subgraph C of a simple graph G is a cycle if C is the subgraph traversed by a cycle walk in G.
Lean source view module on GitHub
/-- Any two longest cycles of a simple graph have the same vertex cardinality. -/ theorem simple_graph_longest_cycles_card_eq {V : Type*} {G : SimpleGraph V} (C D : G.Subgraph) (hC : simple_graph_is_longest_cycle C) (hD : simple_graph_is_longest_cycle D) : C.verts.ncard = D.verts.ncard := by exact le_antisymm (hD.2 C hC.1) (hC.2 D hD.1)