mortberg / cubicaltt

Experimental implementation of Cubical Type Theory
https://arxiv.org/abs/1611.02108
MIT License
571 stars 76 forks source link

better error message from checkPLam #59

Closed Rotsor closed 7 years ago

Rotsor commented 7 years ago

Improve error message from checkPLam. The following is an example program that triggers the error:

module test where

Path (A : U) (a0 a1 : A) : U = PathP (<i> A) a0 a1

bad (A B : U) (x y : A) (q : Path A x y) : Path (Path A x y) q q =
  <i> comp (<_> Path A x y) q [(i=0) -> q]
mortberg commented 7 years ago

Thanks!