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.
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: