You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was minifying some code to debug an error Equations was giving me, and instead found a bug. Incidentally, I believe this should be possible without a global UIP, because everything in sight is a set, but I couldn't get it to work.
From Equations RequireImport Equations.
Set Equations With UIP.
Variant ty : Type :=
| val (A : nat).
Derive NoConfusion EqDec for ty.
Variant Node : ty -> ty -> Type :=
| bar {A} : Node A A.
Derive NoConfusion for Node.
Variant Is_bar : forall {Ga De}, Node Ga De -> Type :=
| bar_is_bar {A} : Is_bar (@bar A).
Equations Is_bar_prop {Ga De n} (x y : @Is_bar Ga De n) : x = y :=
| bar_is_bar, bar_is_bar => eq_refl.
Result of checking the last definition:
Error: Stack overflow.
ocaml version 4.13.1; coq version 8.15.1; coq-equations version 1.3+8.15
The text was updated successfully, but these errors were encountered:
I was minifying some code to debug an error Equations was giving me, and instead found a bug. Incidentally, I believe this should be possible without a global UIP, because everything in sight is a set, but I couldn't get it to work.
Result of checking the last definition:
ocaml
version 4.13.1;coq
version 8.15.1;coq-equations
version 1.3+8.15The text was updated successfully, but these errors were encountered: