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

(probably) Incorrect example #16

Open
DanielRrr opened this issue Jun 25, 2023 · 0 comments
Open

(probably) Incorrect example #16

DanielRrr opened this issue Jun 25, 2023 · 0 comments

Comments

@DanielRrr
Copy link

DanielRrr commented Jun 25, 2023

In Propositions and sets/Mere Proposition, there is the following example:

\func Unit-isProp : isProp Unit => \lam x y => idp

which is rejected with

[ERROR] Intro.ard:543:48: Expressions are not equal
  Left:  x
  Right: y
  In: idp

I was using a freshly built version of the Arend Idea plugin.

Either the proof is wrong (but it doesn't seem so) or there is a bug in the typechecker.

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