Zariski's main theorem
ProvedFamousTheorems.zariski_main_theoremZariski's main theorem. Let be a separated, quasi-compact morphism of schemes that is locally of finite type, and let be the canonical map to the relative normalisation of in . Then there is an open subscheme such that restricts to an isomorphism over , and the preimage of is exactly the set of points of at which is quasi-finite.
In particular, a quasi-finite separated morphism of finite type factors as an open immersion followed by an integral morphism. Zariski's main theorem is one of the deepest results of foundational algebraic geometry, with consequences such as the connectedness of fibres of birational maps to normal varieties.
Formalization note. Mathlib's AlgebraicGeometry.Scheme.Hom.exists_isIso_morphismRestrict_toNormalization. f.normalization is the relative normalisation, f.toNormalization the canonical morphism, ∣_ U the restriction of a morphism over an open, and f.QuasiFiniteAt x quasi-finiteness at .
import Mathlib
namespace FamousTheorems
open AlgebraicGeometry
theorem zariski_main_theorem {X Y : Scheme} (f : X ⟶ Y) [LocallyOfFiniteType f] [IsSeparated f] [QuasiCompact f] :
∃ U : f.normalization.Opens, CategoryTheory.IsIso (f.toNormalization ∣_ U) ∧
((TopologicalSpace.Opens.map f.toNormalization.base).obj U).carrier = {x : X | f.QuasiFiniteAt x} := by sorry
end FamousTheorems