Maintainer | Guilherme G. Azzi <ggazzi@inf.ufrgs.br> |
---|---|
Stability | provisional |
Safe Haskell | Safe |
Language | Haskell2010 |
- data Expr
- data PathQuantified e
- = A (StateQuantified e)
- | E (StateQuantified e)
- data StateQuantified e
- parseExpr :: SourceName -> String -> Either ParseError Expr
- check :: KripkeStructure String -> Expr -> Int -> Bool
- satisfyExpr :: KripkeStructure String -> Expr -> [State String]
- satisfyExpr' :: KripkeStructure String -> Expr -> [Int]
CTL Expressions
CTL expressions
data PathQuantified e Source #
Path-quantified CTL expressions
A (StateQuantified e) | |
E (StateQuantified e) |
Eq e => Eq (PathQuantified e) Source # | |
Read e => Read (PathQuantified e) Source # | |
Show e => Show (PathQuantified e) Source # | |
data StateQuantified e Source #
State-quantified CTL expressions
Eq e => Eq (StateQuantified e) Source # | |
Read e => Read (StateQuantified e) Source # | |
Show e => Show (StateQuantified e) Source # | |
parseExpr :: SourceName -> String -> Either ParseError Expr Source #
Parse a CTL expressions from the given string.
The first parameter will be used to identify the source of the text in error messages.
This parser is compatible with the pretty printer of expressions, that is, pretty printed expressions will be parseable by this (unless they contain illegal identifiers for atomic propositions).
Model checking
check :: KripkeStructure String -> Expr -> Int -> Bool Source #
Check if the given expression holds in the given state of the Kripke structure.
satisfyExpr :: KripkeStructure String -> Expr -> [State String] Source #
Obtain all states that satisfy the given CTL expression.
satisfyExpr' :: KripkeStructure String -> Expr -> [Int] Source #
Obtain the identifiers of all states that satisfy the given CTL expression.