import OAI.Combinatorics.PerfectMatching.ForcedReduction namespace OAI universe u_1 u_2 section noncomputable section open scoped BigOperators Topology namespace MatchingEntropy theorem separable_lower_aux (n : ℕ) : ∀ {V : Type u_1} {E : Type u_2} [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E] (G : LooplessGraph V E), Fintype.card V=n → Even n → ∀ x ∈ G.polytope, separableLower x ≤ maxMatchingEntropy G x := by induction n using Nat.strong_induction_on with | h n ih => intro V E _ _ _ _ G hcard heven y hy by_cases hn : n=0 · have : IsEmpty V := Fintype.card_eq_zero_iff.mp (hcard.trans hn) have : IsEmpty E := ⟨fun e => isEmptyElim (G.left e)⟩ simpa [separableLower,entropy] using maxMatchingEntropy_nonneg G hy · have heven' : Even (Fintype.card V) := hcard ▸ heven have hPM : Nonempty G.Matching := by obtain ⟨p,hp⟩ := (G.mem_polytope_iff y).mp hy by_contra h have : IsEmpty G.Matching := not_nonempty_iff.mp h simpa using hp.1.2 obtain ⟨x,hx,hmax⟩ := separableDefect_attains_max G heven' hPM obtain ⟨e₀,he₀⟩ := separable_max_has_forced G heven' (by omega) hx hmax have hc := G.remaining_vertex_card e₀ have hlt : Fintype.card {v // G.RemainingVertex e₀ v}