@@ -122,28 +122,6 @@ theorem algebraMap_eq : algebraMap R A = (algebraMap S A).comp (algebraMap R S)
122122theorem algebraMap_apply (x : R) : algebraMap R A x = algebraMap S A (algebraMap R S x) := by
123123 rw [algebraMap_eq R S A, RingHom.comp_apply]
124124
125- /--
126- Let `R ⊆ S ⊆ T ⊆ U` be a tower of rings. If `R ⊆ S ⊆ T`, `R ⊆ T ⊆ U` and `S ⊆ T ⊆ U` are
127- scalar towers, then `R ⊆ S ⊆ U` is also a scalar tower.
128- -/
129- theorem trans_left (T U : Type *) [CommSemiring T] [CommSemiring U] [Algebra S T] [Algebra R T]
130- [Algebra T U] [Algebra R U] [Algebra S U] [IsScalarTower R S T] [IsScalarTower R T U]
131- [IsScalarTower S T U] : IsScalarTower R S U := by
132- apply IsScalarTower.of_algebraMap_eq'
133- rw [IsScalarTower.algebraMap_eq S T, RingHom.comp_assoc, ← IsScalarTower.algebraMap_eq,
134- ← IsScalarTower.algebraMap_eq]
135-
136- /--
137- Let `R ⊆ S ⊆ T ⊆ U` be a tower of rings. If `R ⊆ S ⊆ T`, `R ⊆ S ⊆ U` and `S ⊆ T ⊆ U` are
138- scalar towers, then `R ⊆ T ⊆ U` is also a scalar tower.
139- -/
140- theorem trans_right (T U : Type *) [CommSemiring T] [CommSemiring U] [Algebra S T] [Algebra R T]
141- [Algebra T U] [Algebra R U] [Algebra S U] [IsScalarTower R S T] [IsScalarTower R S U]
142- [IsScalarTower S T U] : IsScalarTower R T U := by
143- apply IsScalarTower.of_algebraMap_eq'
144- rw [IsScalarTower.algebraMap_eq R S T, ← RingHom.comp_assoc, ← IsScalarTower.algebraMap_eq,
145- ← IsScalarTower.algebraMap_eq]
146-
147125@[ext]
148126theorem Algebra.ext {S : Type u} {A : Type v} [CommSemiring S] [Semiring A] (h1 h2 : Algebra S A)
149127 (h : ∀ (r : S) (x : A), (by have I := h1; exact r • x) = r • x) : h1 = h2 :=
0 commit comments