forked from leanprover-community/mathlib4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEffectiveEpi.lean
More file actions
35 lines (26 loc) · 1.08 KB
/
EffectiveEpi.lean
File metadata and controls
35 lines (26 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/-
Copyright (c) 2025 Jonas van der Schaaf. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jonas van der Schaaf, Dagur Asgeirsson
-/
module
public import Mathlib.CategoryTheory.Sites.RegularEpi
public import Mathlib.Condensed.Light.Epi
public import Mathlib.Condensed.Light.Functors
/-!
# The functor from light profinite sets to light condensed sets preserves effective epimorphisms
-/
@[expose] public section
open CategoryTheory CompHausLike
universe u
instance : lightProfiniteToLightCondSet.PreservesEpimorphisms where
preserves f hf := by
rw [LightCondSet.epi_iff_locallySurjective_on_lightProfinite]
intro S g
refine ⟨pullback f g, pullback.snd _ _, fun y ↦ ?_, pullback.fst _ _, pullback.condition _ _⟩
rw [LightProfinite.epi_iff_surjective] at hf
obtain ⟨x, hx⟩ := hf (g.hom y)
exact ⟨⟨⟨x, y⟩, hx⟩, rfl⟩
instance : IsRegularEpiCategory LightCondSet.{u} :=
inferInstanceAs <| IsRegularEpiCategory (Sheaf _ _)
example : lightProfiniteToLightCondSet.PreservesEffectiveEpis := inferInstance