|
A tool to prove pre- or postconditions via an SMT solver (Z3) and to remove the statically proven conditions from a program.
Author: Michael Hanus
Version: September 2017
Constructors:
TransInfo
:: Options -> [TAFuncDecl] -> [TAFuncDecl] -> [TAFuncDecl] -> [TAFuncDecl] -> TransInfo
Fields:
tiOptions
:: Options
allFuns
:: [TAFuncDecl]
preConds
:: [TAFuncDecl]
postConds
:: [TAFuncDecl]
woPreCondFuns
:: [TAFuncDecl]
Constructors:
Constructors:
Statistics
:: [String] -> [String] -> [String] -> [String] -> Statistics
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the original name (i.e., without possible xxxCondCheck suffix) of a qualified function name. |
|
|
|
|
Shows the statistics in human-readable format. |
Was there some optimization of a contract?
|
Increments the number of preconditions. If the first argument is true, a precondition has been removed. |
Adds an operation to the already processed operations with postconditions. If the second argument is true, the postcondition of this operation has been removed. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Checks whether a file exists in one of the directories on the PATH. |