| 1 |
Require Import ssreflect. |
| 2 |
|
| 3 |
|
| 4 |
Axiom app : forall T, list T -> list T -> list T. |
| 5 |
Arguments app {_}. |
| 6 |
Infix "++" := app. |
| 7 |
|
| 8 |
Lemma test (aT rT : Type) |
| 9 |
(pmap : (aT -> option rT) -> list aT -> list rT) |
| 10 |
(perm_eq : list rT -> list rT -> Prop) |
| 11 |
(f : aT -> option rT) |
| 12 |
(g : rT -> aT) |
| 13 |
(s t : list aT) |
| 14 |
(E : forall T : list aT -> Type, |
| 15 |
(forall s1 s2 s3 : list aT, |
| 16 |
T (s1 ++ s2 ++ s3) -> T (s2 ++ s1 ++ s3)) -> |
| 17 |
T s -> T t) : |
| 18 |
perm_eq (pmap f s) (pmap f t). |
| 19 |
Proof. |
| 20 |
elim/E: (t). |
| 21 |
Admitted. |
| 22 |
|
| 23 |
|
| 24 |
Lemma test2 (a b : nat) : a = b -> b = 1. |
| 25 |
Proof. |
| 26 |
elim. |
| 27 |
match goal with |- a = 1 => idtac end. |
| 28 |
Admitted. |
| 29 |
|