lean4-htt/tests/lean/1513.lean
Leonardo de Moura 210b7c8fb7 fix(library/tactic): fixes #1513
Implement rename tactic in Lean using revert/intro
2017-04-15 11:34:24 -07:00

8 lines
173 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.

example (n : ) (h : n = 0) : n = 0 :=
by rename n m
example (n : ) : let x := 10 in n > 0 → x > 5 → n ≠ x → x + 1 = 1 + x :=
begin
intros,
rename x y
end