Newer
Older
Test verify
$ cat - > bin/alt-ergo << EOF
> #!/bin/sh
> echo "2.4.0"
> EOF
$ chmod u+x bin/alt-ergo bin/pyrat.py bin/Marabou
$ bin/alt-ergo
2.4.0
$ bin/pyrat.py --version
PyRAT 1.1
1.0.+
$ PATH=$(pwd)/bin:$PATH
$ caisar verify -L . --format whyml --prover=PyRAT - 2>&1 <<EOF | sed 's/\/tmp\/[a-z0-9./]*/$TMPFILE/'
> theory T
> use TestNetworkONNX.AsTuple
> use ieee_float.Float64
>
> goal G: forall x1 x2 x3.
> (0.0:t) .< x1 .< (0.5:t) ->
> let (y1,_) = net_apply x1 x2 x3 in
> (0.0:t) .< y1 .< (0.5:t)
> end
> EOF
<autodetect>0 prover(s) added
<autodetect>Generating strategies:
<autodetect>Run: (Marabou --version) > $TMPFILE 2>&1
<autodetect>Run: (alt-ergo --version) > $TMPFILE 2>&1
<autodetect>Run: (pyrat.py --version) > $TMPFILE 2>&1
<autodetect>Found prover Alt-Ergo version 2.4.0, OK.
<autodetect>Found prover Marabou version 1.0.+, OK.
<autodetect>Found prover PyRAT version 1.1, OK.
<autodetect>3 prover(s) added