The actual away fibre and the actual residue fibre account for every point of a scheme over a DVR. No lifting of points is assumed.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
namespace SchemeTheory
universe utheorem mem_genericFiber_or_closedFiber_of_DVR
(B : Type u) [CommRing B] [IsDomain B] [IsDiscreteValuationRing B]
{X : Scheme.{u}} (f : X ⟶ Spec (.of B)) (π : B) (hπ : Prime π) (x : X) :
let η := Spec.map (CommRingCat.ofHom (algebraMap B (Localization.Away π)))
let s := Spec.map (CommRingCat.ofHom (IsLocalRing.residue B))
x ∈ Set.range (pullback.fst f η : pullback f η ⟶ X) ∨
x ∈ Set.range (pullback.fst f s : pullback f s ⟶ X) := by
intro η s
rw [Scheme.Pullback.range_fst, Scheme.Pullback.range_fst]
change f x ∈ Set.range η ∨ f x ∈ Set.range s
by_cases h : π ∈ (f x).asIdeal
· right
have hle : IsLocalRing.maximalIdeal B ≤ (f x).asIdeal := by
rw [hπ.irreducible.maximalIdeal_eq]
exact Ideal.span_le.mpr (Set.singleton_subset_iff.mpr h)
have hEq : IsLocalRing.maximalIdeal B = (f x).asIdeal :=
(IsLocalRing.maximalIdeal.isMaximal B).eq_of_le (f x).isPrime.ne_top hle
have hPoint : IsLocalRing.closedPoint B = f x := PrimeSpectrum.ext hEq
refine ⟨IsLocalRing.closedPoint (IsLocalRing.ResidueField B), ?_⟩
change PrimeSpectrum.comap (IsLocalRing.residue B)
(IsLocalRing.closedPoint (IsLocalRing.ResidueField B)) = f x
exact (IsLocalRing.PrimeSpectrum.comap_residue B _).trans hPoint
· left
let p : PrimeSpectrum B := f x
have hp : p ∈ PrimeSpectrum.basicOpen π := h
have hRange : Set.range
(PrimeSpectrum.comap (algebraMap B (Localization.Away π))) =
(PrimeSpectrum.basicOpen π : Set (PrimeSpectrum B)) :=
PrimeSpectrum.localization_away_comap_range (Localization.Away π) π
have hpRange : p ∈ Set.range
(PrimeSpectrum.comap (algebraMap B (Localization.Away π))) := hRange.symm ▸ hp
exact hpRange