CurryInfo: contract-prover-4.0.0 / ContractProver.verifyPreConditions

definition: Info
 
verifyPreConditions :: Options -> TAProg -> IORef VState -> IO TAProg
verifyPreConditions opts prog vstref = do
  newfuns  <- mapM (provePreCondition opts vstref) (progFuncs prog)
  return (updProgFuncs (const newfuns) prog)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
------------------------------------------------------------------------
Try to verify preconditions: If an operation `f` occurring in some
right-hand side has a precondition, a proof for the validity of
this precondition is extracted.
If the proof is not successful, a precondition check is added to this call.
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> _}
name: Info
 verifyPreConditions
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 ToolOptions.Options -> FlatCurry.Annotated.Types.AProg FlatCurry.Types.TypeExpr
-> Data.IORef.IORef VerifierState.VState
-> Prelude.IO (FlatCurry.Annotated.Types.AProg FlatCurry.Types.TypeExpr)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term