test-suite/bugs/bug_13363.v
raw| 1 | Axiom X : Type. |
| 2 | Axiom P : (X -> unit) -> Prop. |
| 3 | |
| 4 | Axiom F: unit -> unit. |
| 5 | Axiom G : unit -> unit. |
| 6 | |
| 7 | Lemma Hyp ss': |
| 8 | P (fun y : X => ss') -> |
| 9 | P (fun y : X => G (F ss')). |
| 10 | Admitted. |
| 11 | |
| 12 | Lemma bug : exists x, P x. |
| 13 | Proof. |
| 14 | intros. |
| 15 | eexists (fun y : X => G _). |
| 16 | eapply Hyp. cbn beta. |
| 17 | Abort. |