Module

AlgebraAlgEquivTensorMapEq.lean

Nyll.SchemeTheory.Descent.AlgebraAlgEquivTensorMapEq
14 declarations indexed from sourceView source ↗

Algebra exists alg Equiv tensor Product map eq of finite Presentation of is Direct Limit

Declarations

AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.toR

The structural algebra homomorphism from a stage of the directed system to its limit.

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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.mapT

Tensor the structural map of a stage with the identity of the second algebra.

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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Maps
variable (M : Type w₁) [CommRing M] [Algebra R₀ M]
abbrev mapT (i : ι) : G i ⊗[R₀] M →ₐ[R₀] R ⊗[R₀] M
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.stepT

Tensor a transition map of the directed system with the identity of the second algebra.

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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Maps
variable (M : Type w₁) [CommRing M] [Algebra R₀ M]
abbrev stepT {i j : ι} (hij : i ≤ j) : G i ⊗[R₀] M →ₐ[R₀] G j ⊗[R₀] M
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Maps
variable (M : Type w₁) [CommRing M] [Algebra R₀ M]
include hR in
omit [Nonempty ι] [IsDirectedOrder ι] in
theorem mapT_stepT {i j : ι} (hij : i ≤ j) (x : G i ⊗[R₀] M) :
    mapT (R := R) M j (stepT f M hij x) = mapT M i x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Maps
variable (M : Type w₁) [CommRing M] [Algebra R₀ M]
omit [Nonempty ι] [IsDirectedOrder ι] in
theorem stepT_stepT {i j k : ι} (hij : i ≤ j) (hjk : j ≤ k) (x : G i ⊗[R₀] M) :
    stepT f M hjk (stepT f M hij x) = stepT f M (hij.trans hjk) x
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.tmul_one_eq_algebraMap
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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Maps
variable (M : Type w₁) [CommRing M] [Algebra R₀ M]
omit [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] in
theorem tmul_one_eq_algebraMap (i : ι) (g : G i) :
    g ⊗ₜ[R₀] (1 : M) = algebraMap (G i) (G i ⊗[R₀] M) g
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.tmul_one_eq_algebraMap_R
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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Maps
variable (M : Type w₁) [CommRing M] [Algebra R₀ M]
theorem tmul_one_eq_algebraMap_R (r : R) :
    r ⊗ₜ[R₀] (1 : M) = algebraMap R (R ⊗[R₀] M) r
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.relevel

Transport an algebra homomorphism of tensor products to a later stage of the directed system.

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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Relevel
variable (A : Type w₁) [CommRing A] [Algebra R₀ A] (B : Type w₂) [CommRing B] [Algebra R₀ B]
def relevel {i j : ι} (hij : i ≤ j) (φ : G i ⊗[R₀] A →ₐ[G i] G i ⊗[R₀] B) :
    G j ⊗[R₀] A →ₐ[G j] G j ⊗[R₀] B
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.relevel_tmul
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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Relevel
variable (A : Type w₁) [CommRing A] [Algebra R₀ A] (B : Type w₂) [CommRing B] [Algebra R₀ B]
omit [Nonempty ι] [IsDirectedOrder ι] [DirectedSystem G fun i j h ↦ ⇑(f i j h)] in
theorem relevel_tmul {i j : ι} (hij : i ≤ j) (φ : G i ⊗[R₀] A →ₐ[G i] G i ⊗[R₀] B) (g : G j) (a :
  A) :
    relevel f A B hij φ (g ⊗ₜ[R₀] a) = (g ⊗ₜ[R₀] (1 : B)) * stepT f B hij (φ ((1 : G i) ⊗ₜ[R₀] a))
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.stage_tmul_one
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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Relevel
variable (A : Type w₁) [CommRing A] [Algebra R₀ A] (B : Type w₂) [CommRing B] [Algebra R₀ B]
omit [Preorder ι] [Nonempty ι] [IsDirectedOrder ι] in
theorem stage_tmul_one {i : ι} (φ : G i ⊗[R₀] A →ₐ[G i] G i ⊗[R₀] B) (g : G i) :
    φ (g ⊗ₜ[R₀] (1 : A)) = g ⊗ₜ[R₀] (1 : B)
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.relevel_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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Relevel
variable (A : Type w₁) [CommRing A] [Algebra R₀ A] (B : Type w₂) [CommRing B] [Algebra R₀ B]
omit [DirectedSystem G fun i j h ↦ ⇑(f i j h)] [Nonempty ι] [IsDirectedOrder ι] in
theorem relevel_stepT {i j : ι} (hij : i ≤ j) (φ : G i ⊗[R₀] A →ₐ[G i] G i ⊗[R₀] B) (x : G i ⊗[R₀]
  A) :
    relevel f A B hij φ (stepT f A hij x) = stepT f B hij (φ x)
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.square_relevel
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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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 Relevel
variable (A : Type w₁) [CommRing A] [Algebra R₀ A] (B : Type w₂) [CommRing B] [Algebra R₀ B]
include hR in
omit [Nonempty ι] [IsDirectedOrder ι] in
theorem square_relevel {i j : ι} (hij : i ≤ j) (φ : G i ⊗[R₀] A →ₐ[G i] G i ⊗[R₀] B)
    (e : R ⊗[R₀] A →ₐ[R] R ⊗[R₀] B)
    (hφ : ∀ x : G i ⊗[R₀] A, e (mapT A i x) = mapT B i (φ x)) :
    ∀ y : G j ⊗[R₀] A, e (mapT A j y) = mapT B j (relevel f A B hij φ y)
AlgebraicCurves.Foundations.Algebra.Proofs.Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit.AlgEquivSpreadDirected.exists_algEquiv
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_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
namespace AlgEquivSpreadDirected
open TensorProduct
variable {R₀ : Type u₀} [CommRing R₀]
  {ι : Type u} [Preorder ι] [Nonempty ι] [IsDirectedOrder ι]
  {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
theorem exists_algEquiv
    (A : Type w₁) [CommRing A] [Algebra R₀ A] [Algebra.FinitePresentation R₀ A]
    (B : Type w₂) [CommRing B] [Algebra R₀ B] [Algebra.FinitePresentation R₀ B]
    (e : R ⊗[R₀] A ≃ₐ[R] R ⊗[R₀] B) :
    ∃ (i : ι) (e₀ : G i ⊗[R₀] A ≃ₐ[G i] G i ⊗[R₀] B),
      ∀ x : G i ⊗[R₀] A, e (mapT A i x) = mapT B i (e₀ x)
Algebra.exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
Source context 6 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_of_isDirectLimit
open scoped TensorProduct
universe u₀ u v w w₁ w₂
theorem _root_.Algebra.exists_algEquiv_tensorProduct_map_eq_of_finitePresentation_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.FinitePresentation R₀ A]
    (B : Type w₂) [CommRing B] [Algebra R₀ B] [Algebra.FinitePresentation R₀ B]
    (e : R ⊗[R₀] A ≃ₐ[R] R ⊗[R₀] B) :
    ∃ (i : ι) (e₀ : G i ⊗[R₀] A ≃ₐ[G i] G i ⊗[R₀] B),
      ∀ x : G i ⊗[R₀] A,
        e (Algebra.TensorProduct.map (IsScalarTower.toAlgHom R₀ (G i) R) (AlgHom.id R₀ A) x) =
          Algebra.TensorProduct.map (IsScalarTower.toAlgHom R₀ (G i) R) (AlgHom.id R₀ B) (e₀ x) :=
            by
  classical
  exact AlgEquivSpreadDirected.exists_algEquiv f hR A B e