blob: deee185b7aaa5ccaca24cabc8ee5d60277c5bd99 [file]
class Semiring.{u} (R : Type u) : Type u
number of parameters: 1
parents:
Semiring.toAddCommMonoid : AddCommMonoid R
Semiring.toMonoidWithZero : MonoidWithZero R
Semiring.toOne : One R
fields:
Add.add : R → R → R
Zero.zero : R
Mul.mul : R → R → R
One.one : R
Monoid.mul_one : ∀ (m : R), m * 1 = m
constructor:
Semiring.mk.{u} {R : Type u} [toAddCommMonoid : AddCommMonoid R] [toMonoid : Monoid R] : Semiring R
field notation resolution order:
Semiring, AddCommMonoid, MonoidWithZero, Add, Monoid, Zero, Mul, One