| 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 |