2015-12-06 22:33:21 +00:00
|
|
|
set_option blast.strategy "simple"
|
2015-11-22 23:39:44 +00:00
|
|
|
|
|
|
|
definition foo1 (a b : nat) (p : Prop) : a = b → (b = a → p) → p :=
|
|
|
|
by blast
|
|
|
|
|
|
|
|
print foo1
|
|
|
|
|
|
|
|
definition foo2 (a b c : nat) (p : Prop) : a = b → b = c → (c = a → p) → p :=
|
|
|
|
by blast
|
|
|
|
|
|
|
|
print foo2
|
2015-11-22 23:49:17 +00:00
|
|
|
|
|
|
|
definition foo3 (a b c d : nat) (p : Prop) : a ≠ d → (d ≠ a → p) → p :=
|
|
|
|
by blast
|
|
|
|
|
|
|
|
print foo3
|
2015-12-05 00:49:21 +00:00
|
|
|
|
|
|
|
attribute not [reducible]
|
|
|
|
|
|
|
|
definition foo4 (a b c d : nat) (p : Prop) : a ≠ d → (d ≠ a → p) → p :=
|
|
|
|
by blast
|
|
|
|
|
2015-12-05 01:58:39 +00:00
|
|
|
attribute ne [semireducible]
|
|
|
|
|
|
|
|
definition foo5 (a b c d : nat) (p : Prop) : a ≠ d → (d ≠ a → p) → p :=
|
|
|
|
by blast
|
|
|
|
|
|
|
|
print foo5
|