is_k_extendable
For a finite vertex type V (with [Fintype V]), a simple graph G : SimpleGraph V and k : ℕ, is_k_extendable G k is the Prop that is the conjunction of three conditions: (1) 2 * k + 2 ≤ Fintype.card V; (2) there is a subgraph M : G.Subgraph with M.IsMatching and M.edgeSet.ncard = k (a matching with exactly k edges); (3) for every subgraph M : G.Subgraph with M.IsMatching and M.edgeSet.ncard = k there is a subgraph P : G.Subgraph with P.IsPerfectMatching and M ≤ P (every k-matching extends to a perfect matching).
Statement
def is_k_extendable {V : Type*} [Fintype V] (G : SimpleGraph V) (k : ℕ) : Prop
- Defined in
- arXiv:2611.22690, Section 2 (definition of k-extendable graphs); matchings are Mathlib subgraphs with IsMatching, size = ncard of the edge set
- Verified
- 18 Nov 2026
- Axioms
- none listed
- Used by 101
- graph_iso_odd_components_cardA finite graph isomorphism preserves the number of odd connected components.
- op1957_literal_theorem_1_2_falseUnder the definition in Section 2 of arXiv:2611.22690, which does not require connectedness, the assertion that every minimally…
- minimally_k_extendable_simplicial_complement_degree_boundFor a minimally k-extendable graph on 2k+2j vertices, j at least two, a complement-simplicial vertex satisfying the displayed numerical…
- boundary_five_blocks_essential_edge_cross_defect_patternIn the displayed four-block partition with both selected blocks of size five, minimum degree at least 2k+2, a separator property and…
- op1957_exceptional_pool_example_not_extendibleThe exceptional 44-vertex graph is not 11-extendible.
- extendible_essential_edge_ambient_odd_shoresFor an essential edge xy of a k-extendible graph on 4k vertices, there are disjoint ambient vertex sets X, Y and U and a natural number s:…
- factorcritical_saturated_twin_first_forced_edge_has_removable_incident_edgeA 2k-factor-critical k-extendible graph with the displayed saturated complement twins, first forced zero-codegree residual edge and order…
- minimally_k_extendable_five_block_boundary_degree_bound_with_separatorFor every natural number k at least five, let G be a connected minimally k-extendible simple graph on Fin (4k) with decidable adjacency.…
- is_minimally_k_extendableFor a finite vertex type V (with [Fintype V]), a simple graph G : SimpleGraph V and k : ℕ, is_minimally_k_extendable G k is the Prop…
- saturated_small_shore_singleton_pool_emptyUnder the displayed saturated four-shore hypotheses, a singleton pool with a=1 and at most two exceptional groups is empty.
- k_extendable_order_two_mul_add_eight_twin_low_codegree_one_removableFor a k-extendable graph on 2k+8 vertices with k at least four and minimum degree at least 2k+2, let a,b be degree-five complement twins.…
- six_class_cut_eliminationIn the displayed balanced six-class partition, the separator, degree and anticompleteness conditions force all vertices into the two…
- boundary_five_clique_blocks_full_cross_essential_edge_forces_twinsIn the displayed size-five four-clique boundary partition of a 2k-connected k-extendible graph with degree at least 2k+2, suppose x in the…
- maximum_matching_uncovered_incidence_independence_boundFor a maximum matching with t uncovered vertices, a global independent-set bound k bounds the number of edges from uncovered vertices to…
- boundary_five_odd_positive_barrier_forces_patterns_with_extendibilityThe displayed positive-barrier defect patterns hold under the original saturated five-by-odd assumptions together with explicit…
- no_two_crossing_matching_independence_incidence_boundIf distinct vertices of U cannot cross to adjacent vertices of R, |U|=2r, |R|=2k, a (k−r)-matching inside R and α≤k imply e(U,R)≤2rk+2r.
- minimal_factorcritical_saturated_twins_strict_quadratic_boundA minimally k-extendible 2k-factor-critical graph with the displayed saturated complement twins satisfies 4(2k+2)<(d−1)(d−2).
- boundary_five_odd_positive_large_shore_forces_common_defectsUnder the displayed saturated five-by-odd partition, extendibility, independence, degree and separator hypotheses, a positive barrier…
- extendible_independent_common_nonneighbor_deficit_le_zeroUnder the stated high-degree extendibility and independence assumptions, a nonempty independent U and a disjoint anticomplete W satisfy…
- extendible_balanced_cut_matching_deficiency_two_odd_boundUnder the stated separator and degree conditions, a balanced side with a matching of k−2 edges has at most two odd components on the…
- boundary_seven_block_example_cross_edge_essentialIn the explicitly defined 28-vertex four-block graph, the edge from 0 to 14 is present, and deleting it leaves a graph that is not…
- near_perfect_matching_independent_anticomplete_countIf a matching misses at most two vertices of R, an independent subset U and a disjoint anticomplete subset W obey 2|U|+|W|≤|R|+2.
- minimally_k_extendable_triangle_component_boundary_degree_bound_with_separatorFor a minimally k-extendible graph with the displayed four-block partition, a three-vertex block, a factor-critical opposite same-side…
- 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…
- large_extendible_high_degree_independence_number_boundFor k at least two, a connected k-extendible graph on 4k vertices with minimum degree at least 2k+1 has no independent vertex set larger…
- extendible_equal_cut_maximum_matching_deficiency_at_most_oneUnder the displayed extendibility, minimum degree, independence and equal-half matching assumptions, a maximum internal matching has at…
- extendible_high_degree_balanced_cut_odd_bound_no_separatorIn the displayed high-degree extendible graph with independence bound k, every balanced half has at most two odd components, with no…
- minimally_k_extendable_degree_surplus_zero_codegree_complete_bipartiteIn a minimally k-extendable graph of minimum degree at least 2k+r, r at least two, every graph edge whose endpoints have no common…
- boundary_five_clique_blocks_full_cross_essential_edge_forces_twins_of_bridgeConditional form of boundary_five_clique_blocks_full_cross_essential_edge_forces_twins: in the size-five four-clique boundary partition of…
- minimally_k_extendable_even_j_surplus_three_degree_boundFor even j at least eight and j≤k, every minimally k-extendable graph on 2k+2j vertices has minimum degree at most 2k+j−4.
- extendible_balanced_cut_matching_deficiency_odd_boundIn an order-4k k-extendible graph with the stated 2k-separator and degree bounds, a balanced side containing a matching with deficit r has…
- extendible_balanced_cut_odd_bound_of_even_cross_matchingThe opposite side has at most r odd components if the specified crossing matching meets every odd component in an even number of vertices.
- in1261_seven_target_edge_not_extendibleDeleting the edge from vertex 0 to vertex 14 leaves the explicit seven-by-seven control graph not 7-extendible.
- not_is_k_extendable_bot_fin_fourThe empty graph on 4 vertices is not 1-extendable (it has no edge, hence no 1-matching).
- minimally_k_extendable_order_two_mul_add_eight_dense_complement_neighborhood_boundA minimally k-extendable graph on 2k+8 vertices, k at least four, has minimum degree at most 2k+1 if the complement has a degree-four…
- pairwise_intersecting_edges_have_centerA finite graph with at least four vertices, no isolated vertex and pairwise intersecting edges has a common endpoint for all edges.
- perfect_matching_induced_edges_form_matchingThe edges of a perfect matching internal to a given vertex set form a matching supported on that set.
- minimally_k_extendable_order_two_mul_add_eight_complement_degree_three_boundA minimally k-extendable graph on 2k+8 vertices, for k at least four, has minimum degree at most 2k+1 if some vertex has at most three…
- op1957_barrier_count_example_not_extendibleThe explicit 44-vertex barrier count example is not 11-extendible.
- extendible_matchable_two_k_vertices_complement_matchableIn a finite k-extendible graph, the complement of any matchable set of exactly 2k vertices is matchable.
- minimally_k_extendable_order_two_mul_add_eight_low_codegree_degree_boundA minimally k-extendable graph on 2k+8 vertices, k at least four, has minimum degree at most 2k+1 whenever it has an edge whose endpoints…
- boundary_five_odd_blocks_one_defect_essential_edge_forces_twoFor an odd c with 5≤c≤k, consider the explicitly displayed order-4k four-block partition with |A|=5, |C|=c, factor-critical B, minimum…
- five_extendable_twenty_vertex_odd_shores_no_complement_matchingLet G be a 5-extendible graph on 20 vertices, and let disjoint sets T and N have 3 and 7 vertices with no edges between them. The induced…
- minimally_k_extendable_odd_j_surplus_three_degree_boundFor odd j at least nine and j≤k, every minimally k-extendable graph on 2k+2j vertices has minimum degree at most 2k+j−4.
- k7_balanced_cut_bound_of_deficiency_barrierUnder the displayed extendibility, separator, degree and independence conditions, the matching-deficiency barrier hypothesis implies at…
- extendible_independent_anticomplete_matching_obstruction_generalIn a finite k-extendible graph, an independent set U and a disjoint anticomplete set W with 2|U|+|W| greater than the unmatched vertex…
- boundary_five_odd_saturated_two_defect_removable_with_independenceUnder the displayed five-by-odd four-block degree, separator, factor-criticality, k-extendibility and independence-number-at-most-k…
- op1957_hidden_barrier_not_extendibleThe 40-vertex hidden-barrier graph is not 10-extendible.
- extendible_balanced_cut_odd_bound_of_parity_cross_matchingFor the stated order-4k extendible graph and balanced-side matching with deficiency r, the opposite side has at most r+1 odd components…
- extendible_balanced_cut_even_component_odd_boundUnder the displayed extendibility, separator, degree, and balanced-side matching conditions, if the opposite side has an even component…
- extendible_balanced_cut_odd_bound_of_near_perfect_hypothesisUnder the displayed assumptions and the explicitly assumed near-perfect maximum-matching property, the opposite side of a balanced cut has…
- boundary_saturated_block_factorcritical_opposite_cross_removableUnder the displayed four-block, saturation, separator, and degree hypotheses, if A has at least three vertices, B is factor-critical and…
- extendible_k7_balanced_cut_odd_component_boundIn the stated 28-vertex, 7-extendible, high-degree setting with the separator and independence assumptions, any balanced cut has at most…
- extendible_balanced_cut_exposed_barrier_odd_boundIf every vertex of an opposite-side set X can be matched to distinct vertices left uncovered by a balanced-side (k−r)-matching, then the…
- boundary_five_odd_saturated_two_defect_has_removable_cross_edgeFor every odd c at least seven with c≤k, in the displayed five-by-c four-block graph with the explicit degree, separator, B-block…
- boundary_five_odd_saturated_essential_edge_patterns_with_independenceIn the displayed four-block graph, with the explicit degree, separator, B-factor-criticality, k-extendibility and…
- balanced_cut_near_perfect_of_incidence_boundsUnder the displayed incidence bounds, minimum degree and unmatched independence cardinality, a balanced-side matching has at least k−1…
- minimally_k_extendable_order_two_mul_add_six_min_degree_leFor every k ≥ 3 and every simple graph G on Fin (2k+6) (with decidable adjacency) that is minimally k-extendable…
- maximum_matching_forbids_two_edge_three_edge_exchangeA maximum matching forbids replacing two matching edges by two edges from distinct uncovered vertices and an edge joining the two…
- boundary_five_odd_positive_small_shore_forces_independent_tripleUnder the displayed saturated five-by-odd partition, extendibility, independence, degree and separator hypotheses, a positive barrier…
- extendible_balanced_cut_internal_matching_component_boundIn an order-4k extendible graph with the displayed 2k-separator property, a balanced side containing a matching of k−r edges forces at…
- op1957_extendible_independence_of_complement_matchingA 4k-vertex k-extendible graph has independence number at most k if the complement of every k+1-vertex set contains a k-matching.
- in1277_seven_control_example_of_extendibleIf the explicit seven-block control is 7-extendible, then there is a graph G on vertices 0 through 27. Let A={0,1,2,3,4,5,6},…
- op1957_empty_pool_control_delete_0_16_not_extendibleDeleting edge {0,16} from the displayed 28-vertex control with parameter 5 yields a graph that is not 7-extendible.
- balanced_cut_four_odd_components_force_deficiency_threeWith the stated extendibility, separator, degree and independence conditions, four odd components force maximum matching deficiency at…
- op1957_small_shore_four_group_numeric_assemblyFor four anticomplete shores and a B-only pool under the displayed saturated five-by-odd, degree, separator, extendibility, independence…
- minimally_k_extendable_complement_local_girth_degree_boundFor a minimally k-extendable graph on 2k+2j vertices with j at least two, if some vertex belongs to no triangle or four-cycle of the…
- saturated_barrier_pool_common_nonneighbor_strict_deficit_boundFor the stated saturated four-shore data with a nonempty pool, the strict deficit bound forces m+4≤e+|E|+|F₀∩A|.
- minimal_factorcritical_saturated_twins_refined_quadratic_boundThe minimally extendible factor-critical saturated-twin configuration satisfies two explicit refined degree inequalities.
- induced_odd_components_le_independenceThe number of odd components of an induced finite graph is at most the independence bound of the ambient graph.
- extendible_graph_matchable_deletion_inherits_extendibilityIf a graph is (r+j)-extendible and a 2j-vertex set U induces a perfect matching, then its induced complement is r-extendible, provided the…
- op1957_short_extendibility_hypothesis_is_necessaryA connected 2-extendible but not 3-extendible graph on ten vertices has disjoint three-vertex sets T,N, with T a clique complete to the…
- op1957_dense_balanced_half_conditions_do_not_force_separatorThere is a graph on 16 vertices of minimum degree at least 10 and independence number at most two, whose every induced subgraph has at…
- minimally_k_extendable_high_degree_zero_codegree_complement_four_cycleIn a minimally k-extendable graph of minimum degree at least 2k+2, the complement neighborhoods of the endpoints of every zero-codegree…
- matching_edges_inside_inducedThe edges of a matching supported in a set and contained in a subgraph are contained in the induced edge set.
- op1957_disconnected_formal_statement_falseThe formal minimum-degree statement that omits connectedness is false: for k = 4, the graph consisting of five disjoint edges is minimally…
- finite_matching_has_submatching_of_each_smaller_sizeEvery finite matching with at least k edges contains a submatching with exactly k edges.
- op1957_one_defect_impossible_minimalUnder the displayed five-by-odd block, degree, separator and minimality assumptions, every vertex of the five-vertex block has at least…
- force_one_cross_edge_extend_perfectIn the displayed extendible graph, a crossing edge from an uncovered vertex to the opposite side can be forced into a perfect matching…
- op1957_two_bridge_degree_only_shore_matching_obstructionAn explicit 48-vertex graph H of maximum degree 21 has adjacent saturated twins 0,1, and distinct nonneighbors 2,3 that share no…
- maximum_matching_forbids_one_edge_two_uncovered_exchangeA maximum matching cannot contain an edge whose two endpoints have distinct uncovered neighbors.
- extendible_balanced_cut_matching_symmetry_of_independenceIn the stated order-4k extendible graph with independence number at most k, maximum matchings in the balanced halves have equal size.
- extendible_matching_residual_has_perfect_matchingIn a k-extendible graph, the vertices uncovered by a k-matching have a perfect matching.
- two_crossing_adjacent_endpoints_impossibleWith the displayed extendibility, degree and balanced-half maximum matching assumptions, two distinct vertices unmatched by a maximum…
- extendible_two_odd_anticomplete_shores_complement_unmatchableIn a finite k-extendible graph, if disjoint odd vertex sets T and N are anticomplete and their complement has 2k vertices, that complement…
- boundary_five_blocks_minimal_no_full_crossIn the stated four-block partition with two five-vertex selected blocks, minimum degree at least 2k+2, the 2k separator property and…
- factorcritical_saturated_twin_first_forced_edge_removable_extended_orderThe saturated-twin factor-critical first-witness configuration has a removable edge when d≤2k+2.
- op1957_empty_pool_c_control_not_extendibleThe explicit control with z=17 is not 7-extendible.
- boundary_five_odd_saturated_two_defect_minimal_contradictionNo minimally k-extendible graph satisfies the displayed five-by-odd block partition, degree, separator and factor-criticality conditions…
- boundary_five_seven_example_edge_essentialIn the explicitly defined 28-vertex four-block graph, the edge from 0 to 14 is present and the graph obtained by deleting it is not…
- minimally_k_extendable_complement_degree_two_boundFor a minimally k-extendable graph on 2k+2j vertices with 2≤j≤k, if some vertex has at most two nonneighbors, then the minimum degree is…
- op1957_half_pool_example_not_extendibleThe explicit 52-vertex half-pool example is not 13-extendible.
- factorcritical_minimal_d11_kge9_excludes_saturated_twinsFor k at least nine, a minimally k-extendible 2k-factor-critical graph of order 2k+14 whose complement has maximum degree at most eleven…
- is_k_extendable_two_mul_add_two_leA k-extendable graph has at least 2k+2 vertices.
- extendible_balanced_cut_maximum_matching_sizes_equalFor a k-extendible graph of order 4k, maximum matchings on the two halves of a balanced cut have equal sizes if their sizes sum to at…
- extendible_high_degree_balanced_cut_odd_component_boundUnder the displayed extendibility, separator, degree and independence assumptions, each balanced cut has at most two odd components on the…
- boundary_five_clique_blocks_full_cross_vertex_has_removable_edgeFor k at least five, consider a k-extendible graph on 4k vertices whose four disjoint clique blocks have sizes 5, 2k−5, 5, 2k−5, with the…
- k_extendable_essential_low_codegree_edge_yields_small_vertex_cutAn essential graph edge of complement codegree at most one gives a vertex separator of size at most 2k+1 in a k-extendable graph of…
- extendible_common_nonneighbor_deficit_equality_matchableUnder the stated high-degree extendibility and independence assumptions, if an independent U with at least two vertices is anticomplete to…
- k_extendable_essential_edge_has_forced_matching_residualAn essential edge of a k-extendible graph is forced in a perfect-matching residual on n−2k vertices.
- extendible_independent_common_nonneighbor_deficit_le_oneUnder the stated high-degree extendibility and independence assumptions, a nonempty independent U and a disjoint anticomplete W satisfy…
Read back from the Lean
For a finite type V, a simple graph G on V, and a natural number k, is_k_extendable G k asserts the conjunction of three conditions:
1. The number of vertices of V is at least 2 * k + 2 (i.e., 2 * k + 2 ≤ Fintype.card V);
2. There exists a subgraph M of G such that M is a matching and the cardinality of its edge set is k; and
3. For every subgraph M of G, if M is a matching and the cardinality of its edge set is k, then there exists a subgraph P of G such that P is a perfect matching and M ≤ P (i.e., M is a subgraph of P).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- G is k-extendable: at least 2k+2 vertices, has a k-matching, and every k-matching extends to a perfect matching. -/ def is_k_extendable {V : Type*} [Fintype V] (G : SimpleGraph V) (k : ℕ) : Prop := 2 * k + 2 ≤ Fintype.card V ∧ (∃ M : G.Subgraph, M.IsMatching ∧ M.edgeSet.ncard = k) ∧ ∀ M : G.Subgraph, M.IsMatching → M.edgeSet.ncard = k → ∃ P : G.Subgraph, P.IsPerfectMatching ∧ M ≤ P