Module

AlgebraTensorMapApplyEq.lean

Nyll.SchemeTheory.Descent.AlgebraTensorMapApplyEq
24 declarations indexed from sourceView source ↗

Algebra exists tensor Product map apply eq of finite Type of is Direct Limit

Imports6
Imported by2

Declarations

abbrev

F

L49 ↗
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.F

The transition algebra homomorphism viewed as a linear map over the base ring.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
abbrev F (i j : ι) (h : i ≤ j) : G i →ₗ[R₀] G j
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.directedSystem_F
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
instance directedSystem_F : DirectedSystem G fun i j h => ⇑(F f i j h) := by
  change DirectedSystem G fun i j h => ⇑(f i j h)
  infer_instance
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.toR

The structural algebra homomorphism from a stage to the direct limit ring.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
abbrev toR (i : ι) : G i →ₐ[R₀] R
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.toR_apply
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
omit [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι] in
theorem toR_apply (i : ι) (x : G i) : toR (R₀ := R₀) (R := R) i x = algebraMap (G i) R x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.toR_f
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
include hR in
omit [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι] in
theorem toR_f {i j : ι} (hij : i ≤ j) (x : G i) :
    toR (R₀ := R₀) (R := R) j (f i j hij x) = toR (R₀ := R₀) (R := R) i x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.limToR

The linear map from the module direct limit induced by the structural maps to R.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
def limToR : Module.DirectLimit G (F f) →ₗ[R₀] R
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.limToR_of
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
omit [Nonempty ι] [IsDirectedOrder ι] in
theorem limToR_of (i : ι) (x : G i) :
    limToR f hR (Module.DirectLimit.of R₀ ι G (F f) i x) = algebraMap (G i) R x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.limToR_bijective
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
theorem limToR_bijective : Function.Bijective (limToR f hR)
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.limEquiv

Identify the module direct limit with R using the given algebra direct limit property.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
def limEquiv : Module.DirectLimit G (F f) ≃ₗ[R₀] R
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.limEquiv_symm_algebraMap
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
theorem limEquiv_symm_algebraMap (i : ι) (x : G i) :
    (limEquiv f hR).symm (algebraMap (G i) R x) = Module.DirectLimit.of R₀ ι G (F f) i x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.mapT

Tensor the structural map from a stage to the limit ring with the identity of B.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
abbrev mapT (i : ι) : G i ⊗[R₀] B →ₐ[R₀] R ⊗[R₀] B
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.stepT

Tensor a transition map between stages with the identity of B.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
abbrev stepT {i j : ι} (hij : i ≤ j) : G i ⊗[R₀] B →ₐ[R₀] G j ⊗[R₀] B
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.mapT_eq_rTensor
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
omit [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι] in
theorem mapT_eq_rTensor (i : ι) (x : G i ⊗[R₀] B) :
    mapT (R := R) B i x = (toR (R₀ := R₀) (R := R) i).toLinearMap.rTensor B x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.stepT_eq_rTensor
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
omit [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι] [DirectedSystem G fun i j h ↦ ⇑(f i j h)] in
theorem stepT_eq_rTensor {i j : ι} (hij : i ≤ j) (x : G i ⊗[R₀] B) :
    stepT f B hij x = (F f i j hij).rTensor B x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.mapT_stepT
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
include hR in
omit [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι] in
theorem mapT_stepT {i j : ι} (hij : i ≤ j) (x : G i ⊗[R₀] B) :
    mapT (R := R) B j (stepT f B hij x) = mapT B i x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.stepT_stepT
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
omit [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι] in
theorem stepT_stepT {i j k : ι} (hij : i ≤ j) (hjk : j ≤ k) (x : G i ⊗[R₀] B) :
    stepT f B hjk (stepT f B hij x) = stepT f B (hij.trans hjk) x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.Φ

Identify the tensor product of the limit ring with the direct limit of the stage tensor products.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
def Φ :
    R ⊗[R₀] B ≃ₗ[R₀] Module.DirectLimit (fun i => G i ⊗[R₀] B) (fun i j h => (F f i j h).rTensor B)
      :=
  (limEquiv f hR).symm.rTensor B ≪≫ₗ TensorProduct.directLimitLeft (F f) B
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.Φ_mapT
Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
theorem Φ_mapT (i : ι) (x : G i ⊗[R₀] B) :
    Φ f hR B (mapT B i x) =
      Module.DirectLimit.of R₀ ι (fun i => G i ⊗[R₀] B) (fun i j h => (F f i j h).rTensor B) i x :=
        by
  induction x using TensorProduct.inductionOn with
  | tmul g b =>
    rw [Algebra.TensorProduct.map_tmul]
    change TensorProduct.directLimitLeft (F f) B (((limEquiv f hR).symm.rTensor B) (toR i g ⊗ₜ[R₀]
      b)) = _
    rw [LinearEquiv.rTensor_tmul, toR_apply, limEquiv_symm_algebraMap,
      TensorProduct.directLimitLeft_tmul_of]
  | add x y hx hy => simp only [map_add, hx, hy]
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.exists_mapT_eq
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
include hR in
omit [DecidableEq ι] in
theorem exists_mapT_eq (z : R ⊗[R₀] B) : ∃ (i : ι) (x : G i ⊗[R₀] B), mapT B i x = z
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.exists_stepT_eq_zero
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
include hR in
omit [DecidableEq ι] in
theorem exists_stepT_eq_zero {i : ι} (x : G i ⊗[R₀] B) (hx : mapT (R := R) B i x = 0) :
    ∃ (j : ι) (hij : i ≤ j), stepT f B hij x = 0
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.exists_common_lift
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
include hR in
omit [DecidableEq ι] in
theorem exists_common_lift {n : ℕ} (b : Fin n → R ⊗[R₀] B) :
    ∃ (i : ι) (y : Fin n → G i ⊗[R₀] B), ∀ k, mapT B i (y k) = b k
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.exists_common_kill
Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
section Tensor
variable (B : Type w₂) [CommRing B] [Algebra R₀ B]
include hR in
omit [DecidableEq ι] in
theorem exists_common_kill {i : ι} {m : ℕ} (x : Fin m → G i ⊗[R₀] B) (hx : ∀ l, mapT (R := R) B i
  (x l) = 0) :
    ∃ (j : ι) (hij : i ≤ j), ∀ l, stepT f B hij (x l) = 0
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit.AlgHomSpreadUnique.exists_apply_eq
Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgHomSpreadUnique
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] [DecidableEq ι]
  {G : ι → Type v} [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
  (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
  {R : Type w} [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
  (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
open MvPolynomial in
include hR in
omit [DecidableEq ι] in
theorem exists_apply_eq
    (A : Type w₁) [CommRing A] [Algebra R₀ A] [Algebra.FiniteType R₀ A]
    (B : Type w₂) [CommRing B] [Algebra R₀ B]
    {i : ι} (φ₁ φ₂ : G i ⊗[R₀] A →ₐ[G i] G i ⊗[R₀] B)
    (h : ∀ x : G i ⊗[R₀] A, mapT (R := R) B i (φ₁ x) = mapT B i (φ₂ x)) :
    ∃ (j : ι) (hij : i ≤ j), ∀ x : G i ⊗[R₀] A, stepT f B hij (φ₁ x) = stepT f B hij (φ₂ x)
Algebra.exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
attribute [local instance] AlgHomSpreadUnique.directedSystem_F
theorem _root_.Algebra.exists_tensorProduct_map_apply_eq_of_finiteType_of_isDirectLimit
    {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
    (R₀ : Type u₀) [CommRing R₀]
    (G : ι → Type v) [∀ i, CommRing (G i)] [∀ i, Algebra R₀ (G i)]
    (f : ∀ i j : ι, i ≤ j → G i →ₐ[R₀] G j) [DirectedSystem G fun i j h => ⇑(f i j h)]
    (R : Type w) [CommRing R] [Algebra R₀ R] [∀ i, Algebra (G i) R] [∀ i, IsScalarTower R₀ (G i) R]
    (hR : IsDirectLimit (fun i j h => ⇑(f i j h)) fun i => ⇑(algebraMap (G i) R))
    (A : Type w₁) [CommRing A] [Algebra R₀ A] [Algebra.FiniteType R₀ A]
    (B : Type w₂) [CommRing B] [Algebra R₀ B]
    {i : ι} (φ₁ φ₂ : G i ⊗[R₀] A →ₐ[G i] G i ⊗[R₀] B)
    (h : ∀ x : G i ⊗[R₀] A,
      Algebra.TensorProduct.map (IsScalarTower.toAlgHom R₀ (G i) R) (AlgHom.id R₀ B) (φ₁ x) =
        Algebra.TensorProduct.map (IsScalarTower.toAlgHom R₀ (G i) R) (AlgHom.id R₀ B) (φ₂ x)) :
    ∃ (j : ι) (hij : i ≤ j), ∀ x : G i ⊗[R₀] A,
      Algebra.TensorProduct.map (f i j hij) (AlgHom.id R₀ B) (φ₁ x) =
        Algebra.TensorProduct.map (f i j hij) (AlgHom.id R₀ B) (φ₂ x) := by
  classical
  exact AlgHomSpreadUnique.exists_apply_eq f hR A B φ₁ φ₂ h