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

Instances details
Eq PropFormulae Source # 
Instance details

Defined in Propositional.Sublogic

Methods

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

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

Data PropFormulae Source # 
Instance details

Defined in Propositional.Sublogic

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 :: forall r r'. (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 # 
Instance details

Defined in Propositional.Sublogic

Show PropFormulae Source # 
Instance details

Defined in Propositional.Sublogic

Methods

showsPrec :: Int -> PropFormulae -> ShowS

show :: PropFormulae -> String

showList :: [PropFormulae] -> ShowS

Generic PropFormulae 
Instance details

Defined in Propositional.ATC_Propositional

Associated Types

type Rep PropFormulae :: Type -> Type

FromJSON PropFormulae 
Instance details

Defined in Propositional.ATC_Propositional

Methods

parseJSON :: Value -> Parser PropFormulae

parseJSONList :: Value -> Parser [PropFormulae]

ToJSON PropFormulae 
Instance details

Defined in Propositional.ATC_Propositional

Methods

toJSON :: PropFormulae -> Value

toEncoding :: PropFormulae -> Encoding

toJSONList :: [PropFormulae] -> Value

toEncodingList :: [PropFormulae] -> Encoding

ShATermConvertible PropFormulae 
Instance details

Defined in Propositional.ATC_Propositional

Methods

toShATermAux :: ATermTable -> PropFormulae -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [PropFormulae] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, PropFormulae)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [PropFormulae])

type Rep PropFormulae 
Instance details

Defined in Propositional.ATC_Propositional

type Rep PropFormulae = D1 ('MetaData "PropFormulae" "Propositional.Sublogic" "main" 'False) (C1 ('MetaCons "PlainFormula" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HornClause" 'PrefixI 'False) (U1 :: Type -> Type))

data PropSL Source #

sublogics for propositional logic

Constructors

PropSL 

Fields

Instances

Instances details
Eq PropSL Source # 
Instance details

Defined in Propositional.Sublogic

Methods

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

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

Data PropSL Source # 
Instance details

Defined in Propositional.Sublogic

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 :: forall r r'. (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 # 
Instance details

Defined in Propositional.Sublogic

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 # 
Instance details

Defined in Propositional.Sublogic

Methods

showsPrec :: Int -> PropSL -> ShowS

show :: PropSL -> String

showList :: [PropSL] -> ShowS

Generic PropSL 
Instance details

Defined in Propositional.ATC_Propositional

Associated Types

type Rep PropSL :: Type -> Type

Methods

from :: PropSL -> Rep PropSL x

to :: Rep PropSL x -> PropSL

FromJSON PropSL 
Instance details

Defined in Propositional.ATC_Propositional

Methods

parseJSON :: Value -> Parser PropSL

parseJSONList :: Value -> Parser [PropSL]

ToJSON PropSL 
Instance details

Defined in Propositional.ATC_Propositional

Methods

toJSON :: PropSL -> Value

toEncoding :: PropSL -> Encoding

toJSONList :: [PropSL] -> Value

toEncodingList :: [PropSL] -> Encoding

ShATermConvertible PropSL 
Instance details

Defined in Propositional.ATC_Propositional

Methods

toShATermAux :: ATermTable -> PropSL -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [PropSL] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, PropSL)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [PropSL])

SublogicName PropSL Source # 
Instance details

Defined in Propositional.Logic_Propositional

Methods

sublogicName :: PropSL -> String Source #

SemiLatticeWithTop PropSL Source #

Sublogics

Instance details

Defined in Propositional.Logic_Propositional

ProjectSublogicM PropSL SYMB_MAP_ITEMS Source # 
Instance details

Defined in Propositional.Logic_Propositional

ProjectSublogicM PropSL SYMB_ITEMS Source # 
Instance details

Defined in Propositional.Logic_Propositional

ProjectSublogicM PropSL FORMULA Source # 
Instance details

Defined in Propositional.Logic_Propositional

ProjectSublogicM PropSL Symbol Source # 
Instance details

Defined in Propositional.Logic_Propositional

ProjectSublogic PropSL BASIC_SPEC Source # 
Instance details

Defined in Propositional.Logic_Propositional

ProjectSublogic PropSL Sign Source # 
Instance details

Defined in Propositional.Logic_Propositional

ProjectSublogic PropSL Morphism Source # 
Instance details

Defined in Propositional.Logic_Propositional

MinSublogic PropSL SYMB_MAP_ITEMS Source # 
Instance details

Defined in Propositional.Logic_Propositional

MinSublogic PropSL SYMB_ITEMS Source # 
Instance details

Defined in Propositional.Logic_Propositional

MinSublogic PropSL FORMULA Source # 
Instance details

Defined in Propositional.Logic_Propositional

MinSublogic PropSL BASIC_SPEC Source # 
Instance details

Defined in Propositional.Logic_Propositional

MinSublogic PropSL Sign Source # 
Instance details

Defined in Propositional.Logic_Propositional

MinSublogic PropSL Morphism Source # 
Instance details

Defined in Propositional.Logic_Propositional

MinSublogic PropSL Symbol Source # 
Instance details

Defined in Propositional.Logic_Propositional

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

Instance of Logic for propositional logc

Instance details

Defined in Propositional.Logic_Propositional

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 #

sublogicOfTheo :: Propositional -> (Sign, [FORMULA]) -> PropSL 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 # 
Instance details

Defined in OWL2.Propositional2OWL2

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 # 
Instance details

Defined in Comorphisms.QBF2Prop

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 # 
Instance details

Defined in Comorphisms.Prop2QBF

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 # 
Instance details

Defined in Comorphisms.Prop2CommonLogic

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 # 
Instance details

Defined in Comorphisms.Prop2CASL

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 # 
Instance details

Defined in Comorphisms.CASL2Prop

type Rep PropSL 
Instance details

Defined in Propositional.ATC_Propositional

type Rep PropSL = D1 ('MetaData "PropSL" "Propositional.Sublogic" "main" 'False) (C1 ('MetaCons "PropSL" 'PrefixI 'True) (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PropFormulae)))

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 #