Exercise123: greedy Element is Total
ProvedScott1980.Neighborhood.Exercise123.greedyElement_isTotalscott1980
Exercise 1.23 — {Yₙ} is a total element. Maximality: if z extends the greedy element
and W ∈ z, write W = enum k (surjectivity). For k = 0, W = Y₀ is already in the greedy
element. For k = m+1: either the greedy step accepted enum k (then W = Y_k is in the
element), or it rejected it — but then acc m ∩ enum k ∉ 𝒟, contradicting that both acc m
(in the greedy element, hence in z) and W lie in the filter z.
Preamble
import Definitions.Def_Scott1980_Neighborhood_Basic
import Mathlib.Tactic
import Definitions.Def_Scott1980_Neighborhood_Exercise123
set_option autoImplicit true
open Scott1980 Scott1980.Neighborhood
open Scott1980.Neighborhood.Exercise123
open NeighborhoodSystem
variable {α : Type*} (V : NeighborhoodSystem α) (enum : ℕ → Set α) [DecidablePred V.mem]
variable (henum : ∀ n, V.mem (enum n))
include henum
variable (hsurj : ∀ {X : Set α}, V.mem X → ∃ n, enum n = X)
include hsurjFormal statement
theorem Scott1980.Neighborhood.Exercise123.greedyElement_isTotal : V.IsTotal (greedyElement V enum henum) := by sorry
Source