(* Several bugs: - wrong env in pose_all_metas_as_evars leading to out of scope instance of evar - check that metas posed as evars in pose_all_metas_as_evars were resolved was not done *)

Axiom functional_extensionality_dep :
forall {A : Type} {B : A -> Type} (f g : forall x : A, B x),
(forall x : A, f x = g x) -> f = g.