lean2/tests/lean/run/class11.lean
Leonardo de Moura 0f9478d91e feat(frontends/lean): add 'class' command back
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-02 15:04:23 -07:00

9 lines
184 B
Text

import logic
variable C {A : Type} : A → Prop
class C
variable f {A : Type} (a : A) {H : C a} : Prop
definition g {A : Type} (a b : A) {H1 : C a} {H2 : C b} : Prop :=
f a ∧ f b