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

Sniper is incompatible with QuickChick (universe inconsistency involving MetaCoq) #4

Open
anton-trunov opened this issue Jul 13, 2021 · 0 comments

Comments

@anton-trunov
Copy link

anton-trunov commented Jul 13, 2021

The following snippet

From QuickChick Require Import QuickChick.
From Sniper Require Import Sniper.

produces an error:

Error: Universe inconsistency. Cannot enforce Coq.Relations.Relation_Definitions.1
<= MetaCoq.Template.Induction.180 because MetaCoq.Template.Induction.180
<= MetaCoq.Template.Induction.173 <= MetaCoq.Template.utils.All_Forall.163
<= MetaCoq.Template.utils.All_Forall.232 <= MetaCoq.Template.utils.All_Forall.393
< Coq.Relations.Relation_Definitions.1.

This can be narrowed down further to

From QuickChick Require Import Sets.
From Sniper Require Import Sniper.

i.e. to this file in QuickChick: https://github.com/QuickChick/QuickChick/blob/master/src/Sets.v, but it's harder to try and pinpoint the issue because Sets.v uses Mathcomp and there there is a notation clash between Mathcomp's ssrnotations module (imported implicitly) and Sniper, I'll report this as a separate issue.

Tested with Coq 8.13.2, Sniper dev (commit d6a451a), QuickChick dev (commit 80f4c88e).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant