diff options
| author | coqbot-app[bot] | 2020-11-16 12:34:52 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-16 12:34:52 +0000 |
| commit | 89a4b7e7dd82bd46db2d00b6e48b8989d3a5372b (patch) | |
| tree | 79f94571fc80cc879c8389466a34fc2216d54b46 /test-suite | |
| parent | 8b156dc5a21279bdc49aea36aa1f410b08d32d9d (diff) | |
| parent | 66004935e6c3f65172191321870f550ede875951 (diff) | |
Merge PR #13373: Fixes #13363: in pose_all_metas_as_evars, use the context of the definition of the metas
Reviewed-by: mattam82
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_13363.v | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_13363.v b/test-suite/bugs/closed/bug_13363.v new file mode 100644 index 0000000000..cc11aa93b6 --- /dev/null +++ b/test-suite/bugs/closed/bug_13363.v @@ -0,0 +1,17 @@ +Axiom X : Type. +Axiom P : (X -> unit) -> Prop. + +Axiom F: unit -> unit. +Axiom G : unit -> unit. + +Lemma Hyp ss': + P (fun y : X => ss') -> + P (fun y : X => G (F ss')). +Admitted. + +Lemma bug : exists x, P x. +Proof. +intros. +eexists (fun y : X => G _). +eapply Hyp. cbn beta. +Abort. |
