File size: 4,284 Bytes
4a56cd6 | 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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.PrincipalOpen
import Mathlib.RingTheory.Spectrum.Prime.Topology
/-! # Affine Point Spectrum -/
namespace OAI.AlgebraicGeometry
/-!
# Affine complex characters and their underlying spectrum points
An ordinary complex point of an affine algebra determines its prime kernel.
This map is continuous to the Zariski spectrum, and inverse images of scheme
basic opens are precisely the ordinary principal open subsets. The topology on
the source remains the evaluation topology on complex characters.
-/
universe u v
variable {A : Type u} [CommRing A] [Algebra ℂ A]
/-- The underlying prime-spectrum point of a complex algebra character. -/
def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : PrimeSpectrum A :=
⟨RingHom.ker x.toRingHom, RingHom.ker_isPrime x.toRingHom⟩
/-- A complex-algebra character is surjective, so its prime kernel is maximal. -/
theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_isMaximal (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) :
(Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum x).asIdeal.IsMaximal := by
change (RingHom.ker x.toRingHom).IsMaximal
apply RingHom.ker_isMaximal_of_surjective x.toRingHom
intro z
refine ⟨algebraMap ℂ A z, ?_⟩
simp
/-- The prime kernel is the usual spectrum image of the unique point of `Spec ℂ`. -/
theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_eq_comap_bot (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) :
Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum x = PrimeSpectrum.comap x.toRingHom
(⟨⊥, by infer_instance⟩ : PrimeSpectrum ℂ) := rfl
/-- Scheme basic opens pull back to nonvanishing loci in the ordinary point topology. -/
@[simp]
theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_preimage_basicOpen (a : A) :
Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum ⁻¹' (PrimeSpectrum.basicOpen a : Set (PrimeSpectrum A)) =
Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen a := by
ext x
change (a ∉ RingHom.ker x.toRingHom) ↔ x.toRingHom a ≠ 0
exact not_congr (RingHom.mem_ker (f := x.toRingHom) (r := a))
/-- Scheme closed loci pull back to the same equations on complex characters. -/
@[simp]
theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_preimage_zeroLocus (S : Set A) :
Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum ⁻¹' PrimeSpectrum.zeroLocus S =
{x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A | ∀ a ∈ S, x a = 0} := by
ext x
change (S ⊆ (RingHom.ker x.toRingHom : Set A)) ↔ ∀ a ∈ S, x a = 0
constructor
· intro hx a ha
exact hx ha
· intro hx a ha
exact hx a ha
/-- The map from ordinary affine complex points to the Zariski spectrum is continuous. -/
@[continuity, fun_prop]
theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_toPrimeSpectrum :
Continuous (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum (A := A)) := by
rw [continuous_iff_isClosed]
intro S hS
obtain ⟨I, rfl⟩ := (PrimeSpectrum.isClosed_iff_zeroLocus S).mp hS
rw [Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_preimage_zeroLocus]
exact Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isClosed_commonZeroSet I
/-- Underlying spectrum points commute with pullback of complex characters. -/
@[simp]
theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_comap {B : Type v} [CommRing B] [Algebra ℂ B]
(f : A →ₐ[ℂ] B) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) :
Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x) = PrimeSpectrum.comap f.toRingHom (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum x) := by
ext a
rfl
end OAI.AlgebraicGeometry
|