lean4-htt/tests/lean/diamond8.lean.expected.out
Kyle Miller 64d3e9a48e
chore: in #print for structures, mention 'field notation' (#6406)
This PR modifies `#print` for structures to say "field notation
resolution order" instead of just "resolution order".
2024-12-17 02:21:03 +00:00

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