lean4-htt/tests/lean/584a.lean
2017-03-09 18:41:19 -08:00

19 lines
332 B
Text

universe variables u
variables (A : Type u) [H : inhabited A] (x : A)
include H
definition foo := x
#check foo -- A and x are explicit
variables {A x}
definition foo' := x
#check @foo' -- A is explicit, x is implicit
open nat
#check foo nat 10
definition test : foo' = (10:nat) := rfl
set_option pp.implicit true
#print test