Debian Codegraph @

test-suite/bugs/bug_2713.v

raw
1 Set Implicit Arguments.
2
3 Definition pred_le A (P Q : A->Prop) :=
4 forall x, P x -> Q x.
5
6 Lemma pred_le_refl : forall A (P:A->Prop),
7 pred_le P P.
8 Proof. unfold pred_le. auto. Qed.
9
10 #[export] Hint Resolve pred_le_refl.
11
12 Lemma test :
13 forall (P1 P2:nat->Prop),
14 (forall Q, pred_le (fun a => P1 a /\ P2 a) Q -> True) ->
15 True.
16 Proof. intros. eapply H. eauto. (* used to work *)
17 apply pred_le_refl. Qed.