|
definition: |
postCondExpOf :: VerifyInfo -> QName -> [(Int,TypeExpr)] -> TransStateM Term
postCondExpOf ti qf args =
maybe (return tTrue)
(\fd -> applyFunc fd args >>= pred2smt)
(find (\fd -> decodeContractQName (funcName fd)
== toPostCondQName (fromNoCheckQName qf))
(postConds ti))
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Returns the postcondition expression for a given operation and its arguments (which are assumed to be variable indices). Rename all local variables by adding `freshvar` to them and return the new freshvar value. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_) |-> _}
|
|
name: |
postCondExpOf |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
VerifierState.VerifyInfo -> (String, String) -> [(Prelude.Int, FlatCurry.Types.TypeExpr)] -> Control.Monad.Trans.State.StateT TransState Prelude.IO ESMT.Term |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |