ULift
instances for groups and monoids #
This file defines instances for group, monoid, semigroup and related structures on ULift
types.
(Recall ULift α
is just a "copy" of a type α
in a higher universe.)
We also provide MulEquiv.ulift : ULift R ≃* R
(and its additive analogue).
Equations
- ULift.zero = { zero := { down := 0 } }
Equations
- ULift.add = { add := fun (f g : ULift.{?u.3, ?u.4} α) => { down := f.down + g.down } }
Equations
- ULift.mul = { mul := fun (f g : ULift.{?u.3, ?u.4} α) => { down := f.down * g.down } }
@[simp]
@[simp]
Equations
- ULift.sub = { sub := fun (f g : ULift.{?u.3, ?u.4} α) => { down := f.down - g.down } }
Equations
- ULift.div = { div := fun (f g : ULift.{?u.3, ?u.4} α) => { down := f.down / g.down } }
@[simp]
@[simp]
Equations
- ULift.neg = { neg := fun (f : ULift.{?u.3, ?u.4} α) => { down := -f.down } }
Equations
- ULift.inv = { inv := fun (f : ULift.{?u.3, ?u.4} α) => { down := f.down⁻¹ } }
Equations
- ULift.vadd = { vadd := fun (n : α) (x : ULift.{?u.4, ?u.5} β) => { down := n +ᵥ x.down } }
Equations
- ULift.smul = { smul := fun (n : α) (x : ULift.{?u.4, ?u.5} β) => { down := n • x.down } }
@[simp]
@[simp]
Equations
- ULift.pow = { pow := fun (x : ULift.{?u.4, ?u.6} α) (n : β) => { down := x.down ^ n } }
@[simp]
theorem
AddEquiv.ulift.proof_1
{α : Type u_2}
[Add α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift.toFun (x + x_1) = Equiv.ulift.toFun (x + x_1)
Equations
- ULift.semigroup = Function.Injective.semigroup ⇑MulEquiv.ulift ⋯ ⋯
Equations
- ULift.addSemigroup = Function.Injective.addSemigroup ⇑Equiv.ulift ⋯ ⋯
theorem
ULift.addCommSemigroup.proof_2
{α : Type u_2}
[AddCommSemigroup α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.addCommSemigroup = Function.Injective.addCommSemigroup ⇑Equiv.ulift ⋯ ⋯
Equations
- ULift.commSemigroup = Function.Injective.commSemigroup ⇑Equiv.ulift ⋯ ⋯
Equations
- ULift.addZeroClass = Function.Injective.addZeroClass ⇑Equiv.ulift ⋯ ⋯ ⋯
theorem
ULift.addZeroClass.proof_3
{α : Type u_2}
[AddZeroClass α]
:
∀ (x y : ULift.{u_1, u_2} α), Equiv.ulift (x + y) = Equiv.ulift (x + y)
Equations
- ULift.mulOneClass = Function.Injective.mulOneClass ⇑Equiv.ulift ⋯ ⋯ ⋯
Equations
- ULift.addMonoid = Function.Injective.addMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
theorem
ULift.addMonoid.proof_4
{α : Type u_2}
[AddMonoid α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
theorem
ULift.addMonoid.proof_3
{α : Type u_2}
[AddMonoid α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.monoid = Function.Injective.monoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
theorem
ULift.addCommMonoid.proof_3
{α : Type u_2}
[AddCommMonoid α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
theorem
ULift.addCommMonoid.proof_4
{α : Type u_2}
[AddCommMonoid α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
Equations
- ULift.addCommMonoid = Function.Injective.addCommMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
Equations
- ULift.commMonoid = Function.Injective.commMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
@[simp]
theorem
ULift.up_ofNat
{α : Type u}
[NatCast α]
(n : ℕ)
[n.AtLeastTwo]
:
{ down := OfNat.ofNat n } = OfNat.ofNat n
@[simp]
theorem
ULift.down_ofNat
{α : Type u}
[NatCast α]
(n : ℕ)
[n.AtLeastTwo]
:
(OfNat.ofNat n).down = OfNat.ofNat n
Equations
- ULift.addMonoidWithOne = AddMonoidWithOne.mk ⋯ ⋯
Equations
- ULift.addCommMonoidWithOne = AddCommMonoidWithOne.mk ⋯
theorem
ULift.subNegAddMonoid.proof_7
{α : Type u_2}
[SubNegMonoid α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℤ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
Equations
- ULift.subNegAddMonoid = Function.Injective.subNegMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
theorem
ULift.subNegAddMonoid.proof_4
{α : Type u_2}
[SubNegMonoid α]
:
∀ (x : ULift.{u_1, u_2} α), Equiv.ulift (-x) = Equiv.ulift (-x)
theorem
ULift.subNegAddMonoid.proof_5
{α : Type u_2}
[SubNegMonoid α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x - x_1) = Equiv.ulift (x - x_1)
theorem
ULift.subNegAddMonoid.proof_6
{α : Type u_2}
[SubNegMonoid α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
theorem
ULift.subNegAddMonoid.proof_2
{α : Type u_1}
[SubNegMonoid α]
:
Equiv.ulift 0 = Equiv.ulift 0
theorem
ULift.subNegAddMonoid.proof_3
{α : Type u_2}
[SubNegMonoid α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.divInvMonoid = Function.Injective.divInvMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
theorem
ULift.addGroup.proof_5
{α : Type u_2}
[AddGroup α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x - x_1) = Equiv.ulift (x - x_1)
Equations
- ULift.addGroup = Function.Injective.addGroup ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
theorem
ULift.addGroup.proof_7
{α : Type u_2}
[AddGroup α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℤ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
theorem
ULift.addGroup.proof_6
{α : Type u_2}
[AddGroup α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
theorem
ULift.addGroup.proof_4
{α : Type u_2}
[AddGroup α]
:
∀ (x : ULift.{u_1, u_2} α), Equiv.ulift (-x) = Equiv.ulift (-x)
theorem
ULift.addGroup.proof_3
{α : Type u_2}
[AddGroup α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.group = Function.Injective.group ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
theorem
ULift.addCommGroup.proof_4
{α : Type u_2}
[AddCommGroup α]
:
∀ (x : ULift.{u_1, u_2} α), Equiv.ulift (-x) = Equiv.ulift (-x)
theorem
ULift.addCommGroup.proof_5
{α : Type u_2}
[AddCommGroup α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x - x_1) = Equiv.ulift (x - x_1)
theorem
ULift.addCommGroup.proof_7
{α : Type u_2}
[AddCommGroup α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℤ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
Equations
- ULift.addCommGroup = Function.Injective.addCommGroup ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
theorem
ULift.addCommGroup.proof_6
{α : Type u_2}
[AddCommGroup α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
theorem
ULift.addCommGroup.proof_3
{α : Type u_2}
[AddCommGroup α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.commGroup = Function.Injective.commGroup ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Equations
- ULift.addGroupWithOne = AddGroupWithOne.mk ⋯ SubNegMonoid.zsmul ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Equations
- ULift.addCommGroupWithOne = AddCommGroupWithOne.mk ⋯ ⋯ ⋯ ⋯
theorem
ULift.addLeftCancelSemigroup.proof_2
{α : Type u_2}
[AddLeftCancelSemigroup α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.addLeftCancelSemigroup = Function.Injective.addLeftCancelSemigroup ⇑Equiv.ulift ⋯ ⋯
Equations
- ULift.leftCancelSemigroup = Function.Injective.leftCancelSemigroup ⇑Equiv.ulift ⋯ ⋯
Equations
- ULift.addRightCancelSemigroup = Function.Injective.addRightCancelSemigroup ⇑Equiv.ulift ⋯ ⋯
theorem
ULift.addRightCancelSemigroup.proof_2
{α : Type u_2}
[AddRightCancelSemigroup α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.rightCancelSemigroup = Function.Injective.rightCancelSemigroup ⇑Equiv.ulift ⋯ ⋯
theorem
ULift.addLeftCancelMonoid.proof_4
{α : Type u_2}
[AddLeftCancelMonoid α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
theorem
ULift.addLeftCancelMonoid.proof_2
{α : Type u_1}
[AddLeftCancelMonoid α]
:
Equiv.ulift 0 = Equiv.ulift 0
Equations
- ULift.addLeftCancelMonoid = Function.Injective.addLeftCancelMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
theorem
ULift.addLeftCancelMonoid.proof_3
{α : Type u_2}
[AddLeftCancelMonoid α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.leftCancelMonoid = Function.Injective.leftCancelMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
theorem
ULift.addRightCancelMonoid.proof_4
{α : Type u_2}
[AddRightCancelMonoid α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
theorem
ULift.addRightCancelMonoid.proof_3
{α : Type u_2}
[AddRightCancelMonoid α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
theorem
ULift.addRightCancelMonoid.proof_2
{α : Type u_1}
[AddRightCancelMonoid α]
:
Equiv.ulift 0 = Equiv.ulift 0
Equations
- ULift.addRightCancelMonoid = Function.Injective.addRightCancelMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
Equations
- ULift.rightCancelMonoid = Function.Injective.rightCancelMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
Equations
- ULift.addCancelMonoid = Function.Injective.addCancelMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
theorem
ULift.addCancelMonoid.proof_2
{α : Type u_1}
[AddCancelMonoid α]
:
Equiv.ulift 0 = Equiv.ulift 0
theorem
ULift.addCancelMonoid.proof_4
{α : Type u_2}
[AddCancelMonoid α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
theorem
ULift.addCancelMonoid.proof_3
{α : Type u_2}
[AddCancelMonoid α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
Equations
- ULift.cancelMonoid = Function.Injective.cancelMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
theorem
ULift.addCancelCommMonoid.proof_2
{α : Type u_1}
[AddCancelCommMonoid α]
:
Equiv.ulift 0 = Equiv.ulift 0
Equations
- ULift.addCancelCommMonoid = Function.Injective.addCancelCommMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
theorem
ULift.addCancelCommMonoid.proof_3
{α : Type u_2}
[AddCancelCommMonoid α]
:
∀ (x x_1 : ULift.{u_1, u_2} α), Equiv.ulift (x + x_1) = Equiv.ulift (x + x_1)
theorem
ULift.addCancelCommMonoid.proof_4
{α : Type u_2}
[AddCancelCommMonoid α]
:
∀ (x : ULift.{u_1, u_2} α) (x_1 : ℕ), Equiv.ulift (x_1 • x) = Equiv.ulift (x_1 • x)
Equations
- ULift.cancelCommMonoid = Function.Injective.cancelCommMonoid ⇑Equiv.ulift ⋯ ⋯ ⋯ ⋯
Equations
- ⋯ = ⋯