Copyright | (c) J. von Schroeder DFKI Bremen 2012 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | J. von Schroeder <jonathan.von_schroeder@dfki.de> |
Stability | provisional |
Portability | non-portable (imports Logic.Logic) |
Safe Haskell | None |
The comorphism from THFP to THF0.
Documentation
Instances
trans_theory :: (SignTHF, [Named THFFormula]) -> Result (SignTHF, [Named THFFormula]) Source #
curryConstType :: Type -> Type Source #
rewriteSen :: TransMap -> [Named THFFormula] -> Result [Named THFFormula] Source #
rewriteSen' :: TransMap -> Named THFFormula -> Result (Named THFFormula) Source #
rewriteLogicFormula' :: (RewriteFuns TransMap, TransMap) -> THFLogicFormula -> Result THFLogicFormula Source #
rewriteBinaryFormula' :: (RewriteFuns TransMap, TransMap) -> THFBinaryFormula -> Result (Either THFBinaryFormula THFUnitaryFormula) Source #
toTuple :: THFUnitaryFormula -> Maybe THFUnitaryFormula Source #
rewriteBinaryTuple' :: (RewriteFuns TransMap, TransMap) -> THFBinaryTuple -> Result (Either THFBinaryFormula THFUnitaryFormula) Source #
flattenTuples :: [THFUnitaryFormula] -> [THFUnitaryFormula] Source #
unpack_tuple :: THFUnitaryFormula -> Int -> Result (Either THFBinaryFormula THFUnitaryFormula) Source #
rewriteVariableList' :: (RewriteFuns TransMap, TransMap) -> [THFVariable] -> Result [THFVariable] Source #
rewriteConst' :: (RewriteFuns TransMap, TransMap) -> Constant -> Result THFUnitaryFormula Source #
transConst' :: TransMap -> Constant -> [THFLogicFormula] Source #
mkExplicitProductsT :: TransMap -> Map Constant ConstInfo -> (TransMap, Map Constant ConstInfo) Source #