matching_vertices_card_at_most_twice_edges
theoremverified
The vertices of a matching with k edges fit in a set of at most 2k vertices.
Statement
theorem matching_vertices_card_at_most_twice_edges {V : Type*} [Fintype V] {k : ℕ} {H : SimpleGraph V} (M : H.Subgraph) (hM : M.IsMatching) (hMk : M.edgeSet.ncard = k) : ∃ S : Finset V, (∀ x, x ∈ M.verts → x ∈ S) ∧ S.card ≤ 2*k
- Source
- The matching-cardinality proof used in the proved complement-matching theorem.
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- extendible_matchable_two_k_vertices_complement_matchableIn a finite k-extendible graph, the complement of any matchable set of exactly 2k vertices is matchable.
- Used by 2
- k_extendable_essential_edge_unextendible_matchingIf G is k-extendable and deleting edge e destroys k-extendability, then a k-matching remains after the deletion but fails to extend to a…
- k7_balanced_cut_bound_of_deficiency_barrierUnder the displayed extendibility, separator, degree and independence conditions, the matching-deficiency barrier hypothesis implies at…
Lean source view module on GitHub
theorem matching_vertices_card_at_most_twice_edges {V : Type*} [Fintype V] {k : ℕ} {H : SimpleGraph V} (M : H.Subgraph) (hM : M.IsMatching) (hMk : M.edgeSet.ncard = k) : ∃ S : Finset V, (∀ x, x ∈ M.verts → x ∈ S) ∧ S.card ≤ 2*k := by classical refine ⟨M.verts.toFinset, by simp, ?_⟩ have h := in1076_matching_twice_card hM rw [hMk] at h have hc : M.verts.toFinset.card = M.verts.ncard := by rw [Set.ncard_eq_toFinset_card M.verts, Set.toFinite_toFinset] omega