Skip to content

Commit

Permalink
Commit forgotten change
Browse files Browse the repository at this point in the history
  • Loading branch information
ayberkt committed Aug 21, 2023
1 parent 7fc92f1 commit 11cfb65
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions source/Locales/Compactness.lagda
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module Locales.Compactness (pt : propositional-truncations-exist)

open import Locales.Frame pt fe
open import Locales.WayBelow pt fe
open import Slice.Family

open Locale

Expand All @@ -45,3 +46,33 @@ is-compact : Locale 𝓤 𝓥 𝓦 → Ω (𝓤 ⊔ 𝓥 ⊔ 𝓦 ⁺)
is-compact X = is-compact-open X 𝟏[ 𝒪 X ]

\end{code}

We also define the type `𝒦 X` expressing the type of compact opens of a locale
`X`.

\begin{code}

𝒦 : Locale 𝓤 𝓥 𝓦 → 𝓤 ⊔ 𝓥 ⊔ 𝓦 ⁺ ̇
𝒦 X = Σ U ꞉ ⟨ 𝒪 X ⟩ , is-compact-open X U holds

\end{code}

Using this, we could define a family giving the compact opens of a locale `X`:

\begin{code}

ℬ-compact : (X : Locale 𝓤 𝓥 𝓦) → Fam (𝓤 ⊔ 𝓥 ⊔ 𝓦 ⁺) ⟨ 𝒪 X ⟩
ℬ-compact X = 𝒦 X , pr₁

\end{code}

but the index of this family lives in `𝓤 ⊔ 𝓥 ⊔ 𝓦 ⁺`. This is to say that, if one
starts with a large and locally small locale, the resulting family would live in
`𝓤 ⁺` which means it would be *too big*.

\begin{code}

ℬ-compact₀ : (X : Locale (𝓤 ⁺) 𝓤 𝓤) → Fam (𝓤 ⁺) ⟨ 𝒪 X ⟩
ℬ-compact₀ = ℬ-compact

\end{code}

0 comments on commit 11cfb65

Please sign in to comment.