lean4-htt/old_tests/tests/lean/elab1.lean
2018-04-10 12:56:55 -07:00

25 lines
405 B
Text

definition foo.subst := @eq.subst
definition boo.subst := @eq.subst
definition foo.add := @has_add.add
definition boo.add := @has_add.add
set_option pp.all true
open foo boo has_add
#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