lean2/tests/lean/run/t11.lean
Leonardo de Moura 819c8276f2 feat(frontends/lean/builtin_cmds): add 'variables' command family
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-17 08:25:00 -07:00

14 lines
271 B
Text

parameter A : Type.{1}
parameters a b c : A
parameter f : A → A → A
check f a b
section
parameters A B : Type
{parameters} C D : Type
[parameters] e d : A
check A
check B
definition g (a : A) (b : B) (c : C) : A := e
end
check g.{2 1}
variables x y : A