---
title: Definition of sublocale
author: Ayberk Tosun
date: 2026-10-31
---
In this module, we define the notion of sublocale using nuclei.
\begin{code}
{-# OPTIONS --safe --without-K #-}
open import UF.FunExt
open import UF.PropTrunc
module Locales.Sublocale.Definition
(pt : propositional-truncations-exist)
(fe : Fun-Ext)
where
open import Locales.ContinuousMap.Homeomorphism-Definition pt fe
open import Locales.Frame pt fe
open import Locales.Sublocale.Nucleus pt fe
open import Locales.Sublocale.SublocaleDeterminedByNucleus pt fe
open import MLTT.Spartan
open import UF.Logic
open import UF.SubtypeClassifier
open AllCombinators pt fe
open Locale
\end{code}
A sublocale of a locale `X` is one that is determined by a nucleus on `X`. In
other words, a locale `Y` is a sublocale of `X` if there is a nucleus
`j : šŖ X ā šŖ X` such that `X_j` is homeomorphic to `Y`.
\begin{code}
exhibits-as-a-sublocale-of
: (X : Locale (š¤ āŗ) š¤ š¤)
ā (šæ : Nucleus (šŖ X))
ā Locale (š¤ āŗ) š¤ š¤
ā š¤ āŗ Ģ
exhibits-as-a-sublocale-of X šæ Y = Y ā
cā
Xā±¼
where
open Sublocale-Determined-By-Nucleus
Xā±¼ = sublocale-determined-by-nucleus X šæ
_is-sublocale-of_ : (Y X : Locale (š¤ āŗ) š¤ š¤) ā Ī© (š¤ āŗ)
Y is-sublocale-of X = Ę šæ ź Nucleus (šŖ X) , exhibits-as-a-sublocale-of X šæ Y
\end{code}