Debian Codegraph @

test-suite/bugs/bug_3284.v

raw
1 (* Several bugs:
2 - wrong env in pose_all_metas_as_evars leading to out of scope instance of evar
3 - check that metas posed as evars in pose_all_metas_as_evars were
4 resolved was not done
5 *)
6
7 Axiom functional_extensionality_dep :
8 forall {A : Type} {B : A -> Type} (f g : forall x : A, B x),
9 (forall x : A, f x = g x) -> f = g.
10
11 Goal forall A B C (f g : forall (x : A) (y : B x), C x y), forall x:A, (forall x y, f x y = g x y) -> True.
12 Proof.
13 intros A B C f g x H.
14 Fail apply @functional_extensionality_dep in H.
15 Fail apply functional_extensionality_dep in H.
16 eapply functional_extensionality_dep in H.
17 Abort.
18
19 Goal forall A B C (f g : forall (x : A) (y : B x), C x y), forall x:A, (forall x y, f x y = g x y) -> True.
20 Proof.
21 intros A B C f g x H.
22 specialize (H x).
23 apply functional_extensionality_dep in H.
24 Abort.