lean4-htt/tests/lean/run/rec_meta_issue.lean

12 lines
329 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.

open tactic
meta def left_right_search (tac := assumption) : tactic unit :=
tac
<|> (left >> left_right_search)
<|> (right >> left_right_search)
example (p q r : Prop) : r → p q r :=
begin intros, left_right_search end
example (a b c : nat) : a = b b = c a = a :=
begin left_right_search reflexivity end