Hets - the Heterogeneous Tool Set

Copyright(c) Dominik Luecke Uni Bremen 2007
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerluecke@informatik.uni-bremen.de
Stabilityexperimental
Portabilitynon-portable (imports Logic.Logic)
Safe HaskellSafe

Propositional.Sublogic

Description

Sublogics for Propositional Logic

Synopsis

Documentation

sl_basic_spec :: PropSL -> BASIC_SPEC -> PropSL Source #

determines sublogic for basic spec

data PropFormulae Source #

types of propositional formulae

Constructors

PlainFormula 
HornClause 

Instances

Eq PropFormulae Source # 

Methods

(==) :: PropFormulae -> PropFormulae -> Bool

(/=) :: PropFormulae -> PropFormulae -> Bool

Data PropFormulae Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PropFormulae -> c PropFormulae

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PropFormulae

toConstr :: PropFormulae -> Constr

dataTypeOf :: PropFormulae -> DataType

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PropFormulae)

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PropFormulae)

gmapT :: (forall b. Data b => b -> b) -> PropFormulae -> PropFormulae

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PropFormulae -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PropFormulae -> r

gmapQ :: (forall d. Data d => d -> u) -> PropFormulae -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> PropFormulae -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PropFormulae -> m PropFormulae

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PropFormulae -> m PropFormulae

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PropFormulae -> m PropFormulae

Ord PropFormulae Source # 
Show PropFormulae Source # 

Methods

showsPrec :: Int -> PropFormulae -> ShowS

show :: PropFormulae -> String

showList :: [PropFormulae] -> ShowS

data PropSL Source #

sublogics for propositional logic

Constructors

PropSL 

Fields

Instances

Eq PropSL Source # 

Methods

(==) :: PropSL -> PropSL -> Bool

(/=) :: PropSL -> PropSL -> Bool

Data PropSL Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PropSL -> c PropSL

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PropSL

toConstr :: PropSL -> Constr

dataTypeOf :: PropSL -> DataType

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PropSL)

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PropSL)

gmapT :: (forall b. Data b => b -> b) -> PropSL -> PropSL

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PropSL -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PropSL -> r

gmapQ :: (forall d. Data d => d -> u) -> PropSL -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> PropSL -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PropSL -> m PropSL

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PropSL -> m PropSL

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PropSL -> m PropSL

Ord PropSL Source # 

Methods

compare :: PropSL -> PropSL -> Ordering

(<) :: PropSL -> PropSL -> Bool

(<=) :: PropSL -> PropSL -> Bool

(>) :: PropSL -> PropSL -> Bool

(>=) :: PropSL -> PropSL -> Bool

max :: PropSL -> PropSL -> PropSL

min :: PropSL -> PropSL -> PropSL

Show PropSL Source # 

Methods

showsPrec :: Int -> PropSL -> ShowS

show :: PropSL -> String

showList :: [PropSL] -> ShowS

Logic Propositional PropSL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree Source #

Instance of Logic for propositional logc

Methods

parse_basic_sen :: Propositional -> Maybe (BASIC_SPEC -> AParser st FORMULA) Source #

stability :: Propositional -> Stability Source #

data_logic :: Propositional -> Maybe AnyLogic Source #

top_sublogic :: Propositional -> PropSL Source #

all_sublogics :: Propositional -> [PropSL] Source #

bottomSublogic :: Propositional -> Maybe PropSL Source #

sublogicDimensions :: Propositional -> [[PropSL]] Source #

parseSublogic :: Propositional -> String -> Maybe PropSL Source #

proj_sublogic_epsilon :: Propositional -> PropSL -> Sign -> Morphism Source #

provers :: Propositional -> [Prover Sign FORMULA Morphism PropSL ProofTree] Source #

default_prover :: Propositional -> String Source #

cons_checkers :: Propositional -> [ConsChecker Sign FORMULA PropSL Morphism ProofTree] Source #

conservativityCheck :: Propositional -> [ConservativityChecker Sign FORMULA Morphism] Source #

empty_proof_tree :: Propositional -> ProofTree Source #

syntaxTable :: Propositional -> Sign -> Maybe SyntaxTable Source #

omdoc_metatheory :: Propositional -> Maybe OMCD Source #

export_symToOmdoc :: Propositional -> NameMap Symbol -> Symbol -> String -> Result TCElement Source #

export_senToOmdoc :: Propositional -> NameMap Symbol -> FORMULA -> Result TCorOMElement Source #

export_theoryToOmdoc :: Propositional -> SigMap Symbol -> Sign -> [Named FORMULA] -> Result [TCElement] Source #

omdocToSym :: Propositional -> SigMapI Symbol -> TCElement -> String -> Result Symbol Source #

omdocToSen :: Propositional -> SigMapI Symbol -> TCElement -> String -> Result (Maybe (Named FORMULA)) Source #

addOMadtToTheory :: Propositional -> SigMapI Symbol -> (Sign, [Named FORMULA]) -> [[OmdADT]] -> Result (Sign, [Named FORMULA]) Source #

addOmdocToTheory :: Propositional -> SigMapI Symbol -> (Sign, [Named FORMULA]) -> [TCElement] -> Result (Sign, [Named FORMULA]) Source #

Comorphism CASL2Prop CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree Propositional PropSL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree Source # 
Comorphism Prop2CASL Propositional PropSL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree Source # 
Comorphism Prop2CommonLogic Propositional PropSL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree CommonLogic CommonLogicSL BASIC_SPEC TEXT_META SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree Source # 
Comorphism Propositional2OWL2 Propositional PropSL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree Source # 
Comorphism Prop2QBF Propositional PropSL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree QBF QBFSL BASICSPEC FORMULA SYMBITEMS SYMBMAPITEMS Sign Morphism Symbol Symbol ProofTree Source # 
Comorphism QBF2Prop QBF QBFSL BASICSPEC FORMULA SYMBITEMS SYMBMAPITEMS Sign Morphism Symbol Symbol ProofTree Propositional PropSL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree Source # 

sublogics_all :: [PropSL] Source #

all sublogics

sl_sig :: PropSL -> Sign -> PropSL Source #

determines the sublogic for a Signature

sl_form :: PropSL -> FORMULA -> PropSL Source #

determines sublogic for formula

sl_sym :: PropSL -> Symbol -> PropSL Source #

determines the sublogic for symbols

sl_symit :: PropSL -> SYMB_ITEMS -> PropSL Source #

determines the sublogic for Symbol items

sl_mor :: PropSL -> Morphism -> PropSL Source #

determines the sublogic for a morphism

sl_symmap :: PropSL -> SYMB_MAP_ITEMS -> PropSL Source #

determines the sublogic for symbol map items

isProp :: PropSL -> Bool Source #

isHC :: PropSL -> Bool Source #