Page
Library
Module
Module type
Parameter
Class
Class type
Source
Why3find.Prover
SourceTypes representing provers and associated operations
The type of prover descriptions, identifying a unique prover version.
Raised on invalid pattern or prover description, see below. The argument is the erroneous string.
Converts prover descriptions to and from string. The syntax is the same as patterns below, but the version part is mandatory.
Prover descriptions comparison function. Different provers are ordered alphabetically by names, and different version of a same prover by reverse version order. Thus, when sorting, the latest version come before older ones.
type prover = private {
desc : desc;
config : Why3.Whyconf.config_prover;
driver : Why3.Driver.driver;
digest : string;
}
The type of provers.
digest
is an hexadecimal digest of the prover and its config. For now, drivers are not completly taken into account, for instance modifying a driver which is import
ed into the main driver won't change the digest.
Prints prover fullname.
Patterns identify provers. The syntax is prover-name@prover-version
. The prover-name
match the prover name case-insensitively. (eg alt-ergo
match the prover of Why3 name Alt-Ergo
) The version part, starting from the '@', is optional. If omitted, it generally means the last available version.
Whether the given pattern match the prover description.
Returns the set of all available provers for the given Why3 environment.
Selects the provers that match one of the patterns
. For each pattern
in order, if the pattern is invalid or the prover is not in the map, a warning is emitted, otherwise one prover is appended to the return list, either the one specified or the latest available version in case of a version-less pattern.
Returns the set of available "default" provers.
Returns the requested prover from the provers
list. Warn if the prover is not found.