Documentation

Atlas.ArithmeticGeometry.code.Morphisms

def ProjectivePoint (k : Type u_1) [Field k] (n : ) :
Type u_1

A nonzero $(n+1)$-tuple of coordinates in $\bar k$, the underlying data of a point of projective $n$-space before quotienting by rescaling.

Instances For
    def projectiveSetoid (k : Type u_1) [Field k] (n : ) :

    The equivalence relation on $\bar k^{n+1} \setminus \{0\}$ identifying two nonzero tuples that differ by a nonzero scalar; the quotient is projective $n$-space $\mathbb{P}^n(\bar k)$.

    Instances For
      def ProjectiveSpace_k (k : Type u_1) [Field k] (n : ) :
      Type u_1

      Projective $n$-space $\mathbb{P}^n(\bar k)$ over the algebraic closure of $k$, defined as the quotient of $\bar k^{n+1}\setminus\{0\}$ by the scaling equivalence relation.

      Instances For

        The set of $k$-rational points $\mathbb{P}^n(k) \subseteq \mathbb{P}^n(\bar k)$: those projective points admitting a representative all of whose coordinates lie in the image of $k \hookrightarrow \bar k$.

        Instances For
          structure HomogPoly (k : Type u_1) [Field k] (n : ) :
          Type u_1

          A homogeneous polynomial of some degree $d$ in $n+1$ variables over $\bar k$: the package of an underlying polynomial together with the degree witness.

          Instances For
            theorem homog_eval_rescale (k : Type u_1) [Field k] (n : ) (f : HomogPoly k n) (c : AlgebraicClosure k) (v : Fin (n + 1)AlgebraicClosure k) :
            (MvPolynomial.eval fun (i : Fin (n + 1)) => c * v i) f.poly = c ^ f.deg * (MvPolynomial.eval v) f.poly

            Rescaling identity for homogeneous polynomials: $f(cv_0, \ldots, cv_n) = c^d \cdot f(v_0, \ldots, v_n)$, where $d$ is the homogeneous degree of $f$.

            def ProjVanishingSet (k : Type u_1) [Field k] (n : ) (S : Set (HomogPoly k n)) :

            The projective vanishing set $V(S) \subseteq \mathbb{P}^n(\bar k)$ of a family of homogeneous polynomials $S$: those points where every $f \in S$ vanishes (the rescaling identity ensures the condition descends to the quotient).

            Instances For
              def IsProjectiveAlgSet (k : Type u_1) [Field k] (n : ) (V : Set (ProjectiveSpace_k k n)) :

              A subset of $\mathbb{P}^n(\bar k)$ is projectively algebraic if it arises as the common vanishing locus of some family of homogeneous polynomials.

              Instances For
                def projAlgSetsCollection (k : Type u_1) [Field k] (n : ) :

                The collection of all projectively algebraic subsets of $\mathbb{P}^n(\bar k)$; its members serve as the closed sets of the projective Zariski topology.

                Instances For

                  The empty set is projectively algebraic: it is cut out by the polynomial $1$, which has no zeros.

                  Arbitrary intersections of projectively algebraic sets are projectively algebraic: union the underlying homogeneous polynomial families.

                  theorem projAlgSets_union_mem (k : Type u_1) [Field k] (n : ) (A : Set (ProjectiveSpace_k k n)) (hA : A projAlgSetsCollection k n) (B : Set (ProjectiveSpace_k k n)) (hB : B projAlgSetsCollection k n) :

                  The union of two projectively algebraic sets is projectively algebraic: take pairwise products of the defining homogeneous polynomials.

                  @[reducible]

                  The projective Zariski topology on $\mathbb{P}^n(\bar k)$: closed sets are exactly the projectively algebraic subsets.

                  Instances For
                    theorem preimage_algebraicSet_of_polyMapEval (k : Type u_1) [Field k] {m n : } (polys : Fin nMvPolynomial (Fin m) (AlgebraicClosure k)) (S : Set (MvPolynomial (Fin n) (AlgebraicClosure k))) :
                    polyMapEval k m n polys ⁻¹' AlgebraicSet k n S = AlgebraicSet k m ((MvPolynomial.bind₁ polys) '' S)

                    The preimage of an algebraic set under a polynomial map is again algebraic: $(\Phi)^{-1}V(S) = V(\Phi^*S)$, where $\Phi^* f = f \circ \Phi$ is computed via bind₁.

                    theorem affineMorphism_preimage_algebraicSet (k : Type u_1) [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (φ : AffineMorphism k m n X Y) (Z : Set (AffineSpace_k k n)) (hZ : IsAlgebraicSetAffine k n Z) :

                    The preimage of an algebraic subset under an affine morphism $\varphi$ is again algebraic: pull back the defining polynomials along φ.polys.

                    theorem affineMorphism_continuous (k : Type u_1) [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (φ : AffineMorphism k m n X Y) :

                    Theorem 14.4. Every affine morphism $\varphi: X \to Y$ between algebraic subsets is continuous with respect to the Zariski topologies.

                    structure AffineIsomorphism (k : Type u_1) [Field k] {m n : } (X : Set (AffineSpace_k k m)) (Y : Set (AffineSpace_k k n)) :
                    Type u_1

                    Definition 14.6. An affine isomorphism $X \cong Y$ consists of mutually inverse affine morphisms $X \to Y$ and $Y \to X$.

                    Instances For
                      def AreIsomorphic (k : Type u_1) [Field k] {m n : } (X : Set (AffineSpace_k k m)) (Y : Set (AffineSpace_k k n)) :

                      Two algebraic subsets $X$ and $Y$ are isomorphic as affine varieties if there exists an affine isomorphism between them.

                      Instances For
                        def AffineMorphism.IsIsomorphism (k : Type u_1) [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (f : AffineMorphism k m n X Y) :

                        An affine morphism $f$ is an isomorphism iff it admits an affine inverse $g$ in the morphism sense (mutually inverse on the underlying point sets).

                        Instances For
                          noncomputable def AffineIsomorphism.refl (k : Type u_1) [Field k] {n : } (X : Set (AffineSpace_k k n)) :

                          Reflexivity for the isomorphism relation: the identity morphism realises $X \cong X$.

                          Instances For
                            def AffineIsomorphism.symm (k : Type u_1) [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (φ : AffineIsomorphism k X Y) :

                            Symmetry: an isomorphism $X \cong Y$ inverts to an isomorphism $Y \cong X$.

                            Instances For
                              noncomputable def AffineIsomorphism.trans (k : Type u_1) [Field k] {m n r : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} {Z : Set (AffineSpace_k k r)} (φ : AffineIsomorphism k X Y) (ψ : AffineIsomorphism k Y Z) :

                              Transitivity: composition of two affine isomorphisms is an affine isomorphism.

                              Instances For
                                theorem pullback_of_induced_morphism_eq (k : Type u_1) [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (hY : Y = AlgebraicSet k n (idealOfAlgebraicSet Y)) (θ : AffineCoordinateRingBar Y →+* AffineCoordinateRingBar X) (hθ_alg : ∀ (r : AlgebraicClosure k), θ ((Ideal.Quotient.mk (idealOfAlgebraicSet Y)) (MvPolynomial.C r)) = (Ideal.Quotient.mk (idealOfAlgebraicSet X)) (MvPolynomial.C r)) (polys : Fin nMvPolynomial (Fin m) (AlgebraicClosure k)) (hmaps : PX, polyMapEval k m n polys P Y) (heval : ∀ (g : MvPolynomial (Fin n) (AlgebraicClosure k)) (P : AffineSpace_k k m) (hP : P X), (evalOnCoordRing k X P hP) (θ ((Ideal.Quotient.mk (idealOfAlgebraicSet Y)) g)) = (MvPolynomial.eval (polyMapEval k m n polys P)) g) (g : MvPolynomial (Fin n) (AlgebraicClosure k)) (P : AffineSpace_k k m) (hP : P X) :
                                (evalOnCoordRing k X P hP) ((AffineMorphism.pullback k { polys := polys, maps_to := hmaps }) ((Ideal.Quotient.mk (idealOfAlgebraicSet Y)) g)) = (evalOnCoordRing k X P hP) (θ ((Ideal.Quotient.mk (idealOfAlgebraicSet Y)) g))

                                Compatibility lemma for the contravariant equivalence: when a ring homomorphism $\theta: \bar k[Y] \to \bar k[X]$ is induced by polynomial maps $\mathrm{polys}$, the pullback of the resulting morphism agrees with $\theta$ upon evaluation on the coordinate ring.

                                theorem induced_morphism_of_pullback_eq (k : Type u_1) [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (hY : Y = AlgebraicSet k n (idealOfAlgebraicSet Y)) (φ : AffineMorphism k m n X Y) (hφ_alg : ∀ (r : AlgebraicClosure k), (AffineMorphism.pullback k φ) ((Ideal.Quotient.mk (idealOfAlgebraicSet Y)) (MvPolynomial.C r)) = (Ideal.Quotient.mk (idealOfAlgebraicSet X)) (MvPolynomial.C r)) (polys' : Fin nMvPolynomial (Fin m) (AlgebraicClosure k)) (hmaps' : PX, polyMapEval k m n polys' P Y) (heval' : ∀ (g : MvPolynomial (Fin n) (AlgebraicClosure k)) (P : AffineSpace_k k m) (hP : P X), (evalOnCoordRing k X P hP) ((AffineMorphism.pullback k φ) ((Ideal.Quotient.mk (idealOfAlgebraicSet Y)) g)) = (MvPolynomial.eval (polyMapEval k m n polys' P)) g) (P : AffineSpace_k k m) (hP : P X) :
                                polyMapEval k m n polys' P = AffineMorphism.toFun k φ P

                                Conversely: if the pullback of an affine morphism $\varphi$ is realised by polynomial maps polys', then polys' agrees with φ.polys on the underlying point set.

                                A ring homomorphism between coordinate rings over $\bar k$ is $\bar k$-algebra preserving if it fixes the scalar subring, i.e. sends $\bar r \in \bar k[Y]$ to $\bar r \in \bar k[X]$ for every $r \in \bar k$.

                                Instances For
                                  structure ContravariantEquivalenceData (k : Type u_2) [Field k] (m n : ) (X : Set (AffineSpace_k k m)) (Y : Set (AffineSpace_k k n)) :
                                  Type u_2

                                  Theorem 14.8 (data). A bundle of data witnessing the contravariant equivalence between affine varieties (and their morphisms) and their coordinate rings (with $\bar k$-algebra homomorphisms): a functor in each direction together with round-trip identities.

                                  Instances For
                                    noncomputable def corollary_14_9_categorical_equiv (k : Type u_1) [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (hY : Y = AlgebraicSet k n (idealOfAlgebraicSet Y)) :

                                    Corollary 14.9. Assuming $Y = V(I(Y))$, the construction $\varphi \mapsto \varphi^*$ together with its inverse $\theta \mapsto \theta^*$ exhibits a contravariant equivalence between the category of affine morphisms $X \to Y$ and the category of $\bar k$-algebra homomorphisms $\bar k[Y] \to \bar k[X]$.

                                    Instances For

                                      Axiom: any two nonempty affine charts of a projective variety have canonically isomorphic coordinate rings over $\bar k$.

                                      Instances For

                                        Axiom: the coordinate-ring isomorphism between two affine charts of a projective variety is a $\bar k$-algebra map.

                                        Axiom: the inverse of the coordinate-ring isomorphism between two affine charts is also a $\bar k$-algebra map.

                                        The function fields of any two nonempty affine charts of a projective variety are isomorphic, obtained by passing the coordinate-ring isomorphism to fraction fields.

                                        Each affine chart of a projective vanishing set is itself an algebraic subset, cut out by the dehomogenizations of the original polynomials.

                                        theorem coordRing_iso_induces_variety_iso (k : Type u_1) [Field k] {n m : } {X : Set (AffineSpace_k k n)} {Y : Set (AffineSpace_k k m)} (hX : IsAlgebraicSubset k n X) (hY : IsAlgebraicSubset k m Y) (θ : AffineCoordinateRingBar X ≃+* AffineCoordinateRingBar Y) ( : IsAlgHomBar k θ.toRingHom) (hθ_symm : IsAlgHomBar k θ.symm.toRingHom) :

                                        Reverse direction of the categorical equivalence: a $\bar k$-algebra isomorphism between coordinate rings $\bar k[X] \cong \bar k[Y]$ induces an isomorphism of affine varieties $X \cong Y$.

                                        def IsProjectiveVarietyOfPolys (k : Type u_1) [Field k] {n : } (S : Set (MvPolynomial (Fin (n + 1)) (AlgebraicClosure k))) :

                                        A family of homogeneous polynomials $S$ defines a projective variety if its projective vanishing locus is a projective variety in the structural sense.

                                        Instances For

                                          Axiom: the vanishing ideal of an affine chart of a projective variety is the image of a homogeneous prime ideal under the dehomogenization map.

                                          Every nonempty affine chart of a projective variety is itself an affine variety (algebraic and irreducible), following from Theorem 13.24 applied to the dehomogenization map.

                                          Corollary 14.10. Any two nonempty affine charts of the same projective variety are isomorphic as affine varieties.

                                          def AffineMorphism.IsDefinedOverK {k : Type u_2} [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (φ : AffineMorphism k m n X Y) :

                                          An affine morphism is defined over $k$ if each of its component polynomials lies in the image of $k[X_1, \ldots, X_m] \hookrightarrow \bar k[X_1, \ldots, X_m]$.

                                          Instances For
                                            def AffineIsomorphism.IsDefinedOverK {k : Type u_2} [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (φ : AffineIsomorphism k X Y) :

                                            An affine isomorphism is defined over $k$ if both its forward and inverse morphisms are.

                                            Instances For
                                              def AreIsomorphicOverK {k : Type u_2} [Field k] {m n : } (X : Set (AffineSpace_k k m)) (Y : Set (AffineSpace_k k n)) :

                                              Two affine varieties are isomorphic over $k$ if there exists an affine isomorphism between them which is defined over $k$.

                                              Instances For
                                                theorem bind₁_mem_idealOverK_of_maps_to {k : Type u_2} [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (polys : Fin nMvPolynomial (Fin m) (AlgebraicClosure k)) (hmaps : PX, polyMapEval k m n polys P Y) (polysK : Fin nMvPolynomial (Fin m) k) (hpolysK : ∀ (j : Fin n), polys j = (MvPolynomial.map (algebraMap k (AlgebraicClosure k))) (polysK j)) {f : MvPolynomial (Fin n) k} (hf : f idealOverK Y) :

                                                If an affine morphism mapping $X$ into $Y$ is defined over $k$, then pullback along it sends the $k$-vanishing ideal of $Y$ into that of $X$: $f \in I_k(Y) \Rightarrow f \circ \mathrm{polys}_K \in I_k(X)$.

                                                noncomputable def AffineMorphism.pullbackOverK {k : Type u_2} [Field k] {m n : } {X : Set (AffineSpace_k k m)} {Y : Set (AffineSpace_k k n)} (φ : AffineMorphism k m n X Y) ( : φ.IsDefinedOverK) :

                                                The pullback over $k$ of an affine morphism $\varphi$ that is defined over $k$: the induced $k$-algebra map $k[Y] \to k[X]$ between $k$-coordinate rings.

                                                Instances For