chore(tests/lean/run/group3): cleanup test

This commit is contained in:
Leonardo de Moura 2014-10-03 09:20:49 -07:00
parent 7ea9c32ec8
commit fd013e8d07

View file

@ -41,8 +41,9 @@ mk : Π mul: A → A → A,
namespace semigroup
section
parameters {A : Type} {s : semigroup A}
definition mul (a b : A) : A := semigroup.rec (λmul assoc, mul) s a b
definition assoc {a b c : A} : mul (mul a b) c = mul a (mul b c) :=
variables a b c : A
definition mul := semigroup.rec (λmul assoc, mul) s a b
definition assoc : mul (mul a b) c = mul a (mul b c) :=
semigroup.rec (λmul assoc, assoc) s a b c
end
end semigroup
@ -53,7 +54,7 @@ section
definition semigroup_has_mul [instance] : has_mul A := has_mul.mk (semigroup.mul)
theorem mul_assoc [instance] (a b c : A) : a * b * c = a * (b * c) :=
semigroup.assoc
!semigroup.assoc
end