File tree Expand file tree Collapse file tree
Mathlib/RingTheory/Coalgebra Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ the base change `S ⊗[R] B` as an `S`-coalgebra.
2525open TensorProduct
2626
2727variable {R S A B : Type *} [CommSemiring R] [CommSemiring S] [AddCommMonoid A] [AddCommMonoid B]
28- [Algebra R S] [Module R A] [Module S A] [Module R B] [Coalgebra R B]
29- [Coalgebra S A] [IsScalarTower R S A]
28+ [Algebra R S] [Module R A] [Module S A] [Module R B] [IsScalarTower R S A]
3029
3130namespace TensorProduct
3231
3332open Coalgebra
3433
34+ section CoalgebraStruct
35+ variable [CoalgebraStruct R B] [CoalgebraStruct S A]
36+
3537noncomputable
3638instance instCoalgebraStruct : CoalgebraStruct S (A ⊗[R] B) where
3739 comul :=
@@ -63,6 +65,10 @@ lemma comul_tmul (x : A) (y : B) :
6365lemma counit_tmul (x : A) (y : B) :
6466 counit (R := S) (x ⊗ₜ[R] y) = counit (R := R) y • counit (R := S) x := rfl
6567
68+ end CoalgebraStruct
69+
70+ variable [Coalgebra R B] [Coalgebra S A]
71+
6672open Lean.Parser.Tactic in
6773/-- `hopf_tensor_induction x with x₁ x₂` attempts to replace `x` by
6874`x₁ ⊗ₜ x₂` via linearity. This is an implementation detail that is used to set up tensor products
You can’t perform that action at this time.
0 commit comments