lean2/tests/lean/run/blast_recursor1.lean
2015-12-02 23:43:15 -08:00

16 lines
389 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.

constants P Q : nat → Prop
inductive foo : nat → Prop :=
| intro1 : ∀ n, P n → foo n
| intro2 : ∀ n, P n → foo n
definition bar (n : nat) : foo n → P n :=
by blast
print bar
/-
definition bar : ∀ (n : ), foo n → P n :=
foo.rec (λ (n : ) (H.3 : P n), H.3) (λ (n : ) (H.3 : P n), H.3)
-/
definition baz (n : nat) : foo n → foo n ∧ P n :=
by blast --loops