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

Harpoon: Uncaught exception when attempting to split/invert something #257

Open
chutasano opened this issue Nov 8, 2022 · 1 comment
Open
Labels
A | core affecting the typechecker A | harpoon affecting the Harpoon interactive prover B | bug unexpected or incorrect behaviour

Comments

@chutasano
Copy link
Collaborator

chutasano commented Nov 8, 2022

I think? this is an error. I'm trying to split/invert something in my computation context, and I get the following error:

Theorem: pres_step
intros <- split fwd (case beta_fwd) <- split x1 (case tp_jdg_par)
Meta-context:
  g : ctx
  X : ( |- tp)
  X1 : (g |- name)
  X2 : (g, x : name |- proc)
  X4 : ( |- tp) (not in scope)
  X7 : ( |- dual X X4)
  X8 : (g, x : name, y : hyp x X[] |- tp_jdg (fwd (X1[..]) x))
  X9 : (g, x : name, z : hyp x X4[] |- tp_jdg (X2[.., x]))
  X10 : (g |- linear (\x14. fwd (X1[..]) x14))
  X11 : (g |- linear (\x14. X2))
Computational context:
  x : [g |- tp_jdg (pcomp X[] (\x. ppar (fwd (X1[..]) x) X2))]
  x1 : [g |- step (pcomp X[] (\x. ppar (fwd (X1[..]) x) X2)) (X2[.., X1])]
  fwd : [g, b : block (x : name, h : hyp x X[]) |- tp_jdg (fwd (X1[..]) b.1)]
       
--------------------------------------------------------------------------------
[g |- tp_jdg (X2[.., X1])]
       
> split fwd
Uncaught exception.
Please report this as a bug.
Internal error. (State may be undefined.)
Failure("Found Clo - should not happen")
@chutasano
Copy link
Collaborator Author

Should be reproducible with the following code:
cp_err.zip

harpoon --sig=cp_harp.cfg
split fwd

@MartyO256 MartyO256 added B | bug unexpected or incorrect behaviour A | core affecting the typechecker A | harpoon affecting the Harpoon interactive prover labels Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A | core affecting the typechecker A | harpoon affecting the Harpoon interactive prover B | bug unexpected or incorrect behaviour
Projects
None yet
Development

No branches or pull requests

2 participants