extendible_essential_edge_ambient_odd_shores
For 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: X and Y are odd and contain x and y, their total size with U and s is 2k, U has at least s odd components and has the same parity as s, U is anticomplete to X and Y, and xy is the only possible X-to-Y edge.
Statement
theorem extendible_essential_edge_ambient_odd_shores
(k : ℕ) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
(x y : Fin (4*k)) (hxy : G.Adj x y) (hext : is_k_extendable G k)
(hess : ¬ is_k_extendable (G.deleteEdges {s(x,y)}) k) :
∃ (X Y U : Finset (Fin (4*k))) (s : ℕ),
Disjoint X Y ∧ Disjoint X U ∧ Disjoint Y U ∧
x ∈ X ∧ y ∈ Y ∧ Odd X.card ∧ Odd Y.card ∧
X.card + Y.card + U.card + s = 2*k ∧
s ≤ (G.induce {v | v ∈ U}).oddComponents.ncard ∧ U.card % 2 = s % 2 ∧
(∀ a ∈ X, ∀ b ∈ Y, G.Adj a b → a=x ∧ b=y) ∧
(∀ a ∈ X, ∀ u ∈ U, ¬ G.Adj a u) ∧
(∀ b ∈ Y, ∀ u ∈ U, ¬ G.Adj b u)- Source
- OP-1957: ambient transfer from the forced residual matching barrier to the positive- and zero-barrier assembly.
- Verified
- 27 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- is_k_extendableFor 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…
- 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.
- forced_matching_edge_barrier_partition_all_casesA forced matching edge admits the stated barrier partition with odd endpoint shores, whether or not deleting it leaves the endpoints…
- graph_iso_odd_components_cardA finite graph isomorphism preserves the number of odd connected components.
- Used by 2
- 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…
- 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…
The proof, explained
Since xy is an essential edge in the k-extendible graph G on 4k vertices, deleting xy destroys k-extendibility, which guarantees the existence of a 2k-vertex residual subgraph H = G[R] containing x and y in which xy is a forced matching edge. By the barrier partition theorem for forced matching edges, V(H) partitions into disjoint subsets S, X, Y, U where x ∈ X, y ∈ Y, |X| and |Y| are odd, |S| is at most the number of odd components of H[U], xy is the unique edge between X and Y, and U is anticomplete to X ∪ Y. Mapping X, Y, and U into the ambient graph and setting s = |S| produces the desired sets, with the size formula |X| + |Y| + |U| + s = 2k and parity agreement |U| ≡ s (mod 2) following from the partition of the 2k-element set R.
There exists a 2k-vertex subset R containing x and y such that xy is a forced matching edge in the induced subgraph H = G[R].
Because G is k-extendible on 4k vertices and deleting the edge xy destroys k-extendibility, the lemma k_extendable_essential_edge_has_forced_matching_residual provides a vertex subset R with |R| + 2k = 4k (hence |R| = 2k) containing x and y. The induced subgraph H = G[R] has a perfect matching, but deleting xy destroys all perfect matchings in H, so xy is forced in H. We let x' and y' denote x and y as vertices of H.
uses
k_extendable_essential_edge_has_forced_matching_residualclassical obtain ⟨R,hR,hx,hy,hP,hforced⟩ := k_extendable_essential_edge_has_forced_matching_residual (4*k) k G x y hxy hext hess let H := G.induce {v | v ∈ R} let x' : {v : Fin (4*k) | v ∈ R} := ⟨x,hx⟩ let y' : {v : Fin (4*k) | v ∈ R} := ⟨y,hy⟩
The vertex set of H partitions into disjoint subsets S, X, Y, U satisfying the forced-edge barrier properties.
Applying forced_matching_edge_barrier_partition_all_cases to H and its forced edge x'y' partitions V(H) into pairwise disjoint sets S, X, Y, U covering V(H). This partition satisfies x' ∈ X, y' ∈ Y, |X| and |Y| are odd, |S| is bounded by the number of odd components of H[U], x'y' is the unique edge between X and Y in H, and U is anticomplete to X ∪ Y in H.
uses
forced_matching_edge_barrier_partition_all_casesobtain ⟨S,X,Y,U,hSX,hSY,hSU,hXY,hXU,hYU,hcover,hxX,hyY,hcross,hanti,hodd,hoddX,hoddY⟩ := forced_matching_edge_barrier_partition_all_cases H x' y' hxy hP hforcedThe inclusion embedding of R into the ambient vertex set preserves membership and disjointness.
We define the embedding f : R ↪ Fin(4k) via Subtype.val, which is injective by Subtype.val_injective. We prove that z ∈ R belongs to T if and only if f(z) belongs to f(T) (hmem), and using Finset.disjoint_left.mpr, Finset.mem_map.mp, and Finset.disjoint_left.mp, we establish that the images under f of disjoint subsets of R remain disjoint in Fin(4k) (hd).
uses
Subtype.val_injective,Finset.disjoint_left.mpr,Finset.mem_map.mp,Finset.disjoint_left.mplet f : {v : Fin (4*k) | v ∈ R} ↪ Fin (4*k) := ⟨Subtype.val, Subtype.val_injective⟩ have hmem : ∀ (T : Finset {v : Fin (4*k) | v ∈ R}) (z : {v : Fin (4*k) | v ∈ R}), z.val ∈ T.map f ↔ z ∈ T := by intro T z simp [f] have hd : ∀ (T W : Finset {v : Fin (4*k) | v ∈ R}), Disjoint T W → Disjoint (T.map f) (W.map f) := by intro T W h apply Finset.disjoint_left.mpr intro z hzT hzW obtain ⟨a, ha, he⟩ := Finset.mem_map.mp hzT obtain ⟨b, hb, he2⟩ := Finset.mem_map.mp hzW have hab : a = b := f.injective (he.trans he2.symm) exact (Finset.disjoint_left.mp h) ha (hab ▸ hb)
The cardinalities of S, X, Y, U sum to 2k, and |U| has the same parity as |S|.
Because S, X, Y, U partition V(H) = R, taking cardinalities of unions with Finset.disjoint_union_left.mpr, congrArg, and Finset.card_union_of_disjoint proves that |S| + |X| + |Y| + |U| = |R| = 2k (hcard). Furthermore, because the total sum 2k is even and both |X| and |Y| are odd, their sum is even, which forces |U| and |S| to have the same parity (hpar).
uses
Finset.disjoint_union_left.mpr,congrArg,Finset.card_union_of_disjointhave hcard : S.card + X.card + Y.card + U.card = R.card := by have ha : Disjoint (S ∪ X) Y := Finset.disjoint_union_left.mpr ⟨hSY,hXY⟩ have hb : Disjoint (S ∪ X ∪ Y) U := Finset.disjoint_union_left.mpr ⟨Finset.disjoint_union_left.mpr ⟨hSU,hXU⟩,hYU⟩ have hc := congrArg Finset.card hcover rw [Finset.card_union_of_disjoint hb, Finset.card_union_of_disjoint ha, Finset.card_union_of_disjoint hSX] at hc simpa using hc have hpar : U.card % 2 = S.card % 2 := by obtain ⟨a,ha⟩ := hoddX obtain ⟨b,hb⟩ := hoddY omega
The induced subgraphs H[U] and G[f(U)] are isomorphic, so they have the same number of odd components.
We construct an explicit graph isomorphism e between H[U] and G[f(U)] using Subtype.ext and Finset.mem_map.mp. By graph_iso_odd_components_card, the number of odd components of H[U] equals the number of odd components of G[f(U)].
uses
Finset.mem_map.mp,Subtype.ext,graph_iso_odd_components_cardlet e : (H.induce {v | v ∈ U}) ≃g (G.induce {v | v ∈ U.map f}) := { toFun := fun z => ⟨z.val.val,(hmem U z.val).2 z.property⟩ invFun := fun z => ⟨⟨z.val, by obtain ⟨w,hw,he⟩ := Finset.mem_map.mp z.property exact he ▸ w.property⟩, by apply (hmem U _).1 exact z.property⟩ left_inv := by intro z; apply Subtype.ext; apply Subtype.ext; rfl right_inv := by intro z; apply Subtype.ext; rfl map_rel_iff' := by intro a b; rfl } have hiso := graph_iso_odd_components_card _ _ e
The ambient sets f(X), f(Y), f(U) and parameter s = |S| satisfy the disjointness, containment, odd size, total cardinality, parity, and odd components conditions.
We instantiate the existential witnesses with the ambient images f(X), f(Y), f(U) and s = |S|. Disjointness transfers from H via hd. Containment of x in f(X) and y in f(Y) follows from hmem. The sizes |f(X)| = |X| and |f(Y)| = |Y| remain odd. The sum of sizes equals |R| = 2k by Finset.card_map and hcard. The bound s ≤ q(G[f(U)]) transfers via the component isomorphism equality hiso, and the parity condition |f(U)| % 2 = s % 2 follows from hpar.
uses
Finset.card_maprefine ⟨X.map f,Y.map f,U.map f,S.card,hd X Y hXY,hd X U hXU,hd Y U hYU,?_,?_,?_,?_,?_,?_,?_,?_,?_,?_⟩ · exact (hmem X x').2 hxX · exact (hmem Y y').2 hyY · simpa using hoddX · simpa using hoddY · simp only [Finset.card_map]; omega · rw [← hiso]; exact hodd · simpa using hpar
The edge xy is the only edge between f(X) and f(Y), and f(U) is anticomplete to both f(X) and f(Y).
For any edge ab in G with a ∈ f(X) and b ∈ f(Y), pulling back along f via Finset.mem_map.mp gives adjacent vertices in H; by the partition property hcross, they must be x' and y', so applying congrArg yields a = x and b = y. Any edge in G between f(U) and f(X) or f(Y) would similarly pull back to an edge in H between U and X ∪ Y via Finset.mem_union_left or Finset.mem_union_right, contradicting the anticompleteness condition hanti in H.
uses
Finset.mem_map.mp,congrArg,Finset.mem_union_left,Finset.mem_union_right· intro a ha b hb hab obtain ⟨a',ha',rfl⟩ := Finset.mem_map.mp ha obtain ⟨b',hb',rfl⟩ := Finset.mem_map.mp hb obtain ⟨ha,hb⟩ := hcross a' ha' b' hb' hab exact ⟨congrArg Subtype.val ha,congrArg Subtype.val hb⟩ · intro a ha u hu hau obtain ⟨a',ha',rfl⟩ := Finset.mem_map.mp ha obtain ⟨u',hu',rfl⟩ := Finset.mem_map.mp hu exact hanti u' hu' a' (Finset.mem_union_left Y ha') hau.symm · intro b hb u hu hbu obtain ⟨b',hb',rfl⟩ := Finset.mem_map.mp hb obtain ⟨u',hu',rfl⟩ := Finset.mem_map.mp hu exact hanti u' hu' b' (Finset.mem_union_right X hb') hbu.symm
k_extendable_essential_edge_has_forced_matching_residual- If deleting an edge uv from a k-extendible graph on n vertices destroys k-extendibility, there is a subset R of size n - 2k containing u and v such that the induced subgraph on R has a perfect matching, but no perfect matching of G[R] avoids uv.
forced_matching_edge_barrier_partition_all_cases- In any graph where an edge uv is forced (contained in every perfect matching, with at least one perfect matching existing), the vertex set partitions into disjoint sets S, X, Y, U such that u ∈ X, v ∈ Y, |X| and |Y| are odd, uv is the only edge between X and Y, U is anticomplete to X ∪ Y, and |S| is at most the number of odd components of the subgraph induced on U.
Subtype.val_injective- The projection from a subtype to its ambient type is injective.
Finset.disjoint_left.mpr- Two finite sets are disjoint if no element of the first set belongs to the second set.
Finset.disjoint_left.mp- If two finite sets are disjoint, an element of the first set cannot belong to the second set.
Finset.mem_map.mp- An element belongs to the image of a finite set under an embedding if and only if it is the image of some element in that set.
Finset.disjoint_union_left.mpr- If sets A and B are each disjoint from C, then their union A ∪ B is disjoint from C.
congrArg- Applying a function to equal inputs produces equal outputs.
Finset.card_union_of_disjoint- The cardinality of the union of two disjoint finite sets is the sum of their cardinalities.
Subtype.ext- Two elements of a subtype are equal if their underlying values are equal.
graph_iso_odd_components_card- An isomorphism between simple graphs preserves the number of odd connected components.
Finset.card_map- Mapping a finite set via an embedding preserves its cardinality.
Finset.mem_union_left- An element belonging to a set A also belongs to the union A ∪ B.
Finset.mem_union_right- An element belonging to a set B also belongs to the union A ∪ B.
- In Lean, the partition S, X, Y, U is initially constructed in the subtype of vertices of the induced subgraph H = G[R]. Lifting these subsets to the ambient graph requires explicitly mapping them along the subtype inclusion f and proving that cardinality, disjointness, parity, and odd component counts are preserved under this embedding.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem extendible_essential_edge_ambient_odd_shores (k : ℕ) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj] (x y : Fin (4*k)) (hxy : G.Adj x y) (hext : is_k_extendable G k) (hess : ¬ is_k_extendable (G.deleteEdges {s(x,y)}) k) : ∃ (X Y U : Finset (Fin (4*k))) (s : ℕ), Disjoint X Y ∧ Disjoint X U ∧ Disjoint Y U ∧ x ∈ X ∧ y ∈ Y ∧ Odd X.card ∧ Odd Y.card ∧ X.card + Y.card + U.card + s = 2*k ∧ s ≤ (G.induce {v | v ∈ U}).oddComponents.ncard ∧ U.card % 2 = s % 2 ∧ (∀ a ∈ X, ∀ b ∈ Y, G.Adj a b → a=x ∧ b=y) ∧ (∀ a ∈ X, ∀ u ∈ U, ¬ G.Adj a u) ∧ (∀ b ∈ Y, ∀ u ∈ U, ¬ G.Adj b u) := by classical obtain ⟨R,hR,hx,hy,hP,hforced⟩ := k_extendable_essential_edge_has_forced_matching_residual (4*k) k G x y hxy hext hess let H := G.induce {v | v ∈ R} let x' : {v : Fin (4*k) | v ∈ R} := ⟨x,hx⟩ let y' : {v : Fin (4*k) | v ∈ R} := ⟨y,hy⟩ obtain ⟨S,X,Y,U,hSX,hSY,hSU,hXY,hXU,hYU,hcover,hxX,hyY,hcross,hanti,hodd,hoddX,hoddY⟩ := forced_matching_edge_barrier_partition_all_cases H x' y' hxy hP hforced let f : {v : Fin (4*k) | v ∈ R} ↪ Fin (4*k) := ⟨Subtype.val, Subtype.val_injective⟩ have hmem : ∀ (T : Finset {v : Fin (4*k) | v ∈ R}) (z : {v : Fin (4*k) | v ∈ R}), z.val ∈ T.map f ↔ z ∈ T := by intro T z simp [f] have hd : ∀ (T W : Finset {v : Fin (4*k) | v ∈ R}), Disjoint T W → Disjoint (T.map f) (W.map f) := by intro T W h apply Finset.disjoint_left.mpr intro z hzT hzW obtain ⟨a, ha, he⟩ := Finset.mem_map.mp hzT obtain ⟨b, hb, he2⟩ := Finset.mem_map.mp hzW have hab : a = b := f.injective (he.trans he2.symm) exact (Finset.disjoint_left.mp h) ha (hab ▸ hb) have hcard : S.card + X.card + Y.card + U.card = R.card := by have ha : Disjoint (S ∪ X) Y := Finset.disjoint_union_left.mpr ⟨hSY,hXY⟩ have hb : Disjoint (S ∪ X ∪ Y) U := Finset.disjoint_union_left.mpr ⟨Finset.disjoint_union_left.mpr ⟨hSU,hXU⟩,hYU⟩ have hc := congrArg Finset.card hcover rw [Finset.card_union_of_disjoint hb, Finset.card_union_of_disjoint ha, Finset.card_union_of_disjoint hSX] at hc simpa using hc have hpar : U.card % 2 = S.card % 2 := by obtain ⟨a,ha⟩ := hoddX obtain ⟨b,hb⟩ := hoddY omega let e : (H.induce {v | v ∈ U}) ≃g (G.induce {v | v ∈ U.map f}) := { toFun := fun z => ⟨z.val.val,(hmem U z.val).2 z.property⟩ invFun := fun z => ⟨⟨z.val, by obtain ⟨w,hw,he⟩ := Finset.mem_map.mp z.property exact he ▸ w.property⟩, by apply (hmem U _).1 exact z.property⟩ left_inv := by intro z; apply Subtype.ext; apply Subtype.ext; rfl right_inv := by intro z; apply Subtype.ext; rfl map_rel_iff' := by intro a b; rfl } have hiso := graph_iso_odd_components_card _ _ e refine ⟨X.map f,Y.map f,U.map f,S.card,hd X Y hXY,hd X U hXU,hd Y U hYU,?_,?_,?_,?_,?_,?_,?_,?_,?_,?_⟩ · exact (hmem X x').2 hxX · exact (hmem Y y').2 hyY · simpa using hoddX · simpa using hoddY · simp only [Finset.card_map]; omega · rw [← hiso]; exact hodd · simpa using hpar · intro a ha b hb hab obtain ⟨a',ha',rfl⟩ := Finset.mem_map.mp ha obtain ⟨b',hb',rfl⟩ := Finset.mem_map.mp hb obtain ⟨ha,hb⟩ := hcross a' ha' b' hb' hab exact ⟨congrArg Subtype.val ha,congrArg Subtype.val hb⟩ · intro a ha u hu hau obtain ⟨a',ha',rfl⟩ := Finset.mem_map.mp ha obtain ⟨u',hu',rfl⟩ := Finset.mem_map.mp hu exact hanti u' hu' a' (Finset.mem_union_left Y ha') hau.symm · intro b hb u hu hbu obtain ⟨b',hb',rfl⟩ := Finset.mem_map.mp hb obtain ⟨u',hu',rfl⟩ := Finset.mem_map.mp hu exact hanti u' hu' b' (Finset.mem_union_right X hb') hbu.symm