Debian Codegraph @

test-suite/bugs/bug_17314.v

raw
1 Definition arrow_apply (f : Prop -> Prop) := True -> f True. (* We need True-> to trigger a unification in an extended context *)
2
3 Definition something (x : Prop) := arrow_apply (fun _ => x).
4
5 Axiom trivial: forall l1: Prop, something l1 -> something l1.
6
7 Lemma t : exists f, arrow_apply f.
8 eexists.
9 unshelve apply trivial.
10 (* was giving "something ?l1@{t:=_UNBOUND_REL_1}" while the evar is not supposed to depend on t *)
11 (* so, we check that, indeed, t is not here *)
12 match goal with [ H : True |- _ ] => fail 1 | _ => idtac end.
13 Abort.