diff options
author | 2014-05-09 10:13:32 -0400 | |
---|---|---|
committer | 2014-05-10 15:39:39 +0200 | |
commit | c7284415e4bdd3315c84c7d15d140d3fee000bc5 (patch) | |
tree | cc8ded3feba7e1da0dd4f7d17b7e5f974de752c3 /test-suite/bugs/opened/HoTT_coq_111.v | |
parent | 3f64bd23a343bcd7be0ef07afa7d9e3249df24ec (diff) |
Move opened bugs to bugs/opened
Diffstat (limited to 'test-suite/bugs/opened/HoTT_coq_111.v')
-rw-r--r-- | test-suite/bugs/opened/HoTT_coq_111.v | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test-suite/bugs/opened/HoTT_coq_111.v b/test-suite/bugs/opened/HoTT_coq_111.v new file mode 100644 index 000000000..56feadb40 --- /dev/null +++ b/test-suite/bugs/opened/HoTT_coq_111.v @@ -0,0 +1,25 @@ +Module X. + Set Universe Polymorphism. + Inductive paths A (x : A) : forall _ : A, Type := idpath : paths A x x. + Notation "x = y" := (@paths _ x y) (at level 70, no associativity) : type_scope. + + Axioms A B : Type. + Axiom P : A = B. + Definition foo : A = B. + abstract (rewrite <- P; reflexivity). + (* Error: internal_paths_rew already exists. *) + Defined. (* Anomaly: Uncaught exception Not_found(_). Please report. *) +End X. + +Module Y. + Set Universe Polymorphism. + Inductive paths A (x : A) : forall _ : A, Type := idpath : paths A x x. + Notation "x = y" := (@paths _ x y) (at level 70, no associativity) : type_scope. + + Axioms A B : Type. + Axiom P : A = B. + Definition foo : (A = B) * (A = B). + split; abstract (rewrite <- P; reflexivity). + (* Error: internal_paths_rew already exists. *) + Defined. (* Anomaly: Uncaught exception Not_found(_). Please report. *) +End Y. |