Last active
March 2, 2020 22:45
-
-
Save ChrisHughes24/a1f25f9d9e933838ea41585811236212 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prelude | |
import init.logic | |
set_option old_structure_cmd true | |
universe u | |
class comm_semigroup (α : Type u) extends has_mul α | |
class monoid (α : Type u) extends has_mul α, has_one α := | |
(one_mul : ∀ a : α, 1 * a = a) | |
class comm_monoid (α : Type u) extends comm_semigroup α, has_one α := | |
(one_mul : ∀ a : α, 1 * a = a) | |
class X (α : Type u) extends monoid α, comm_monoid α |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment