-------------------------------------------------------------------------------- title: Two author: Ayberk Tosun date-started: 2024-03-04 date-completed: 2024-03-04 -------------------------------------------------------------------------------- We define the locale corresponding to the two-point discrete space. \begin{code} {-# OPTIONS --safe --without-K #-} open import UF.PropTrunc open import UF.FunExt open import UF.Subsingletons module Locales.DiscreteLocale.Two (fe : Fun-Ext) (pe : Prop-Ext) (pt : propositional-truncations-exist) where open import Locales.DiscreteLocale.Definition fe pe pt open import Locales.Frame pt fe open import MLTT.Spartan hiding (๐) open import UF.Logic open import UF.Sets open import UF.DiscreteAndSeparated hiding (๐-is-set) open import UF.Powerset open AllCombinators pt fe renaming (_โง_ to _โงโ_; _โจ_ to _โจโ_) open PropositionalSubsetInclusionNotation fe open PropositionalTruncation pt hiding (_โจ_) \end{code} \begin{code} module _ (๐ค : Universe) where ๐-is-set : {๐ค : Universe} โ is-set (๐ ๐ค) ๐-is-set {๐ค} = +-is-set (๐ {๐ค}) (๐ {๐ค}) ๐-is-set ๐-is-set ๐-loc : Locale (๐ค โบ) ๐ค ๐ค ๐-loc = discrete-locale (๐ ๐ค) ๐-is-set \end{code}