lean2/tests/lean/run/class2.lean
Leonardo de Moura 8ab0b5bee3 feat(frontends/lean/elaborator): use local declarations as class instances
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-04 18:18:25 -07:00

9 lines
No EOL
154 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import standard
using num
theorem H {A B : Type} (H1 : inhabited A) : inhabited (Bool × A × (B → num))
:= _
(*
print(get_env():find("H"):value())
*)