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

14 lines
374 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.

namespace foo
open nat
class lt (n : out_param ) (m : )
instance succ_lt_succ_of_lt (n m) [lt n m] : lt (succ n) (succ m) := by constructor
instance zero_lt_succ (m) : lt 0 (succ m) := by constructor
class foo (n : out_param ) (m : )
instance (n m) [lt n 10] [lt m n] : foo n m := by constructor
def bar {n} (m) [foo n m] := n
#eval bar 0
#eval bar 1
end foo