contract-0.1.0.0
Copyright(c) Xie Ruifeng 2020
LicenseAGPL-3
Maintainerkrantz.xrf@outlook.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Language.Contract.Proof

Description

 
Synopsis

Documentation

pattern Falsified :: ThmResult Source #

A falsified theorem.

pattern Proven :: ThmResult Source #

A proven theorem.

isFalsified :: SMTResult -> Bool Source #

Is this theorem falsified?

tryProve :: MonadIO m => [Type] -> [Term] -> Term -> m (Maybe ThmResult) Source #

Try prove with sbv.

naiveTryProve :: (MonadFail m, MonadIO m) => [Type] -> [Term] -> Term -> m () Source #

Use the naive theorem prover.