| 1 |
Require Import ssreflect. |
| 2 |
|
| 3 |
Axiom odd : nat -> Prop. |
| 4 |
|
| 5 |
Lemma simple : |
| 6 |
forall x, 3 <= x -> forall y, odd (y+x) -> x = y -> True. |
| 7 |
Proof. |
| 8 |
move=> >x_ge_3 >xy_odd. |
| 9 |
lazymatch goal with |
| 10 |
| |- ?x = ?y -> True => done |
| 11 |
end. |
| 12 |
Qed. |
| 13 |
|
| 14 |
Lemma simple2 : |
| 15 |
forall x, 3 <= x -> forall y, odd (y+x) -> x = y -> True. |
| 16 |
Proof. |
| 17 |
move=> >; move=>x_ge_3; move=> >; move=>xy_odd. |
| 18 |
lazymatch goal with |
| 19 |
| |- ?x = ?y -> True => done |
| 20 |
end. |
| 21 |
Qed. |
| 22 |
|
| 23 |
|
| 24 |
Definition stuff x := 3 <= x -> forall y, odd (y+x) -> x = y -> True. |
| 25 |
|
| 26 |
Lemma harder : forall x, stuff x. |
| 27 |
Proof. |
| 28 |
move=> >x_ge_3 >xy_odd. |
| 29 |
lazymatch goal with |
| 30 |
| |- ?x = ?y -> True => done |
| 31 |
end. |
| 32 |
Qed. |
| 33 |
|
| 34 |
Lemma harder2 : forall x, stuff x. |
| 35 |
Proof. |
| 36 |
move=> >; move=>x_ge_3;move=> >; move=>xy_odd. |
| 37 |
lazymatch goal with |
| 38 |
| |- ?x = ?y -> True => done |
| 39 |
end. |
| 40 |
Qed. |
| 41 |
|
| 42 |
Lemma homotop : forall x : nat, forall e : x = x, e = e -> True. |
| 43 |
Proof. |
| 44 |
move=> >eq_ee. |
| 45 |
lazymatch goal with |
| 46 |
| |- True => done |
| 47 |
end. |
| 48 |
Qed. |