Inverting twice makes a meta-context variable become in scope #221
Labels
A | core
affecting the typechecker
A | harpoon
affecting the Harpoon interactive prover
B | bug
unexpected or incorrect behaviour
Loading this signature in Harpoon:
loc-succ-lt
can be incorrectly proven usingwhich produces the program
After the first
invert x
, the meta-context variableN : ( |- nat)
is not in scope.It becomes in scope after the second
invert x
, which is why it can be accessed directly inby lt-succ [ |- N] as Q unboxed
.For any
x
, it should not be possible to perform a case analysis forx
while being in a case analysis forx
.The text was updated successfully, but these errors were encountered: