diff options
| author | Andreas Lynge | 2019-06-04 14:09:27 +0200 |
|---|---|---|
| committer | Andreas Lynge | 2019-06-04 14:09:27 +0200 |
| commit | a3cee159e8b119bb21dad5c1bfb4173be21bbbfe (patch) | |
| tree | 008d2a89b71979f33d1d2cafc89f82fede12f8e4 /test-suite | |
| parent | 589aaf4f97d5cfcdabfda285739228f5ee52261f (diff) | |
Fix SSR 'case B:b' with universe polymorphic equality
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/ssr/case_polyuniv.v | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/ssr/case_polyuniv.v b/test-suite/ssr/case_polyuniv.v new file mode 100644 index 0000000000..8774e191c1 --- /dev/null +++ b/test-suite/ssr/case_polyuniv.v @@ -0,0 +1,12 @@ +Require Import ssreflect. + +Set Universe Polymorphism. + +Cumulative Variant paths {A} (x:A) : A -> Type + := idpath : paths x x. + +Register paths as core.eq.type. +Register idpath as core.eq.refl. + +Lemma case_test (b:bool) : paths b b. +Proof. case B:b; reflexivity. Qed. |
