GithubHelp home page GithubHelp logo

Comments (3)

m-lindgren avatar m-lindgren commented on August 30, 2024

The problem is that the PR calls bool_rec : ∏ (P : bool → Set), P true → P false → ∏ b : bool, P b and coprod_rec, which also use the Set-eliminator. I suggested some changes to the PR that I tried successfully compiling SetHIT with, so no need -type-in-type.

from sethits.

m-lindgren avatar m-lindgren commented on August 30, 2024

So I was wrong, -type-in-type is currently needed, but for a completely different reason:

        coqc SetHITs/code/examples/groups.{glob,vo} (exit 1)
File "./SetHITs/code/examples/groups.v", line 118, characters 12-20:
Error:
The term "group_ax" has type "UU" while it is expected to have type
"Type" (universe inconsistency: Cannot enforce UU.u0 <=
hit_signature.u0 because hit_signature.u0 < UU.u0).

        coqc SetHITs/code/examples/rings.{glob,vo} (exit 1)
File "./SetHITs/code/examples/rings.v", line 192, characters 12-19:
Error:
The term "ring_ax" has type "UU" while it is expected to have type
"Type" (universe inconsistency: Cannot enforce UU.u0 <=
hit_signature.u0 because hit_signature.u0 < UU.u0).

...

I believe these comes from this recent commit with innocent looking changes like:

  (** Labels of group axioms *)
-Inductive group_ax :=
+Inductive group_ax : UU :=
 | assoc : group_ax

I assume this is because UniMath has Definition UU := Type. instead of having UU be a Notation (or just using Type).

from sethits.

m-lindgren avatar m-lindgren commented on August 30, 2024

Closing this following #14. -type-in-type is not needed for this repository. The original issue was that the PR UniMath/UniMath#1467 inadvertently used Set-valued eliminators which caused a universe inconsistency when building this satellite.

from sethits.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.