summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/1704.v
blob: 4b02d5f93bed0560bff0c12cf4e3906f890cdd06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Require Import Setoid.
Parameter E : nat -> nat -> Prop.
Axiom E_equiv : equiv nat E.
Add Relation nat E
reflexivity proved by (proj1 E_equiv)
symmetry proved by (proj2 (proj2 E_equiv))
transitivity proved by (proj1 (proj2 E_equiv))
as E_rel.
Notation "x == y" := (E x y) (at level 70, no associativity).
Axiom r : False -> 0 == 1.
Goal 0 == 0.
Proof.
rewrite r.
reflexivity.
admit.
Qed.