Skip to content

Commit ae973d5

Browse files
committed
style(RingTheory/HopfAlgebra/Primitive): file-level Ring binder
1 parent ce4355b commit ae973d5

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Mathlib/RingTheory/HopfAlgebra/Primitive.lean

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ public section
2727

2828
open HopfAlgebra LinearMap MulOpposite
2929

30-
variable {R A : Type*} [CommSemiring R]
30+
variable {R A : Type*} [CommSemiring R] [Ring A]
3131

32-
section Ring
33-
variable [Ring A] [HopfAlgebra R A] {a : A}
32+
section
33+
variable [HopfAlgebra R A] {a : A}
3434

3535
/-- The antipode of a Hopf algebra sends primitive elements to their negation. -/
3636
@[simp] theorem IsPrimitiveElem.antipode_eq_neg (ha : IsPrimitiveElem R a) : antipode R a = -a := by
@@ -44,12 +44,10 @@ protected lemma IsPrimitiveElem.antipode (ha : IsPrimitiveElem R a) :
4444
lemma IsPrimitiveElem.antipode_antipode (ha : IsPrimitiveElem R a) :
4545
antipode R (antipode R a) = a := by simp [ha.antipode_eq_neg, ha.neg.antipode_eq_neg]
4646

47-
end Ring
47+
end
4848

4949
namespace HopfAlgebra
5050

51-
variable [Ring A]
52-
5351
/-- Upgrade a bialgebra generated by primitive elements to a Hopf algebra by specifying the
5452
antipode-on-generators formula `S p = op (-p)`. -/
5553
noncomputable abbrev ofPrimitives [Bialgebra R A] (S : A →ₐ[R] Aᵐᵒᵖ) {s : Set A}

0 commit comments

Comments
 (0)