Module VerifierState

Summary of exported operations:

initVerifyInfo :: Options -> VerifyInfo  Deterministic 
addFunsToVerifyInfo :: [AFuncDecl TypeExpr] -> VerifyInfo -> VerifyInfo  Deterministic 
isContractOp :: (String,String) -> Bool  Deterministic 
Is an operation name the name of a contract or similar?
isProperty :: AFuncDecl TypeExpr -> Bool  Deterministic 
Is a function declaration a property?
initVState :: VerifyInfo -> VState  Deterministic 
readVerifyInfoRef :: IORef VState -> IO VerifyInfo  Deterministic 
Reads VerifyInfo from VState IORef.
showStats :: VState -> String  Deterministic 
Shows the statistics in human-readable format.
isVerified :: VState -> Bool  Deterministic 
Are all non-failing properties verified?
addFailedFuncToStats :: String -> String -> VState -> VState  Deterministic 
Adds a possibly failing call in a functions and the called function.
incNumAllInStats :: VState -> VState  Deterministic 
Increments the number of all tested functions.
incNumNFCInStats :: VState -> VState  Deterministic 
Increments the number of operations with nonfail conditions.
incPatTestInStats :: VState -> VState  Deterministic 
Increments the number of missing pattern tests.
incFailTestInStats :: VState -> VState  Deterministic 
Increments the number of test of posibble failure calls.
addProgToState :: AProg TypeExpr -> VState -> VState  Deterministic 
Adds a new typed FlatCurry program to the state.
tdeclOf :: VState -> (String,String) -> Maybe TypeDecl  Deterministic 
Selects the type declaration of a type constructor from the state.

Exported datatypes:


VerifyInfo

Constructors:


VState

Constructors:

  • VState :: VerifyInfo -> [(String,String)] -> Int -> Int -> Int -> Int -> [TAProg] -> VState

    Fields:

    • trInfo :: VerifyInfo
    • failedFuncs :: [(String,String)]
    • numAllFuncs :: Int
    • numNFCFuncs :: Int
    • numPatTests :: Int
    • numFailTests :: Int
    • currTAProgs :: [TAProg]

Exported operations:

initVerifyInfo :: Options -> VerifyInfo  Deterministic 

Further infos:
  • solution complete, i.e., able to compute all solutions

isContractOp :: (String,String) -> Bool  Deterministic 

Is an operation name the name of a contract or similar?

isProperty :: AFuncDecl TypeExpr -> Bool  Deterministic 

Is a function declaration a property?

initVState :: VerifyInfo -> VState  Deterministic 

Further infos:
  • solution complete, i.e., able to compute all solutions

readVerifyInfoRef :: IORef VState -> IO VerifyInfo  Deterministic 

Reads VerifyInfo from VState IORef.

showStats :: VState -> String  Deterministic 

Shows the statistics in human-readable format.

isVerified :: VState -> Bool  Deterministic 

Are all non-failing properties verified?

Further infos:
  • solution complete, i.e., able to compute all solutions

addFailedFuncToStats :: String -> String -> VState -> VState  Deterministic 

Adds a possibly failing call in a functions and the called function.

Further infos:
  • solution complete, i.e., able to compute all solutions

incNumAllInStats :: VState -> VState  Deterministic 

Increments the number of all tested functions.

incNumNFCInStats :: VState -> VState  Deterministic 

Increments the number of operations with nonfail conditions.

incPatTestInStats :: VState -> VState  Deterministic 

Increments the number of missing pattern tests.

incFailTestInStats :: VState -> VState  Deterministic 

Increments the number of test of posibble failure calls.

addProgToState :: AProg TypeExpr -> VState -> VState  Deterministic 

Adds a new typed FlatCurry program to the state.

Further infos:
  • solution complete, i.e., able to compute all solutions

tdeclOf :: VState -> (String,String) -> Maybe TypeDecl  Deterministic 

Selects the type declaration of a type constructor from the state.