test-suite/bugs/bug_1704.v
raw| 1 | Require Import TestSuite.admit. |
| 2 | |
| 3 | Require Import Setoid. |
| 4 | Parameter E : nat -> nat -> Prop. |
| 5 | Axiom E_equiv : equiv nat E. |
| 6 | Add Relation nat E |
| 7 | reflexivity proved by (proj1 E_equiv) |
| 8 | symmetry proved by (proj2 (proj2 E_equiv)) |
| 9 | transitivity proved by (proj1 (proj2 E_equiv)) |
| 10 | as E_rel. |
| 11 | Notation "x == y" := (E x y) (at level 70, no associativity). |
| 12 | Axiom r : False -> 0 == 1. |
| 13 | Goal 0 == 0. |
| 14 | Proof. |
| 15 | rewrite r. |
| 16 | reflexivity. |
| 17 | admit. |
| 18 | Qed. |