lean4-htt/tests/lean/run/revert_crash.lean
Leonardo de Moura a9821f6437 fix(library/type_context): bug in revert method
We should not assume that the arguments at to_revert are sorted by idx.
This commit fixes the bug reported at:
https://groups.google.com/forum/#!topic/lean-user/x4Zwpou3le0
2017-02-01 10:51:24 -08:00

13 lines
238 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.

constant α: Type
inductive P: α → Prop
inductive Q: αα → Prop
| of: ∀ {a₁ a₂}, Q a₁ a₂
example {a: α} (P_a: P a) (Q_a: ∃ a', Q a' a): true :=
begin
cases Q_a with a' Q_a'_a,
cases Q_a'_a,
cases P_a,
end