AFTD Auto-Formalizing Theoretical Domains

boundary_five_blocks_essential_edge_cross_defect_pattern

theoremverified

In the displayed four-block partition with both selected blocks of size five, minimum degree at least 2k+2, a separator property and k-extendibility, an essential cross edge xy obeys two restrictions: if x misses two vertices of the opposite small block each of those vertices misses exactly one vertex of the first block; if x misses at most one vertex of the opposite small block, y misses exactly two vertices of the first. No block is assumed to be a clique.

Statement

theorem boundary_five_blocks_essential_edge_cross_defect_pattern
    (k : ℕ) (hk : 5 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
    (A B C D : Finset (Fin (4*k)))
    (hAB : Disjoint A B) (hAC : Disjoint A C) (hAD : Disjoint A D)
    (hBC : Disjoint B C) (hBD : Disjoint B D) (hCD : Disjoint C D)
    (hcover : A ∪ B ∪ C ∪ D = Finset.univ)
    (hA : A.card=5) (hC : C.card=5)
    (hsizeAB : A.card+B.card=2*k) (hsizeCD : C.card+D.card=2*k)
    (hnoAB : ∀ a ∈ A, ∀ b ∈ B, ¬ G.Adj a b)
    (hnoCD : ∀ c ∈ C, ∀ d ∈ D, ¬ G.Adj c d)
    (hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card)
    (hsep : ∀ X U V : Finset (Fin (4*k)), U.Nonempty → V.Nonempty →
      Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ →
      (∀ u ∈ U, ∀ v ∈ V, ¬ G.Adj u v) → 2*k ≤ X.card)
    (hext : is_k_extendable G k) (x y : Fin (4*k)) (hx : x ∈ A) (hy : y ∈ C)
    (hxy : G.Adj x y) (hess : ¬ is_k_extendable (G.deleteEdges {s(x,y)}) k) :
    (((C.filter (fun w => ¬ G.Adj x w)).card = 2) →
      ∀ u ∈ C, ¬ G.Adj x u → (A.filter (fun v => ¬ G.Adj v u)).card = 1) ∧
    (((C.filter (fun w => ¬ G.Adj x w)).card ≤ 1) →
      (A.filter (fun v => ¬ G.Adj v y)).card = 2)
Source
OP-1957: all-k nonclique essential-edge classification using a strengthened separator.
Verified
24 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 13
Used by 2

The proof, explained

Because the cross edge xy is essential in the k-extendable graph, its deletion prevents extension of some k-matching, yielding a 2k-vertex residual subgraph G[R] in which xy is forced in every perfect matching. A structural theorem for this block partition shows that such a forced cross edge must be a bridge in G[R], which splits the remaining vertices of R into two even shores Q and W disconnected from each other and selectively disconnected from x and y. Analyzing how these shores intersect the partition blocks bounds the non-neighbor counts between A and C, establishing the claimed defect restrictions.

  1. There exists a residual vertex set R of size 2k containing x and y such that G[R] has a perfect matching, but G[R] with the edge xy removed has none.

    Because xy is an essential edge in the k-extendable graph G on 4k vertices, k_extendable_essential_edge_has_forced_matching_residual supplies a vertex subset R with |R| + 2k = 4k containing x and y on which the induced subgraph G[R] admits a perfect matching P, but no perfect matching in G[R] avoids the edge xy. Linear arithmetic (omega) simplifies |R| + 2k = 4k to |R| = 2k.

    lines 21–24

    uses k_extendable_essential_edge_has_forced_matching_residual

      classical
      obtain ⟨R, hRsum, hxR, hyR, ⟨P,hP⟩, hforced⟩ :=
        k_extendable_essential_edge_has_forced_matching_residual (4*k) k G x y hxy hext hess
      have hR : R.card = 2*k := by omega
  2. The edge xy is a bridge in the induced subgraph G[R].

    By boundary_five_blocks_forced_cross_edge_is_bridge, any forced cross edge between the size-5 blocks A and C in a 2k-vertex induced subgraph G[R] is a bridge: deleting xy leaves x and y in different connected components of G[R].

    lines 25–27

    uses boundary_five_blocks_forced_cross_edge_is_bridge

      have hnr := boundary_five_blocks_forced_cross_edge_is_bridge k hk G A B C D
        hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree
        R hR x y hx hy hxy hxR hyR ⟨P,hP⟩ hforced
  3. The edge xy belongs to the perfect matching P, and R \\ {x, y} decomposes into two even, mutually disconnected shores Q and W.

    Since deleting xy destroys all perfect matchings in G[R], perfect_matching_forced_edge_in_every_matching implies that xy is an edge of P. Then perfect_matching_bridge_even_shores_on_finset partitions R \\ {x, y} into two disjoint shores Q and W of even cardinality such that y has no neighbors in Q, x has no neighbors in W, and there are no edges between Q and W.

    lines 28–31

    uses perfect_matching_forced_edge_in_every_matching, perfect_matching_bridge_even_shores_on_finset

      have hPxy : P.Adj ⟨x,hxR⟩ ⟨y,hyR⟩ :=
        perfect_matching_forced_edge_in_every_matching _ _ _ hforced P hP
      obtain ⟨Q, W, hQW, hcov, hxQ, hyQ, hxW, hyW, hqe, hwe, hyQadj, hxWadj, hQWadj⟩ :=
        perfect_matching_bridge_even_shores_on_finset G R x y hxR hyR P hP hPxy hnr
  4. The shores Q and W obey intersection restrictions with A, B, and C based on the number of non-neighbors of x in C.

    Applying boundary_five_blocks_bridge_shore_defect_pattern (with total shore size |Q ∪ W ∪ {x, y}| = |R| = 2k) shows that if x misses at most one vertex of C, then |Q ∩ A| ≥ 2; and if x misses exactly two vertices of C, then |W ∩ C| = 2, |Q ∩ A| = 0, and |Q ∩ B| = 1.

    lines 32–35

    uses boundary_five_blocks_bridge_shore_defect_pattern

      have hshape := boundary_five_blocks_bridge_shore_defect_pattern k hk G A B C D
        hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree hsep
        x y hx hy Q W hQW hxQ hyQ hxW hyW hqe hwe (by rw [hcov]; exact hR)
        hyQadj hxWadj hQWadj
  5. The required defect pattern for x and y between blocks A and C holds.

    The reduction boundary_five_blocks_defect_from_shore_shape derives the theorem's conclusion directly from the shore intersection properties. The branch where x misses at most one vertex in C is provided directly by the first clause of the shore pattern, while the branch where x misses two vertices supplies the conditions |W ∩ C| = 2 and |Q ∩ B| = 1 required by the second branch.

    lines 36–41

    uses boundary_five_blocks_defect_from_shore_shape

      apply boundary_five_blocks_defect_from_shore_shape k hk G A B C D
        hAB hAC hAD hBC hBD hCD hC hsizeCD hnoCD hdegree x y hx hy Q W hyQadj hxWadj hQWadj
      · exact hshape.1
      · intro ht
        obtain ⟨a,b,c⟩ := hshape.2 ht
        exact ⟨a,c⟩
k_extendable_essential_edge_has_forced_matching_residual
In a k-extendable graph on n vertices, deleting an essential edge leaves no perfect matching containing a certain k-matching, yielding a residual vertex subset R of size n - 2k containing the edge such that the induced subgraph on R has a perfect matching, but no perfect matching avoids that edge (the edge is forced).
boundary_five_blocks_forced_cross_edge_is_bridge
In the four-block configuration, if a cross edge between the size-5 blocks is forced in an induced subgraph on 2k vertices admitting a perfect matching, it must be a bridge of that induced subgraph.
perfect_matching_forced_edge_in_every_matching
If removing an edge from a graph leaves no perfect matching, that edge is necessarily present in every perfect matching of the graph.
perfect_matching_bridge_even_shores_on_finset
If an edge of a perfect matching on an induced subgraph is a bridge, deleting its endpoints decomposes the rest of the vertex set into two disjoint shores of even cardinality with no cross edges between them and no edges to the opposite endpoints.
boundary_five_blocks_bridge_shore_defect_pattern
Under the four-block partition and separator assumptions, the shores Q and W of a bridge cross edge between A and C satisfy: if x misses at most one vertex of C, then |Q ∩ A| ≥ 2; if x misses two vertices of C, then |W ∩ C| = 2, |Q ∩ A| = 0, and |Q ∩ B| = 1.
boundary_five_blocks_defect_from_shore_shape
If the shores Q and W satisfy the defect-bound conditions (|Q ∩ A| ≥ 2 when x misses ≤ 1 vertex in C, and |W ∩ C| = 2, |Q ∩ B| = 1 when x misses 2 vertices in C), then the cross-defect pattern between A and C holds for the endpoints x and y.

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

theorem boundary_five_blocks_essential_edge_cross_defect_pattern    (k : ℕ) (hk : 5 ≤ k) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]    (A B C D : Finset (Fin (4*k)))    (hAB : Disjoint A B) (hAC : Disjoint A C) (hAD : Disjoint A D)    (hBC : Disjoint B C) (hBD : Disjoint B D) (hCD : Disjoint C D)    (hcover : A ∪ B ∪ C ∪ D = Finset.univ)    (hA : A.card=5) (hC : C.card=5)    (hsizeAB : A.card+B.card=2*k) (hsizeCD : C.card+D.card=2*k)    (hnoAB : ∀ a ∈ A, ∀ b ∈ B, ¬ G.Adj a b)    (hnoCD : ∀ c ∈ C, ∀ d ∈ D, ¬ G.Adj c d)    (hdegree : ∀ v, 2*k+2 ≤ (G.neighborFinset v).card)    (hsep : ∀ X U V : Finset (Fin (4*k)), U.Nonempty → V.Nonempty →      Disjoint X U → Disjoint X V → Disjoint U V → X ∪ U ∪ V = Finset.univ →      (∀ u ∈ U, ∀ v ∈ V, ¬ G.Adj u v) → 2*k ≤ X.card)    (hext : is_k_extendable G k) (x y : Fin (4*k)) (hx : x ∈ A) (hy : y ∈ C)    (hxy : G.Adj x y) (hess : ¬ is_k_extendable (G.deleteEdges {s(x,y)}) k) :    (((C.filter (fun w => ¬ G.Adj x w)).card = 2) →      ∀ u ∈ C, ¬ G.Adj x u → (A.filter (fun v => ¬ G.Adj v u)).card = 1) ∧    (((C.filter (fun w => ¬ G.Adj x w)).card ≤ 1) →      (A.filter (fun v => ¬ G.Adj v y)).card = 2) := by  classical  obtain ⟨R, hRsum, hxR, hyR, ⟨P,hP⟩, hforced⟩ :=    k_extendable_essential_edge_has_forced_matching_residual (4*k) k G x y hxy hext hess  have hR : R.card = 2*k := by omega  have hnr := boundary_five_blocks_forced_cross_edge_is_bridge k hk G A B C D    hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree    R hR x y hx hy hxy hxR hyR ⟨P,hP⟩ hforced  have hPxy : P.Adj ⟨x,hxR⟩ ⟨y,hyR⟩ :=    perfect_matching_forced_edge_in_every_matching _ _ _ hforced P hP  obtain ⟨Q, W, hQW, hcov, hxQ, hyQ, hxW, hyW, hqe, hwe, hyQadj, hxWadj, hQWadj⟩ :=    perfect_matching_bridge_even_shores_on_finset G R x y hxR hyR P hP hPxy hnr  have hshape := boundary_five_blocks_bridge_shore_defect_pattern k hk G A B C D    hAB hAC hAD hBC hBD hCD hcover hA hC hsizeAB hsizeCD hnoAB hnoCD hdegree hsep    x y hx hy Q W hQW hxQ hyQ hxW hyW hqe hwe (by rw [hcov]; exact hR)    hyQadj hxWadj hQWadj  apply boundary_five_blocks_defect_from_shore_shape k hk G A B C D    hAB hAC hAD hBC hBD hCD hC hsizeCD hnoCD hdegree x y hx hy Q W hyQadj hxWadj hQWadj  · exact hshape.1  · intro ht    obtain ⟨a,b,c⟩ := hshape.2 ht    exact ⟨a,c⟩
See it in the graphDiscuss this resultChallenge it