Debian Codegraph @

test-suite/success/StuckHintMode.v

raw
1
2 Require Import Corelib.Setoids.Setoid Corelib.Classes.Morphisms.
3
4 Class PartialOrder {A} (R : relation A) : Prop := {
5 partial_order_pre :: PreOrder R;
6 }.
7 Global Hint Mode PartialOrder - ! : typeclass_instances.
8
9 Axiom Permutation : forall {A:Type}, list A -> list A -> Prop.
10
11 Infix "≡ₚ" := Permutation (at level 70, no associativity).
12
13 Global Declare Instance Permutation_cons A :
14 Proper (Logic.eq ==> @Permutation A ==> @Permutation A) (@cons A) | 7.
15 (* priority < 7 does not trigger the bug *)
16
17 Global Declare Instance Permutation_Equivalence A : Equivalence (@Permutation A).
18
19 Lemma bla A (x:A) (lc lc' lac lbc : list A) (Hc: lac ++ lbc ≡ₚ lc') (HH:x :: lc' ≡ₚ lc)
20 : True /\ x :: lac ++ lbc ≡ₚ lc.
21 Proof.
22 rewrite Hc.
23 auto.
24 Qed.