My configuration file includes alternative entries for different provers. When I execute why3 prove with that prover, then the output of why3 is a message informing that I have more than one prover in my configuration file with the given name, the list of these provers.
/home/xyz> why3 prove --prover Z3 afile.why
More than one prover in /home/xyz/.why3.conf correspond to "Z3":
Z3 (4.4.1), Z3 (4.4.1 noBV)
I would like to know how to call why3 on a specific alternative of that prover, if this is possible.
Eventually I peeked at the source code of Why3 to get an answer. It is to be found in why3/src/driver/whyconf.mli and why3/src/driver/whyconf.ml.
A solution is to use the version and alternative fields of the prover entry in Why3's configuration file. For instance, if this file contains the following two entries for Z3:
The "alternative" field differs between entries. So to call the first entry, the command is:
To call the second entry, the command is: