tutorial-code icon indicating copy to clipboard operation
tutorial-code copied to clipboard

(probably) Incorrect example

Open DanielRrr opened this issue 2 years ago • 0 comments
trafficstars

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.

DanielRrr avatar Jun 25 '23 15:06 DanielRrr