Download data/lean/OAI/AlgebraicGeometry/Foundations/Scheme/AffineComplexPoints.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.36 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Foundations/Scheme/AffineComplexPoints.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/Foundations/Scheme/AffineComplexPoints.lean
-
curl -L -o AffineComplexPoints.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Foundations/Scheme/AffineComplexPoints.lean
4.36 kB
Lean 4 Β· 11
declarations fullstatements
| import Mathlib.AlgebraicGeometry.Group.Affine | |
| import Mathlib.Analysis.Complex.Basic | |
| /-! # Affine Complex Points -/ | |
| namespace OAI.AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints | |
| /-! | |
| # Affine complex points and scheme morphisms | |
| The carrier of affine complex points is the standard algebraic one: complex-algebra | |
| homomorphisms to `β`. Fully faithfulness of mathlib's relative `Spec` functor identifies | |
| these points with scheme morphisms over `Spec β`. No topology is installed here. | |
| -/ | |
| open _root_.CategoryTheory Opposite _root_.AlgebraicGeometry | |
| universe u | |
| /-- The complex points of an affine complex algebra are its complex-algebra characters. -/ | |
| abbrev affineComplexPoints (A : Type u) [CommRing A] [Algebra β A] := A ββ[β] β | |
| /-- The affine scheme of an algebra, equipped with its actual structure morphism. -/ | |
| noncomputable abbrev affineSchemeOver (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] : | |
| Over (Spec (CommRingCat.of R)) := | |
| (algSpec (CommRingCat.of R)).obj (op (CommAlgCat.of R A)) | |
| /-- Packaging an algebra homomorphism as an arrow in the opposite algebra category. -/ | |
| def algHomOppositeEquiv (R A B : Type u) [CommRing R] [CommRing A] [CommRing B] | |
| [Algebra R A] [Algebra R B] : | |
| (A ββ[R] B) β (op (CommAlgCat.of R B) βΆ op (CommAlgCat.of R A)) where | |
| toFun f := (CommAlgCat.ofHom f).op | |
| invFun f := f.unop.hom | |
| left_inv _ := rfl | |
| right_inv _ := rfl | |
| /-- The fully faithful relative spectrum functor, written on ordinary algebra homomorphisms. -/ | |
| noncomputable def affineAlgHomOverSpecEquiv (R A B : Type u) | |
| [CommRing R] [CommRing A] [CommRing B] [Algebra R A] [Algebra R B] : | |
| (A ββ[R] B) β (affineSchemeOver R B βΆ affineSchemeOver R A) := | |
| (algHomOppositeEquiv R A B).trans (algSpec.fullyFaithful (R := CommRingCat.of R)).homEquiv | |
| /-- The scheme morphism underlying the equivalence is precisely `Spec.map`. -/ | |
| theorem affineAlgHomOverSpecEquiv_left (R A B : Type u) | |
| [CommRing R] [CommRing A] [CommRing B] [Algebra R A] [Algebra R B] | |
| (f : A ββ[R] B) : | |
| (affineAlgHomOverSpecEquiv R A B f).left = | |
| Spec.map (CommRingCat.ofHom f.toRingHom) := rfl | |
| /-- Complex-algebra characters are exactly morphisms from the complex point over `Spec β`. -/ | |
| noncomputable def affineComplexPointsEquiv (A : Type) [CommRing A] [Algebra β A] : | |
| affineComplexPoints A β (affineSchemeOver β β βΆ affineSchemeOver β A) := | |
| affineAlgHomOverSpecEquiv β A β | |
| /-- This correspondence sends a complex character to its usual spectrum morphism. -/ | |
| theorem affineComplexPointsEquiv_left (A : Type) [CommRing A] [Algebra β A] | |
| (x : affineComplexPoints A) : | |
| (affineComplexPointsEquiv A x).left = | |
| Spec.map (CommRingCat.ofHom x.toRingHom) := rfl | |
| /-- The base object used for points has identity structure morphism. -/ | |
| theorem affineComplexBase_hom : | |
| (affineSchemeOver β β).hom = π (Spec (CommRingCat.of β)) := by | |
| change Spec.map (CommRingCat.ofHom (algebraMap β β)) = _ | |
| simp | |
| /-- The spectrum of `β` as a relative affine scheme is the identity object over the base. -/ | |
| noncomputable def affineComplexBaseIso : | |
| affineSchemeOver β β β Over.mk (π (Spec (CommRingCat.of β))) := | |
| Over.isoMk (Iso.refl _) (by | |
| change π (Spec (CommRingCat.of β)) β« π (Spec (CommRingCat.of β)) = | |
| (affineSchemeOver β β).hom | |
| simp) | |
| /-- The standard relative-points formulation, with the literal identity object as source. -/ | |
| noncomputable def affineComplexPointsOverEquiv (A : Type) [CommRing A] [Algebra β A] : | |
| affineComplexPoints A β | |
| (Over.mk (π (Spec (CommRingCat.of β))) βΆ affineSchemeOver β A) := | |
| (affineComplexPointsEquiv A).trans | |
| { toFun := fun f => affineComplexBaseIso.inv β« f | |
| invFun := fun f => affineComplexBaseIso.hom β« f | |
| left_inv := fun f => by simp | |
| right_inv := fun f => by simp } | |
| /-- The relative-points equivalence has the usual underlying spectrum map. -/ | |
| theorem affineComplexPointsOverEquiv_left (A : Type) [CommRing A] [Algebra β A] | |
| (x : affineComplexPoints A) : | |
| (affineComplexPointsOverEquiv A x).left = | |
| Spec.map (CommRingCat.ofHom x.toRingHom) := by | |
| change π _ β« Spec.map (CommRingCat.ofHom x.toRingHom) = _ | |
| simp | |
| end OAI.AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints | |
Outline
- abbrev
affineComplexPoints21 - abbrev
affineSchemeOver24 - def
algHomOppositeEquiv29 - def
affineAlgHomOverSpecEquiv38 - theorem
affineAlgHomOverSpecEquiv_left44 - def
affineComplexPointsEquiv51 - theorem
affineComplexPointsEquiv_left56 - theorem
affineComplexBase_hom62 - def
affineComplexBaseIso68 - def
affineComplexPointsOverEquiv76 - theorem
affineComplexPointsOverEquiv_left86