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

12 lines
275 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 data.vector
run_cmd tactic.run_async (tactic.trace
"trace message from a different task")
def {u} foo {α : Type u} {n : } : vector α (0+n) → vector α n :=
if n = 0 then
λ v, cast (by async { simp }) v
else
λ v, cast (by async { simp }) v
#print foo