Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
open CategoryTheory TopologicalSpace
universe u
namespace AlgebraicGeometry.FiniteEtale
variable {X Y : Scheme.{u}}theorem bijective_clopen_preimage (f : X ⟶ Y)
[(pullback f).IsEquivalence] :
Function.Bijective (fun U : Clopens Y ↦
(⟨f ⁻¹' (U : Set Y), U.isClopen.preimage f.continuous⟩ : Clopens X)) := by
constructor
· intro U V h
obtain ⟨W, _, hW⟩ := existsUnique_clopen_preimage_of_pullback_isEquivalence f
⟨f ⁻¹' (U : Set Y), U.isClopen.preimage f.continuous⟩
have hpre : f ⁻¹' (U : Set Y) = f ⁻¹' (V : Set Y) :=
congrArg (fun A : Clopens X ↦ (A : Set X)) h
exact (hW U rfl).trans (hW V hpre.symm).symm
· intro U
obtain ⟨V, hV, _⟩ := existsUnique_clopen_preimage_of_pullback_isEquivalence f U
exact ⟨V, Clopens.ext hV⟩