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

Reach Compiler Error #1465

Closed
BunsanMuchi opened this issue Oct 12, 2022 · 2 comments
Closed

Reach Compiler Error #1465

BunsanMuchi opened this issue Oct 12, 2022 · 2 comments

Comments

@BunsanMuchi
Copy link

Hi, I got the following error when trying to turn on verifyPerConnector

Compiling "main"...
Verifying knowledge assertions
Verifying for ALGO connector
  Verifying when ALL participants are honest
reachc: The compiler has encountered an internal error:

  Unexpected result from the SMT solver:
  Expected: success
  Result: (error "line 118 column 32: unknown constant T0_cons (Int Int Int ) declared: (declare-fun T0_cons (Token Token Token ) (Array Int Token ) ) " )


This error indicates a problem with the Reach compiler, not your program. Please report this error, along with the pertinent program, to the Reach team as soon as possible so we can fix it.

Open an issue at: https://github.com/reach-sh/reach-lang/issues

CallStack (from HasCallStack):
  error, called at src/Reach/Util.hs:65:3 in reach-0-ILn78w7tAsfKMai7G6d7pp:Reach.Util
  impossible, called at src/Reach/Verify/SMT.hs:724:9 in reach-0-ILn78w7tAsfKMai7G6d7pp:Reach.Verify.SMT

If I delete the flag the error goes away.

@jeapostrophe
Copy link
Collaborator

Thank you! Can you privately send me the code? (Also, I assume you're on the latest release of Reach?)

@jeapostrophe
Copy link
Collaborator

Closed for no report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants