AFTD Auto-Formalizing Theoretical Domains

two_crossing_adjacent_endpoints_impossible

theoremverified

With the displayed extendibility, degree and balanced-half maximum matching assumptions, two distinct vertices unmatched by a maximum matching cannot cross to adjacent vertices on the opposite side.

Statement

theorem two_crossing_adjacent_endpoints_impossible
    (k : ℕ) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]
    (hext : is_k_extendable G k)
    (hdegree : ∀ v, 2*k ≤ (G.neighborFinset v).card)
    (C : Finset (Fin (4*k))) (hcard : C.card = 2*k)
    (M N : G.Subgraph) (hM : M.IsMatching) (hN : N.IsMatching)
    (hMC : M.verts ⊆ (C : Set (Fin (4*k))))
    (hNC : N.verts ⊆ ((C : Set (Fin (4*k)))ᶜ))
    (hmaxM : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ (C : Set (Fin (4*k))) → T.edgeSet.ncard ≤ M.edgeSet.ncard)
    (hmaxN : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ ((C : Set (Fin (4*k)))ᶜ) → T.edgeSet.ncard ≤ N.edgeSet.ncard)
    (heq : M.edgeSet.ncard = N.edgeSet.ncard) (hroom : M.edgeSet.ncard + 2 ≤ k)
    (u v x y : Fin (4*k)) (hu : u ∈ C) (hv : v ∈ C) (huv : u ≠ v)
    (huM : u ∉ M.verts) (hvM : v ∉ M.verts)
    (hx : x ∉ C) (hy : y ∉ C)
    (hux : G.Adj u x) (hvy : G.Adj v y) (hxy : G.Adj x y) : False
Source
Balanced-cut matching reduction for OP-1957; https://arxiv.org/abs/1011.3384.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 7
Used by 1

The proof, explained

Suppose for contradiction that two unmatched vertices u, v in a maximum matching M of C cross to adjacent vertices x, y in Cᶜ. Adding the crossing edges ux and vy to M forms a matching of size |M| + 2 ≤ k, which by high minimum degree and k-extendability extends to a perfect matching P of G. Because C is a balanced cut, the edges of P internal to C and to Cᶜ must have equal cardinality |M| = |N|. However, in P, both x and y are matched across the cut (to u and v), so neither is incident to any internal edge of P in Cᶜ; hence the edge xy can be added to the internal matching on Cᶜ to create a matching of size |N| + 1, contradicting the maximality of N.

  1. Any edge in G spans a 1-edge matching on its two endpoints.

    We establish the auxiliary lemma oneEdge: given an adjacent pair p ∼ q, there is a matching E of size 1 with V(E) = {p, q} and edge pq. We instantiate indexed_disjoint_cross_edges_form_matching with r = 1 using constant endpoints on the singleton index type Fin 1 (injectivity follows from Subsingleton.elim). Since E is a matching on {p, q} and p is in V(E), p has a unique incident edge in E, and because p cannot be adjacent to itself, the other endpoint is q, so E contains the edge pq.

    lines 16–43

    uses indexed_disjoint_cross_edges_form_matching, Subsingleton.elim

      set_option maxHeartbeats 4000000 in
        classical
        have oneEdge : ∀ (p q : Fin (4*k)), G.Adj p q →
            ∃ E : G.Subgraph, E.IsMatching ∧ E.edgeSet.ncard = 1 ∧
              E.verts = ({p,q} : Set (Fin (4*k))) ∧ E.Adj p q := by
          intro p q hpq
          let f : Fin 1 → Fin (4*k) := fun _ => p
          let g : Fin 1 → Fin (4*k) := fun _ => q
          obtain ⟨E,hE,hcard,hverts⟩ := indexed_disjoint_cross_edges_form_matching G 1 f g
            (by intro i j h; exact Subsingleton.elim i j)
            (by intro i j h; exact Subsingleton.elim i j)
            (by intro i j; exact G.ne_of_adj hpq)
            (by intro i; exact hpq)
          have hv : E.verts = ({p,q} : Set (Fin (4*k))) := by
            rw [hverts]
            ext z
            simp [f,g,or_comm]
          have hp : p ∈ E.verts := by rw [hv]; simp
          obtain ⟨w,hpw,hw⟩ := hE hp
          have hwv := E.edge_vert hpw.symm
          rw [hv] at hwv
          have hwq : w=q := by
            simp only [Set.mem_insert_iff,Set.mem_singleton_iff] at hwv
            rcases hwv with h | h
            · exact False.elim ((G.ne_of_adj (E.adj_sub hpw)) h.symm)
            · exact h
          refine ⟨E,hE,hcard,hv,?_⟩
          simpa [hwq] using hpw
  2. The two crossing edges ux and vy form two vertex-disjoint 1-edge matchings whose union is a 2-edge matching.

    Applying oneEdge to u ∼ x and v ∼ y produces 1-edge matchings E₁ on {u, x} and E₂ on {v, y}. Since u ≠ v, x ≠ y (as x ∼ y), and the cut C separates {u, v} ⊆ C from {x, y} ⊆ Cᶜ, the vertex sets {u, x} and {v, y} are disjoint (via Set.disjoint_left.mpr). By extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard, their union E₁ ⊔ E₂ is a matching of size 1 + 1 = 2.

    lines 44–52

    uses Set.disjoint_left.mpr, extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard

        obtain ⟨E1,hE1,hE1card,hE1verts,hE1adj⟩ := oneEdge u x hux
        obtain ⟨E2,hE2,hE2card,hE2verts,hE2adj⟩ := oneEdge v y hvy
        have hEdis : Disjoint E1.verts E2.verts := by
          rw [hE1verts,hE2verts]
          apply Set.disjoint_left.mpr
          intro z hz1 hz2
          simp only [Set.mem_insert_iff,Set.mem_singleton_iff] at hz1 hz2
          rcases hz1 with h1 | h1 <;> rcases hz2 with h2 | h2 <;> subst z <;> simp_all [G.ne_of_adj hxy]
        have hE := extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard E1 E2 hE1 hE2 hEdis
  3. The matching M and the crossing matching E₁ ⊔ E₂ are vertex-disjoint, so their union is a matching of size |M| + 2 ≤ k.

    All vertices of M lie in C, but u, v ∉ V(M) by assumption, and x, y ∉ C. Thus V(M) is disjoint from V(E₁ ⊔ E₂) = {u, x, v, y} (using Set.disjoint_left.mpr). Applying extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard again shows that M ⊔ (E₁ ⊔ E₂) is a matching of size |M| + 2, which is at most k by hypothesis hroom.

    lines 53–62

    uses Set.disjoint_left.mpr, extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard

        have hME : Disjoint M.verts (E1 ⊔ E2).verts := by
          apply Set.disjoint_left.mpr
          intro z hzM hzE
          change z ∈ E1.verts ∪ E2.verts at hzE
          rw [hE1verts,hE2verts] at hzE
          have hzC := hMC hzM
          simp only [Set.mem_union,Set.mem_insert_iff,Set.mem_singleton_iff] at hzE
          rcases hzE with (h | h) | (h | h) <;> subst z <;> simp_all
        have hME' := extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard M (E1 ⊔ E2) hM hE.1 hME
        have hMEk : (M ⊔ (E1 ⊔ E2)).edgeSet.ncard ≤ k := by rw [hME'.2,hE.2,hE1card,hE2card]; omega
  4. The combined matching extends to a perfect matching P of G that contains M, E₁, and E₂.

    Because G has minimum degree at least 2k and |V(G)| = 4k ≥ 2k + 2, high_min_degree_matching_extends_to_size extends M ⊔ (E₁ ⊔ E₂) to a matching T of size k. By the k-extendability of G, T extends to a perfect matching P. By transitivity of the subgraph ordering (le_trans, le_sup_left, le_sup_right), P contains M, E₁, and E₂. In particular, ux and vy are edges of P.

    lines 63–67

    uses high_min_degree_matching_extends_to_size, le_trans, le_sup_left, le_sup_right

        obtain ⟨T,hT,hMET,hTk⟩ := high_min_degree_matching_extends_to_size G k hext.1 hdegree (M ⊔ (E1 ⊔ E2)) hME'.1 hMEk
        obtain ⟨P,hP,hTP⟩ := hext.2.2 T hT hTk
        have hMP : M ≤ P := le_trans (le_trans le_sup_left hMET) hTP
        have hE1P : E1 ≤ P := le_trans (le_trans (le_trans le_sup_left le_sup_right) hMET) hTP
        have hE2P : E2 ≤ P := le_trans (le_trans (le_trans le_sup_right le_sup_right) hMET) hTP
  5. The internal edges of P in C form a matching Q of size equal to |M|.

    By perfect_matching_induced_edges_form_matching, the edges of P induced on C form a matching Q ≤ P with V(Q) ⊆ C. Since M ≤ P with V(M) ⊆ C, matching_edges_inside_induced implies that every edge of M is in Q, so |M| ≤ |Q| by Set.ncard_le_ncard and Set.toFinite. Since M is assumed to be a maximum matching in C, |Q| ≤ |M| by hmaxM, which forces |Q| = |M|.

    lines 68–75

    uses perfect_matching_induced_edges_form_matching, matching_edges_inside_induced, Set.ncard_le_ncard, Set.toFinite

        have hCcomp : ((Cᶜ : Finset (Fin (4*k))) : Set (Fin (4*k))) = (C : Set (Fin (4*k)))ᶜ := by ext z; simp
        obtain ⟨Q,hQ,hQC,hQP,hQE⟩ := perfect_matching_induced_edges_form_matching G P hP C
        obtain ⟨R,hR,hRC,hRP,hRE⟩ := perfect_matching_induced_edges_form_matching G P hP (Cᶜ : Finset (Fin (4*k)))
        have hMsub := matching_edges_inside_induced G M P hMP C hMC
        have hMbound := Set.ncard_le_ncard hMsub (Set.toFinite _)
        have hQbound := hmaxM Q hQ hQC
        rw [← hQE] at hMbound
        have hQcard : Q.edgeSet.ncard = M.edgeSet.ncard := by omega
  6. The internal edges of P in Cᶜ form a matching R of size equal to |N|.

    The cut C is balanced because 2|C| = 4k = |Fin(4k)| (using Fintype.card_fin). By perfect_matching_balanced_cut_internal_edge_counts_equal, the number of internal edges of P inside C equals the number inside Cᶜ, so |R| = |Q| = |M|. Since |M| = |N| by assumption heq, we have |R| = |N|.

    lines 76–77

    uses perfect_matching_balanced_cut_internal_edge_counts_equal, Fintype.card_fin

        have hbal := perfect_matching_balanced_cut_internal_edge_counts_equal G P hP C (by simp only [Fintype.card_fin,hcard]; omega)
        rw [← hCcomp,← hQE,← hRE,hQcard,heq] at hbal
  7. Neither x nor y is covered by the internal matching R.

    If x were in V(R), it would be matched by an internal edge in Cᶜ belonging to P. But P also contains the edge ux (from E₁ ≤ P), which connects x to u ∈ C. Since P is a matching, the partner of x in P is unique, which would imply that the other endpoint in Cᶜ equals u ∈ C, a contradiction. Thus x ∉ V(R). By the exact same argument using vy ∈ P, y ∉ V(R).

    lines 78–89

        have hxR : x ∉ R.verts := by
          intro hxR
          obtain ⟨z,hxz,huniq⟩ := hR hxR
          have hxu := (hP.1 (hP.2 x)).unique (hRP.2 hxz) ((hE1P.2 hE1adj).symm)
          have hzC : z ∉ C := by simpa using hRC (R.edge_vert hxz.symm)
          exact hzC (hxu.symm ▸ hu)
        have hyR : y ∉ R.verts := by
          intro hyR
          obtain ⟨z,hyz,huniq⟩ := hR hyR
          have hyv := (hP.1 (hP.2 y)).unique (hRP.2 hyz) ((hE2P.2 hE2adj).symm)
          have hzC : z ∉ C := by simpa using hRC (R.edge_vert hyz.symm)
          exact hzC (hyv.symm ▸ hv)
  8. The edge xy forms a 1-edge matching F on {x, y} inside Cᶜ.

    Using indexed_disjoint_cross_edges_form_matching with r = 1 and constant endpoint maps on Fin 1 (injective by Subsingleton.elim), the edge xy forms a matching F of size 1 with vertices {x, y}. Since x, y ∉ C, the vertices of F lie entirely in Cᶜ.

    lines 90–96

    uses indexed_disjoint_cross_edges_form_matching, Subsingleton.elim

        let f : Fin 1 → Fin (4*k) := fun _ => x
        let g : Fin 1 → Fin (4*k) := fun _ => y
        obtain ⟨F,hF,hFcard,hFverts⟩ := indexed_disjoint_cross_edges_form_matching G 1 f g
          (by intro i j h; exact Subsingleton.elim i j)
          (by intro i j h; exact Subsingleton.elim i j)
          (by intro i j; exact G.ne_of_adj hxy)
          (by intro i; exact hxy)
  9. The union R ⊔ F is a matching in Cᶜ of size |N| + 1, contradicting the maximality of N.

    Because x, y ∉ V(R), the matchings R and F have disjoint vertex sets (Set.disjoint_left.mpr). By extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard, R ⊔ F is a matching of size |R| + 1 = |N| + 1, with all vertices in Cᶜ. The maximality hypothesis hmaxN for N implies |N| + 1 ≤ |N|, which is an arithmetic contradiction resolved by omega.

    lines 97–116

    uses Set.disjoint_left.mpr, extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard

        have hRF : Disjoint R.verts F.verts := by
          apply Set.disjoint_left.mpr
          intro z hzR hzF
          rw [hFverts] at hzF
          rcases hzF with ⟨i,hi⟩ | ⟨i,hi⟩
          · apply hxR; simpa [f,hi] using hzR
          · apply hyR; simpa [g,hi] using hzR
        have hRF' := extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard R F hR hF hRF
        have hsub : (R ⊔ F).verts ⊆ ((C : Set (Fin (4*k)))ᶜ) := by
          intro z hz
          change z ∈ R.verts ∪ F.verts at hz
          rcases hz with hzR | hzF
          · simpa using hRC hzR
          · rw [hFverts] at hzF
            rcases hzF with ⟨i,hi⟩ | ⟨i,hi⟩
            · simpa [f,hi] using hx
            · simpa [g,hi] using hy
        have hmax := hmaxN (R ⊔ F) hRF'.1 hsub
        rw [hRF'.2,hFcard,hbal] at hmax
        omega
Fintype.card_fin
The cardinality of the finite type Fin n is n.
Subsingleton.elim
Any two elements of a subsingleton type (a type with at most one element) are equal.
Set.disjoint_left.mpr
Two sets are disjoint if no element of the first set belongs to the second set.
Set.ncard_le_ncard
If s ⊆ t and t is finite, then the cardinality of s is at most that of t.
Set.toFinite
Every subset of a finite type is finite.
extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard
The union of two vertex-disjoint matchings is a matching, and its edge count is the sum of their edge counts.
high_min_degree_matching_extends_to_size
In a graph on at least 2k + 2 vertices with minimum degree at least 2k, every matching of size at most k extends to a matching of size k.
indexed_disjoint_cross_edges_form_matching
Given r pairwise disjoint edges, they span a matching of size r whose vertex set is the union of their endpoints.
le_sup_left
In a join-semilattice, a ≤ a ⊔ b.
le_sup_right
In a join-semilattice, b ≤ a ⊔ b.
le_trans
Order transitivity: if a ≤ b and b ≤ c, then a ≤ c.
matching_edges_inside_induced
If a subgraph M ≤ P has all its vertices in S, then all edges of M are edges of the induced subgraph of P on S.
perfect_matching_balanced_cut_internal_edge_counts_equal
For any perfect matching in a graph with a balanced cut (where 2|C| = |V|), the number of internal edges inside C equals the number of internal edges inside Cᶜ.
perfect_matching_induced_edges_form_matching
The edges of a perfect matching P with both endpoints in a subset S form a matching contained in P.

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 two_crossing_adjacent_endpoints_impossible    (k : ℕ) (G : SimpleGraph (Fin (4*k))) [DecidableRel G.Adj]    (hext : is_k_extendable G k)    (hdegree : ∀ v, 2*k ≤ (G.neighborFinset v).card)    (C : Finset (Fin (4*k))) (hcard : C.card = 2*k)    (M N : G.Subgraph) (hM : M.IsMatching) (hN : N.IsMatching)    (hMC : M.verts ⊆ (C : Set (Fin (4*k))))    (hNC : N.verts ⊆ ((C : Set (Fin (4*k)))ᶜ))    (hmaxM : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ (C : Set (Fin (4*k))) → T.edgeSet.ncard ≤ M.edgeSet.ncard)    (hmaxN : ∀ T : G.Subgraph, T.IsMatching → T.verts ⊆ ((C : Set (Fin (4*k)))ᶜ) → T.edgeSet.ncard ≤ N.edgeSet.ncard)    (heq : M.edgeSet.ncard = N.edgeSet.ncard) (hroom : M.edgeSet.ncard + 2 ≤ k)    (u v x y : Fin (4*k)) (hu : u ∈ C) (hv : v ∈ C) (huv : u ≠ v)    (huM : u ∉ M.verts) (hvM : v ∉ M.verts)    (hx : x ∉ C) (hy : y ∉ C)    (hux : G.Adj u x) (hvy : G.Adj v y) (hxy : G.Adj x y) : False := by  set_option maxHeartbeats 4000000 in    classical    have oneEdge : ∀ (p q : Fin (4*k)), G.Adj p q →        ∃ E : G.Subgraph, E.IsMatching ∧ E.edgeSet.ncard = 1 ∧          E.verts = ({p,q} : Set (Fin (4*k))) ∧ E.Adj p q := by      intro p q hpq      let f : Fin 1 → Fin (4*k) := fun _ => p      let g : Fin 1 → Fin (4*k) := fun _ => q      obtain ⟨E,hE,hcard,hverts⟩ := indexed_disjoint_cross_edges_form_matching G 1 f g        (by intro i j h; exact Subsingleton.elim i j)        (by intro i j h; exact Subsingleton.elim i j)        (by intro i j; exact G.ne_of_adj hpq)        (by intro i; exact hpq)      have hv : E.verts = ({p,q} : Set (Fin (4*k))) := by        rw [hverts]        ext z        simp [f,g,or_comm]      have hp : p ∈ E.verts := by rw [hv]; simp      obtain ⟨w,hpw,hw⟩ := hE hp      have hwv := E.edge_vert hpw.symm      rw [hv] at hwv      have hwq : w=q := by        simp only [Set.mem_insert_iff,Set.mem_singleton_iff] at hwv        rcases hwv with h | h        · exact False.elim ((G.ne_of_adj (E.adj_sub hpw)) h.symm)        · exact h      refine ⟨E,hE,hcard,hv,?_⟩      simpa [hwq] using hpw    obtain ⟨E1,hE1,hE1card,hE1verts,hE1adj⟩ := oneEdge u x hux    obtain ⟨E2,hE2,hE2card,hE2verts,hE2adj⟩ := oneEdge v y hvy    have hEdis : Disjoint E1.verts E2.verts := by      rw [hE1verts,hE2verts]      apply Set.disjoint_left.mpr      intro z hz1 hz2      simp only [Set.mem_insert_iff,Set.mem_singleton_iff] at hz1 hz2      rcases hz1 with h1 | h1 <;> rcases hz2 with h2 | h2 <;> subst z <;> simp_all [G.ne_of_adj hxy]    have hE := extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard E1 E2 hE1 hE2 hEdis    have hME : Disjoint M.verts (E1 ⊔ E2).verts := by      apply Set.disjoint_left.mpr      intro z hzM hzE      change z ∈ E1.verts ∪ E2.verts at hzE      rw [hE1verts,hE2verts] at hzE      have hzC := hMC hzM      simp only [Set.mem_union,Set.mem_insert_iff,Set.mem_singleton_iff] at hzE      rcases hzE with (h | h) | (h | h) <;> subst z <;> simp_all    have hME' := extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard M (E1 ⊔ E2) hM hE.1 hME    have hMEk : (M ⊔ (E1 ⊔ E2)).edgeSet.ncard ≤ k := by rw [hME'.2,hE.2,hE1card,hE2card]; omega    obtain ⟨T,hT,hMET,hTk⟩ := high_min_degree_matching_extends_to_size G k hext.1 hdegree (M ⊔ (E1 ⊔ E2)) hME'.1 hMEk    obtain ⟨P,hP,hTP⟩ := hext.2.2 T hT hTk    have hMP : M ≤ P := le_trans (le_trans le_sup_left hMET) hTP    have hE1P : E1 ≤ P := le_trans (le_trans (le_trans le_sup_left le_sup_right) hMET) hTP    have hE2P : E2 ≤ P := le_trans (le_trans (le_trans le_sup_right le_sup_right) hMET) hTP    have hCcomp : ((Cᶜ : Finset (Fin (4*k))) : Set (Fin (4*k))) = (C : Set (Fin (4*k)))ᶜ := by ext z; simp    obtain ⟨Q,hQ,hQC,hQP,hQE⟩ := perfect_matching_induced_edges_form_matching G P hP C    obtain ⟨R,hR,hRC,hRP,hRE⟩ := perfect_matching_induced_edges_form_matching G P hP (Cᶜ : Finset (Fin (4*k)))    have hMsub := matching_edges_inside_induced G M P hMP C hMC    have hMbound := Set.ncard_le_ncard hMsub (Set.toFinite _)    have hQbound := hmaxM Q hQ hQC    rw [← hQE] at hMbound    have hQcard : Q.edgeSet.ncard = M.edgeSet.ncard := by omega    have hbal := perfect_matching_balanced_cut_internal_edge_counts_equal G P hP C (by simp only [Fintype.card_fin,hcard]; omega)    rw [← hCcomp,← hQE,← hRE,hQcard,heq] at hbal    have hxR : x ∉ R.verts := by      intro hxR      obtain ⟨z,hxz,huniq⟩ := hR hxR      have hxu := (hP.1 (hP.2 x)).unique (hRP.2 hxz) ((hE1P.2 hE1adj).symm)      have hzC : z ∉ C := by simpa using hRC (R.edge_vert hxz.symm)      exact hzC (hxu.symm ▸ hu)    have hyR : y ∉ R.verts := by      intro hyR      obtain ⟨z,hyz,huniq⟩ := hR hyR      have hyv := (hP.1 (hP.2 y)).unique (hRP.2 hyz) ((hE2P.2 hE2adj).symm)      have hzC : z ∉ C := by simpa using hRC (R.edge_vert hyz.symm)      exact hzC (hyv.symm ▸ hv)    let f : Fin 1 → Fin (4*k) := fun _ => x    let g : Fin 1 → Fin (4*k) := fun _ => y    obtain ⟨F,hF,hFcard,hFverts⟩ := indexed_disjoint_cross_edges_form_matching G 1 f g      (by intro i j h; exact Subsingleton.elim i j)      (by intro i j h; exact Subsingleton.elim i j)      (by intro i j; exact G.ne_of_adj hxy)      (by intro i; exact hxy)    have hRF : Disjoint R.verts F.verts := by      apply Set.disjoint_left.mpr      intro z hzR hzF      rw [hFverts] at hzF      rcases hzF with ⟨i,hi⟩ | ⟨i,hi⟩      · apply hxR; simpa [f,hi] using hzR      · apply hyR; simpa [g,hi] using hzR    have hRF' := extendible_graph_matchable_deletion_inherits_extendibility_sup_ncard R F hR hF hRF    have hsub : (R ⊔ F).verts ⊆ ((C : Set (Fin (4*k)))ᶜ) := by      intro z hz      change z ∈ R.verts ∪ F.verts at hz      rcases hz with hzR | hzF      · simpa using hRC hzR      · rw [hFverts] at hzF        rcases hzF with ⟨i,hi⟩ | ⟨i,hi⟩        · simpa [f,hi] using hx        · simpa [g,hi] using hy    have hmax := hmaxN (R ⊔ F) hRF'.1 hsub    rw [hRF'.2,hFcard,hbal] at hmax    omega
See it in the graphDiscuss this resultChallenge it