lean4-htt/tests/lean/run/diamond5.lean

10 lines
273 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class Semigroup (G : Type u) extends Mul G
class Numeric (α : Type u)
class Monoid (M : Type u) extends Semigroup M, Numeric M where
mul_one (m : M) : m * m = m
class AddMonoid (A : Type u) extends Numeric A
class Semiring (R : Type u) extends AddMonoid R, Monoid R