test-suite/bugs/bug_16771.v
raw| 1 | Require Import CRelationClasses. |
| 2 | |
| 3 | Structure ConstructiveReals : Type := |
| 4 | { |
| 5 | CRcarrier : Prop; |
| 6 | CRle (x y : CRcarrier) := False; |
| 7 | }. |
| 8 | |
| 9 | #[local] Hint Resolve iff_equivalence : mydb. |
| 10 | |
| 11 | Goal forall {R : ConstructiveReals}, |
| 12 | CRelationClasses.Equivalence (CRle R). |
| 13 | Proof. |
| 14 | intros. |
| 15 | auto with mydb. |
| 16 | (* Anomaly "in Univ.repr: Universe Top.169 undefined." |
| 17 | Please report at http://coq.inria.fr/bugs/.*) |
| 18 | Abort. |