ULift
instances for ring #
This file defines instances for ring, semiring and related structures on ULift
types.
(Recall ULift α
is just a "copy" of a type α
in a higher universe.)
We also provide ULift.ringEquiv : ULift R ≃+* R
.
Equations
Equations
- ULift.distrib = Distrib.mk ⋯ ⋯
Equations
Equations
Equations
Equations
- ULift.semiring = Semiring.mk ⋯ ⋯ ⋯ ⋯ Monoid.npow ⋯ ⋯
The ring equivalence between ULift α
and α
.
Equations
- ULift.ringEquiv = { toFun := ULift.down, invFun := ULift.up, left_inv := ⋯, right_inv := ⋯, map_mul' := ⋯, map_add' := ⋯ }
Instances For
Equations
Equations
Equations
Equations
Equations
- ULift.nonAssocRing = NonAssocRing.mk ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
Equations
- ULift.ring = Ring.mk ⋯ SubNegMonoid.zsmul ⋯ ⋯ ⋯ ⋯ ⋯ ⋯