Module ToVerifier

Author
Michael Hanus
Version
April 2021

A transformation of Curry programs into verification tools.

Exported Functions


cvBanner :: String  Deterministic 


usageText :: String  Deterministic 


main :: IO ()  Non-deterministic 

Further infos:
  • might behave indeterministically

generateTheoremsForModule :: Options -> String -> IO ()  Non-deterministic 

Further infos:
  • might behave indeterministically

generateTheorems :: Options -> IO ()  Non-deterministic 

Further infos:
  • might behave indeterministically

generateTheorem :: Options -> (String, String) -> IO ()  Non-deterministic 

Further infos:
  • might behave indeterministically

getAllTypeDecls :: Options -> [CurryProg] -> [(String, String)] -> [CTypeDecl] -> IO [CTypeDecl]  Non-deterministic 

Extract all type declarations that are refererred in the types of the given functions.

Further infos:
  • partially defined

sortTypeDecls :: [CTypeDecl] -> [CTypeDecl]  Deterministic 


getAllFunctions :: Options -> [CFuncDecl] -> [CurryProg] -> [(String, String)] -> IO (Options, [CurryProg], [CFuncDecl])  Non-deterministic 

Extract all functions that might be called by a given function.

Further infos:
  • partially defined
  • might behave indeterministically

standardConstructors :: [(String, String)]  Deterministic 

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