classical
letD':=D.detach a ha
obtain ⟨e, he, hwe⟩ :=D'.exists_exception_nonzero
havehea : e ≠ a :=by
intro h
subst e
exact hwe ha
let hb := fixed_compl_invariant (R.detach a).black a (R.detach_fixed_black a)
let hw := fixed_compl_invariant (R.detach a).white a (R.detach_fixed_white a)
letS:= (R.detach a).restrict (fun x => x ≠ a) hb hw
havehcard : Fintype.card {x : α // x ≠ a} < Fintype.card α :=Fintype.card_subtype_lt (x := a) (by simp)
refine ⟨{x : α // x ≠ a}, _, S, ?_,
(R.detach a).planar_restrict (R.genusZero_detach hR a) (funx : α => x ≠ a) hb hw, ?_⟩
· convert hcard
· exact ⟨D'.restrict (fun x => x ≠ a) hb hw e ((mem_cycleSet _ _ _).mp he) hea⟩
A finite genus-zero comparison diagram, with its edge type retained.
lemmaBalanced.not_genusZero (D : BalancedRInc ι) (hred : D.Reduced)
(hinj : ∀ v f, Inc v f →Function.Injective (ι v f))
(hind : ∀ v f g, Inc v f →Inc v g → f ≠ g →∀ a b, ι v f a + ι v g b = 0→ a = 0)
(hgirth : 12≤ (incidenceGraph Inc).egirth) : ¬R.GenusZero:=by
proof · 17
lines
classical
intro hR
have hb :=D.black_degree hred hinj hind
have hw :=D.white_degree
have hf :=D.face_degree hred hb hgirth
have hb' :=Finset.sum_le_sum (fun c (_ : c ∈ (Finset.univ : Finset (CyclesR.black))) => hb c)
have hw' :=Finset.sum_le_sum (fun c (_ : c ∈ (Finset.univ : Finset (CyclesR.white))) => hw c)
have hf' :=Finset.sum_le_sum (fun c (_ : c ∈ (Finset.univ : Finset (CyclesR.face))) => hf c)
simp only [Finset.sum_const, Finset.card_univ, smul_eq_mul, cycles_sum_card] at hb'
simp only [Finset.sum_const, Finset.card_univ, smul_eq_mul, Finset.sum_add_distrib,
cycles_sum_card, Finset.sum_ite_eq', Finset.mem_univ, ite_true] at hw' hf'
havehc : 0 < Nat.card (QuotientR.components) :=byhave : Nonempty (QuotientR.components) := ⟨Quotient.mk _ D.exceptionEdge⟩
exact Nat.card_pos
unfold Ribbon.GenusZero at hR
simp only [Nat.card_eq_fintype_card] at hR hc
omega