| 1 |
Require Setoid. |
| 2 |
|
| 3 |
Goal forall (P : Prop) (T : Type) (m m' : T) (T0 T1 : Type) (P2 : forall _ : |
| 4 |
Prop, Prop) |
| 5 |
(P0 : Set) (x0 : P0) (P1 : forall (_ : P0) (_ : T), Prop) |
| 6 |
(P3 : forall (_ : forall (_ : P0) (_ : T0) (_ : Prop), Prop) (_ : |
| 7 |
T) (_ : Prop), Prop) |
| 8 |
(o : forall _ : P0, option T1) |
| 9 |
(_ : P3 |
| 10 |
(fun (k : P0) (_ : T0) (_ : Prop) => |
| 11 |
match o k return Prop with |
| 12 |
| Some _ => True |
| 13 |
| None => False |
| 14 |
end) m' P) (_ : P2 (P1 x0 m)) |
| 15 |
(_ : forall (f : forall (_ : P0) (_ : T0) (_ : Prop), Prop) (m1 m2 |
| 16 |
: T) |
| 17 |
(k : P0) (e : T0) (_ : P2 (P1 k m1)), iff (P3 f m2 P) |
| 18 |
(f k e (P3 f m1 P))), False. |
| 19 |
Proof. |
| 20 |
intros ???????????? H0 H H1. |
| 21 |
rewrite H1 in H0; eauto with nocore. |
| 22 |
{ lazymatch goal with |
| 23 |
| H : match ?X with _ => _ end |- _ |
| 24 |
=> first [ lazymatch goal with |
| 25 |
| [ H' : context[X] |- _ ] => idtac H |
| 26 |
end |
| 27 |
| fail 1 "could not find" X ] |
| 28 |
end. |
| 29 |
Abort. |