-
Notifications
You must be signed in to change notification settings - Fork 124
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
Offer a tcSmtFile
option for writing typechecker SMT solver output to a file
#1782
Labels
feature request
Asking for new or improved functionality
typechecker
Issues related to type-checking Cryptol code.
Comments
RyanGlScott
added
feature request
Asking for new or improved functionality
typechecker
Issues related to type-checking Cryptol code.
labels
Dec 6, 2024
RyanGlScott
added a commit
that referenced
this issue
Dec 9, 2024
`tcSmtFile` is to `tcSolver` as `smtFile` is to `prover`. The `tcSmtFile` option allows users to record typechecker-related SMT solver interactions to a file. This requires using a more recent `simple-smt` version to bring in the changes from yav/simple-smt#25 and yav/simple-smt#27, which are needed to plumb the relevant information down to the `simple-smt` API. Fixes #1782.
RyanGlScott
added a commit
that referenced
this issue
Dec 9, 2024
`tcSmtFile` is to `tcSolver` as `smtFile` is to `prover`. The `tcSmtFile` option allows users to record typechecker-related SMT solver interactions to a file. This requires using a more recent `simple-smt` version to bring in the changes from yav/simple-smt#25 and yav/simple-smt#27, which are needed to plumb the relevant information down to the `simple-smt` API. Fixes #1782.
RyanGlScott
added a commit
that referenced
this issue
Dec 13, 2024
`tcSmtFile` is to `tcSolver` as `smtFile` is to `prover`. The `tcSmtFile` option allows users to record typechecker-related SMT solver interactions to a file. This requires using a more recent `simple-smt` version to bring in the changes from yav/simple-smt#25 and yav/simple-smt#27, which are needed to plumb the relevant information down to the `simple-smt` API. Fixes #1782.
RyanGlScott
added a commit
that referenced
this issue
Dec 17, 2024
`tcSmtFile` is to `tcSolver` as `smtFile` is to `prover`. The `tcSmtFile` option allows users to record typechecker-related SMT solver interactions to a file. This requires using a more recent `simple-smt` version to bring in the changes from yav/simple-smt#25 and yav/simple-smt#27, which are needed to plumb the relevant information down to the `simple-smt` API. Fixes #1782.
RyanGlScott
added a commit
that referenced
this issue
Dec 17, 2024
`tcSmtFile` is to `tcSolver` as `smtFile` is to `prover`. The `tcSmtFile` option allows users to record typechecker-related SMT solver interactions to a file. This requires using a more recent `simple-smt` version to bring in the changes from yav/simple-smt#25 and yav/simple-smt#27, which are needed to plumb the relevant information down to the `simple-smt` API. Fixes #1782.
RyanGlScott
added a commit
that referenced
this issue
Jan 6, 2025
`tcSmtFile` is to `tcSolver` as `smtFile` is to `prover`. The `tcSmtFile` option allows users to record typechecker-related SMT solver interactions to a file. This requires using a more recent `simple-smt` version to bring in the changes from yav/simple-smt#25 and yav/simple-smt#27, which are needed to plumb the relevant information down to the `simple-smt` API. Fixes #1782.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature request
Asking for new or improved functionality
typechecker
Issues related to type-checking Cryptol code.
There are two situations in which Cryptol can interact with an SMT solver:
:prove
command. This SMT solver is controlled by theprover
option.tcSolver
option.With (1), one has the ability to write the SMT solver interactions to a file by enabling the
smtFile
option. There is no such option for (2), however, which means that the only way to record typechecker-related SMT solver interactions is to enabletcDebug
and copy-paste the output that gets printed tostdout
, which will look something like this:But this is not a valid SMT-LIB file, so one then has to scrub out the
[send->]
prefixes and remove the[<-recv]
lines entirely. All told, this is quite tedious.To avoid this tedium, Cryptol should offer a
tcSmtFile
option, wheretcSmtFile
is totcSolver
assmtFile
is toprover
. Moreover, it should format the typechecker-related SMT solver interactions such that it is a valid SMT-LIB file, e.g.,The text was updated successfully, but these errors were encountered: