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

Anomaly "in Univ.repr: Universe Var(0) undefined." with Derive Signature NoConfusion EqDec for Var. #554

Open
SkySkimmer opened this issue Jul 10, 2023 · 0 comments

Comments

@SkySkimmer
Copy link
Contributor

Require Equations.Prop.Classes.

Set Universe Polymorphism.

Register Equations.Init.sigma as equations.sigma.type.
Register Equations.Init.sigmaI as equations.sigma.intro.
Register Equations.Init.pr1 as equations.sigma.pr1.
Register Equations.Init.pr2 as equations.sigma.pr2.

Register Init.Logic.eq as equations.equality.type.

Register Classes.EqDec as equations.eqdec.class.
Register Classes.dec_eq as equations.eqdec.dec_eq.

Register Init.Logic.False as equations.bottom.type.

Register Init.Logic.True as equations.top.type.

Register Equations.Prop.Classes.NoConfusionPackage as equations.noconfusion.class.

Inductive Ty@{u} : Type@{u} :=
  | TyUnit : Ty.

Inductive Var@{u} : Ty@{u} -> Type@{u} :=
  | ZV x : Var x.

Derive Signature NoConfusion EqDec for Var.

tested with Coq 8.17 and Equations 1.3+8.17, and Coq master and Equations main

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