This PR modifies `#print` for structures to say "field notation resolution order" instead of just "resolution order".
16 lines
542 B
Text
16 lines
542 B
Text
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
|