Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type WhileProp l = Prop (WhileExpr l)
- data PropAnn l a = PropAnn (WhileProp l Bool) a
- type AnnCommand l a = Command l (PropAnn l a)
- type MonadGen l = WriterT [WhileProp l Bool] Maybe
- generateVCs :: VerifiableVar (WhileVar l) => WhileProp l Bool -> WhileProp l Bool -> AnnCommand l a -> Maybe [WhileProp l Bool]
- generateVCs' :: VerifiableVar (WhileVar l) => Triplet (HFree WhileOp) (WhileVar l) (AnnCommand l a) -> MonadGen l ()
- splitSeq :: AnnCommand l a -> Maybe (AnnSeq (HFree WhileOp) (WhileVar l) (AnnCommand l a))
Documentation
type AnnCommand l a = Command l (PropAnn l a) Source #
generateVCs :: VerifiableVar (WhileVar l) => WhileProp l Bool -> WhileProp l Bool -> AnnCommand l a -> Maybe [WhileProp l Bool] Source #
Generate verification conditions to prove that the given Hoare partial correctness triple holds.
generateVCs' :: VerifiableVar (WhileVar l) => Triplet (HFree WhileOp) (WhileVar l) (AnnCommand l a) -> MonadGen l () Source #