N> Thank you, Stephen and Alex.
N> I did not understand how to use this option
N> I write the following:
N> ./stp/stp-print-back-SMTLIB2 five.stp
N> Output:
N> Invalid.
N> ASSERT( INPUT_1001_0000_61 = 0hex35 );
N> ASSERT( INPUT_1001_0000_61 = 0hex35 );
N> Could you give an example of using this option, please?
The option in question being "--print-back-SMTLIB2", I presume?
The sample execution you quote above seems strangely confused. Like a
usual option for a Unix program, you pass "--print-back-SMTLIB2" as a
separate command-line argument, so there should be a space between the
name of the program and the option. In the command you quoted above,
there's no space between "stp" and the option, so your system would
look for a program named "stp-print-back-SMTLIB2". That wouldn't work
unless you had renamed your binary to that.
Perhaps your real problem is that you are attempting to use this
option with an STP binary distributed with Vine 1.0? Those binaries
are too old to include this functionality. You can tell that's the
problem if STP prints a usage message that includes other options but
not that one. You'll need to compile yourself a new STP binary, see:
https://sites.google.com/site/stpfastprover/
Once you have an appropriate STP binary, the option is
"--print-back-SMTLIB2" with two "-"s at the front; it will cause STP
to print the rewritten formula to standard output rather than solving
it. So a command to use it would look like:
% ,.stp --print-back-SMTLIB2 /tmp/five.stp >/tmp/five.smt2