Balister–Kostochka–Li–Schelp 2004, Lemma 8, part (a): the graph J ∪ J' ∪ K #
Jx is a matching on the ends unmatched by J. In mGraph (ends; Kempe partners, J, Jx)
every vertex has degree at most two and a vertex unmatched by J and Jx has degree one, so its
component contains exactly one other such vertex (exists_unique_other_endX). The component is
closed under Kempe partners and J, so swap_exchange applies to it (swap_component).
structure
LeanPool.BalancedEdgeColourings.Bkls.XMatch
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
(c : Vizing.PEC G (Fin k))
(a b : Fin k)
(Jx : V → V → Prop)
:
A matching on the J-unmatched ends.
- symm (u v : V) : Jx u v → Jx v u
- uniq (u v w : V) : Jx u v → Jx u w → v = w
Instances For
def
LeanPool.BalancedEdgeColourings.Bkls.mGraph
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
(c : Vizing.PEC G (Fin k))
(a b : Fin k)
(Jx : V → V → Prop)
(hJ : XMatch c a b Jx)
:
The graph J ∪ J' ∪ K on the ends.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
LeanPool.BalancedEdgeColourings.Bkls.isEnd_of_m_reachable
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{hJ : XMatch c a b Jx}
{u v : V}
(hu : Balanced.IsEnd c a b u)
(h : (mGraph c a b Jx hJ).Reachable u v)
:
Balanced.IsEnd c a b v
theorem
LeanPool.BalancedEdgeColourings.Bkls.m_adj_iff
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{hJ : XMatch c a b Jx}
{u v : V}
(hu : Balanced.IsEnd c a b u)
{x : V}
(hx : x ≠ u)
(hrx : (c.kempeGraph a b).Reachable u x)
(hxe : Balanced.IsEnd c a b x)
:
theorem
LeanPool.BalancedEdgeColourings.Bkls.m_partner_unique
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
(hJ : XMatch c a b Jx)
{u y z : V}
(hy : JRel c a b u y ∨ Jx u y)
(hz : JRel c a b u z ∨ Jx u z)
:
The J ∪ J' partner, if any.
theorem
LeanPool.BalancedEdgeColourings.Bkls.m_degree_le_two
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{hJ : XMatch c a b Jx}
(hab : a ≠ b)
(u : V)
:
def
LeanPool.BalancedEdgeColourings.Bkls.FreeX
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
(c : Vizing.PEC G (Fin k))
(a b : Fin k)
(Jx : V → V → Prop)
(u : V)
:
Unmatched by J and J'.
Equations
- LeanPool.BalancedEdgeColourings.Bkls.FreeX c a b Jx u = (¬LeanPool.BalancedEdgeColourings.Bkls.JMatched c a b u ∧ ¬∃ (v : V), Jx u v)
Instances For
theorem
LeanPool.BalancedEdgeColourings.Bkls.freeX_iff
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{u : V}
:
theorem
LeanPool.BalancedEdgeColourings.Bkls.m_degree_free
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{hJ : XMatch c a b Jx}
(hab : a ≠ b)
{u : V}
(hu : Balanced.IsEnd c a b u)
(hf : FreeX c a b Jx u)
:
theorem
LeanPool.BalancedEdgeColourings.Bkls.exists_unique_other_endX
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{hJ : XMatch c a b Jx}
(hab : a ≠ b)
{u : V}
(hu : Balanced.IsEnd c a b u)
(hf : FreeX c a b Jx u)
:
The other free end.
noncomputable def
LeanPool.BalancedEdgeColourings.Bkls.mComp
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
(c : Vizing.PEC G (Fin k))
(a b : Fin k)
(Jx : V → V → Prop)
(hJ : XMatch c a b Jx)
(u : V)
:
Finset V
The component of u.
Equations
- LeanPool.BalancedEdgeColourings.Bkls.mComp c a b Jx hJ u = {v : V | (LeanPool.BalancedEdgeColourings.Bkls.mGraph c a b Jx hJ).Reachable u v}
Instances For
theorem
LeanPool.BalancedEdgeColourings.Bkls.mComp_closed
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{hJ : XMatch c a b Jx}
{u q v : V}
(hq : q ∈ mComp c a b Jx hJ u)
(hadj : (mGraph c a b Jx hJ).Adj q v)
:
theorem
LeanPool.BalancedEdgeColourings.Bkls.mComp_end
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{hJ : XMatch c a b Jx}
{u q : V}
(hu : Balanced.IsEnd c a b u)
(hq : q ∈ mComp c a b Jx hJ u)
:
Balanced.IsEnd c a b q
theorem
LeanPool.BalancedEdgeColourings.Bkls.swap_component
{V : Type u_1}
[Fintype V]
{G : SimpleGraph V}
{k : ℕ}
{c : Vizing.PEC G (Fin k)}
{a b : Fin k}
{Jx : V → V → Prop}
{hJ : XMatch c a b Jx}
(hopt : Balanced.IsOptimal c)
(hab : a ≠ b)
{u : V}
(hu : Balanced.IsEnd c a b u)
:
∃ (c' : Vizing.PEC G (Fin k)),
Balanced.IsOptimal c' ∧ ∀ (T : Finset (Fin k)),
Balanced.cnt c' T = Balanced.cnt c
(if 0 < pcnt c ({v ∈ mComp c a b Jx hJ u | ¬JMatched c a b v}) T ∨ 0 < pcnt c ({v ∈ mComp c a b Jx hJ u | ¬JMatched c a b v}) (Balanced.swapSet a b T) then
Balanced.swapSet a b T
else T)
The swap of a component.