Portability | GHC-only |
---|---|
Stability | experimental |
Maintainer | fontaine@cs.uni-duesseldorf.de |
Safe Haskell | Safe-Infered |
A checker for the firing rules semantics of CSPM.
viewRuleMaybe
checks that a proof tree is valid
with respect to the firing rules semantics of CSPM.
It checks that the proof tree is syntactically valid
and that all side conditions hold.
The Rule
data type stores proof trees in a compressed form.
viewRuleMaybe
constructs an explicit representation of the transition.
viewRule
calls viewRuleMaybe
and throws an exception if
the proof tree was not valid.
The proof tree generators in this package only generate valid proof trees.
viewRule
is used to check that assertion.
- viewRule :: BL i => Rule i -> (Process i, TTE i, Process i)
- viewProcBefore :: BL i => Rule i -> Process i
- viewEvent :: BL i => Rule i -> TTE i
- viewProcAfter :: BL i => Rule i -> Process i
- viewRuleMaybe :: BL i => Rule i -> Maybe (Process i, TTE i, Process i)
- viewRuleTau :: forall i. BL i => RuleTau i -> Maybe (Process i, Process i)
- viewRuleTick :: BL i => RuleTick i -> Maybe (Process i)
- viewRuleEvent :: forall i. BL i => RuleEvent i -> Maybe (Process i, Event i, Process i)
Documentation
viewProcBefore :: BL i => Rule i -> Process iSource
Like viewRule
but just return the predecessor process.
viewProcAfter :: BL i => Rule i -> Process iSource
Like viewRule
but just return the successor process.