test-suite/bugs/bug_16323.v
raw| 1 | Create HintDb db1. |
| 2 | Axiom eq_tt : tt = tt. |
| 3 | #[local] Hint Resolve eq_tt : db1. |
| 4 | |
| 5 | Goal exists u, u = tt. |
| 6 | Proof. |
| 7 | eexists. |
| 8 | Succeed solve [exact eq_tt]. |
| 9 | solve [auto with nocore db1]. |
| 10 | Qed. |
| 11 | |
| 12 | Create HintDb db2. |
| 13 | Axiom True_eq_tt : True -> tt = tt. |
| 14 | #[local] Hint Resolve True_eq_tt : db2. |
| 15 | |
| 16 | Goal True -> exists u, u = tt. |
| 17 | Proof. |
| 18 | intros. eexists. |
| 19 | solve [auto with nocore db2]. |
| 20 | Qed. |