Documentation

LeanPool.DomainTheory.Neighborhood.Exercise116

Exercise 1.16 (Scott 1981, PRG-19, §1) — cofinite subsets of #

Δ = ℕ, 𝒟 = the cofinite subsets (Xᶜ finite). This is a neighbourhood system (cofiniteSystem), closed under all finite intersections. Scott asks to show |𝒟| ≅ (𝒫(ℕ), ⊆).

The order-isomorphism cofiniteIso : |𝒟| ≃o Set sends a filter x to its set of excluded points toExcluded x = {n ∣ {n}ᶜ ∈ x}, with inverse ofExcluded E = {Y cofinite ∣ Yᶜ ⊆ E} (a filter for every E ⊆ ℕ). The key reconstruction lemma is mem_compl_of_finite: ⋂_{n∈F} {n}ᶜ = Fᶜ ∈ x for finite F of points whose single-point deletions are in x.

We also record ofExcluded_univ_isTotal / le_ofExcluded_univ — the unique total element is the -top ofExcluded (= all of 𝒟), matching the greatest element ℕ ∈ 𝒫(ℕ) — and fullSystem, a second system (all subsets) closed under finite intersection.

mem_compl_of_finite uses Set.Finite.induction_on (and Set.Finite is classical), so the classification lemmas are not choice-free; the constructions (ofExcluded, cofiniteSystem) are [propext, Quot.sound].

Exercise 1.16 — the cofinite neighbourhood system on . X ∈ 𝒟 iff Xᶜ finite; closed under finite intersection since (X∩Y)ᶜ = Xᶜ ∪ Yᶜ.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    The filter generated by an arbitrary set E ⊆ ℕ of "excluded points": ofExcluded E = {Y cofinite ∣ Yᶜ ⊆ E}. This is a filter for every E.

    Equations
    Instances For

      The set of points excluded by a filter x: toExcluded x = {n ∣ {n}ᶜ ∈ x}.

      Equations
      Instances For

        Each {n}ᶜ is a neighbourhood (its complement {n} is finite).

        theorem Domain.Neighborhood.Cofinite.mem_compl_of_finite (x : cofiniteSystem.Element) {F : Set } (hF : F.Finite) :
        (∀ nF, x.mem {n})x.mem F

        Reconstruction lemma. For finite F of points each of whose single-deletion {n}ᶜ is in the filter x, the intersection ⋂_{n∈F} {n}ᶜ = Fᶜ is also in x.

        For n ∉ Y, the neighbourhood Y is contained in {n}ᶜ.

        Exercise 1.16 — |𝒟| ≅ (𝒫(ℕ), ⊆). The filter x corresponds to its excluded-point set toExcluded x; inclusion of filters matches inclusion of excluded sets.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Total elements. #

          Every filter is ofExcluded (the whole family 𝒟; every cofinite Y has Yᶜ ⊆ ℕ).

          Exercise 1.16 — the unique total element. ofExcluded (matching the greatest element ℕ ∈ 𝒫(ℕ)) is total: it is -maximal.

          A second -closed system: all subsets. #

          Exercise 1.16 (second example). All subsets of form a neighbourhood system, trivially closed under all finite intersections. Unlike cofiniteSystem it is not positive ( is a neighbourhood). Every neighbourhood is a finite element via principal; its total elements are the principal filters of singletons (the system is "flat").

          Equations
          Instances For