Debian Codegraph @

test-suite/bugs/HoTT_coq_111.v

raw
1
2 Module X.
3 (*Set Universe Polymorphism.*)
4 Inductive paths A (x : A) : forall _ : A, Type := idpath : paths A x x.
5 Notation "x = y" := (@paths _ x y) (at level 70, no associativity) : type_scope.
6 Scheme Rewriting for paths.
7
8 Axioms A B : Type.
9 Axiom P : A = B.
10 Definition foo : A = B.
11 abstract (rewrite <- P; reflexivity).
12 Defined.
13 End X.
14
15 Module Y.
16 (*Set Universe Polymorphism.*)
17 Inductive paths A (x : A) : forall _ : A, Type := idpath : paths A x x.
18 Notation "x = y" := (@paths _ x y) (at level 70, no associativity) : type_scope.
19 Scheme Rewriting for paths.
20
21 Axioms A B : Type.
22 Axiom P : A = B.
23 Definition foo : (A = B) * (A = B).
24 split; abstract (rewrite <- P; reflexivity).
25 Defined.
26 End Y.