Comments (3)
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sethits.