Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSR case tactic with universe polymorphism #10301

Closed
andreaslyn opened this issue Jun 4, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@andreaslyn
Copy link
Contributor

commented Jun 4, 2019

Description of the problem

In the following code the case B:b fails with Illegal application...

Require Import ssreflect.

Polymorphic 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.

The problem is in ssrelim.ml, where it is assumed that core.eq.type lives in Prop, which is not the case in HoTT.

Coq Version

8.10+alpha

@gares gares closed this in #10302 Jun 6, 2019

@coqbot coqbot added this to the 8.11+beta1 milestone Jun 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.