lean4-htt/tests/lean/elab1.lean
Leonardo de Moura 8993d0738a feat(frontends/lean): remove #elab command
The check command is now using the new elaborator.
2016-08-02 15:05:24 -07:00

25 lines
375 B
Text

definition foo.subst := @eq.subst
definition boo.subst := @eq.subst
definition foo.add := @add
definition boo.add := @add
set_option pp.all true
open foo boo
print raw subst -- subst is overloaded
print raw add -- add is overloaded
check @subst
check @@subst
open eq
check subst
constants a b : nat
constant H1 : a = b
constant H2 : a + b > 0
check eq.subst H1 H2