Hets - the Heterogeneous Tool Set

Copyright(c) Klaus Hartke Uni Bremen 2008
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellSafe

Temporal.AS_BASIC_Temporal

Description

pretty poor abstract syntax of temporal Basic_spec, Formula, Symb_items and Symb_map_items.

Documentation

data FORMULA Source #

Constructors

Formula 

Instances

Eq FORMULA Source # 

Methods

(==) :: FORMULA -> FORMULA -> Bool

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

Data FORMULA Source # 

Methods

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

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

toConstr :: FORMULA -> Constr

dataTypeOf :: FORMULA -> DataType

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

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

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

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

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

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

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

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

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

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

Ord FORMULA Source # 

Methods

compare :: FORMULA -> FORMULA -> Ordering

(<) :: FORMULA -> FORMULA -> Bool

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

(>) :: FORMULA -> FORMULA -> Bool

(>=) :: FORMULA -> FORMULA -> Bool

max :: FORMULA -> FORMULA -> FORMULA

min :: FORMULA -> FORMULA -> FORMULA

Show FORMULA Source # 

Methods

showsPrec :: Int -> FORMULA -> ShowS

show :: FORMULA -> String

showList :: [FORMULA] -> ShowS

GetRange FORMULA Source # 
Pretty FORMULA Source # 
Sentences Temporal FORMULA Sign Morphism Symbol Source #

Instance of Sentences for temporal logic

StaticAnalysis Temporal BASIC_SPEC FORMULA () () Sign Morphism Symbol Symbol Source #

Static Analysis for propositional logic

Methods

basic_analysis :: Temporal -> Maybe ((BASIC_SPEC, Sign, GlobalAnnos) -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named FORMULA])) Source #

sen_analysis :: Temporal -> Maybe ((BASIC_SPEC, Sign, FORMULA) -> Result FORMULA) Source #

extBasicAnalysis :: Temporal -> IRI -> LibName -> BASIC_SPEC -> Sign -> GlobalAnnos -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named FORMULA]) Source #

stat_symb_map_items :: Temporal -> Sign -> Maybe Sign -> [()] -> Result (EndoMap Symbol) Source #

stat_symb_items :: Temporal -> Sign -> [()] -> Result [Symbol] Source #

convertTheory :: Temporal -> Maybe ((Sign, [Named FORMULA]) -> BASIC_SPEC) Source #

ensures_amalgamability :: Temporal -> ([CASLAmalgOpt], Gr Sign (Int, Morphism), [(Int, Morphism)], Gr String String) -> Result Amalgamates Source #

quotient_term_algebra :: Temporal -> Morphism -> [Named FORMULA] -> Result (Sign, [Named FORMULA]) Source #

signature_colimit :: Temporal -> Gr Sign (Int, Morphism) -> Result (Sign, Map Int Morphism) Source #

qualify :: Temporal -> SIMPLE_ID -> LibName -> Morphism -> Sign -> Result (Morphism, [Named FORMULA]) Source #

symbol_to_raw :: Temporal -> Symbol -> Symbol Source #

id_to_raw :: Temporal -> Id -> Symbol Source #

matches :: Temporal -> Symbol -> Symbol -> Bool Source #

empty_signature :: Temporal -> Sign Source #

add_symb_to_sign :: Temporal -> Sign -> Symbol -> Result Sign Source #

signature_union :: Temporal -> Sign -> Sign -> Result Sign Source #

signatureDiff :: Temporal -> Sign -> Sign -> Result Sign Source #

intersection :: Temporal -> Sign -> Sign -> Result Sign Source #

final_union :: Temporal -> Sign -> Sign -> Result Sign Source #

morphism_union :: Temporal -> Morphism -> Morphism -> Result Morphism Source #

is_subsig :: Temporal -> Sign -> Sign -> Bool Source #

subsig_inclusion :: Temporal -> Sign -> Sign -> Result Morphism Source #

generated_sign :: Temporal -> Set Symbol -> Sign -> Result Morphism Source #

cogenerated_sign :: Temporal -> Set Symbol -> Sign -> Result Morphism Source #

induced_from_morphism :: Temporal -> EndoMap Symbol -> Sign -> Result Morphism Source #

induced_from_to_morphism :: Temporal -> EndoMap Symbol -> ExtSign Sign Symbol -> ExtSign Sign Symbol -> Result Morphism Source #

is_transportable :: Temporal -> Morphism -> Bool Source #

is_injective :: Temporal -> Morphism -> Bool Source #

theory_to_taxonomy :: Temporal -> TaxoGraphKind -> MMiSSOntology -> Sign -> [Named FORMULA] -> Result MMiSSOntology Source #

corresp2th :: Temporal -> String -> Bool -> Sign -> Sign -> [()] -> [()] -> EndoMap Symbol -> EndoMap Symbol -> REL_REF -> Result (Sign, [Named FORMULA], Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source #

equiv2cospan :: Temporal -> Sign -> Sign -> [()] -> [()] -> Result (Sign, Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source #

extract_module :: Temporal -> [IRI] -> (Sign, [Named FORMULA]) -> Result (Sign, [Named FORMULA]) Source #

Logic Temporal () BASIC_SPEC FORMULA () () Sign Morphism Symbol Symbol () Source #

Instance of Logic for propositional logc

Methods

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

stability :: Temporal -> Stability Source #

data_logic :: Temporal -> Maybe AnyLogic Source #

top_sublogic :: Temporal -> () Source #

all_sublogics :: Temporal -> [()] Source #

bottomSublogic :: Temporal -> Maybe () Source #

sublogicDimensions :: Temporal -> [[()]] Source #

parseSublogic :: Temporal -> String -> Maybe () Source #

proj_sublogic_epsilon :: Temporal -> () -> Sign -> Morphism Source #

provers :: Temporal -> [Prover Sign FORMULA Morphism () ()] Source #

default_prover :: Temporal -> String Source #

cons_checkers :: Temporal -> [ConsChecker Sign FORMULA () Morphism ()] Source #

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

empty_proof_tree :: Temporal -> () Source #

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

omdoc_metatheory :: Temporal -> Maybe OMCD Source #

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

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

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

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

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

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

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

data BASIC_SPEC Source #

Constructors

Basic_spec 

Instances

Data BASIC_SPEC Source # 

Methods

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

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

toConstr :: BASIC_SPEC -> Constr

dataTypeOf :: BASIC_SPEC -> DataType

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

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

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

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

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

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

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

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

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

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

Show BASIC_SPEC Source # 

Methods

showsPrec :: Int -> BASIC_SPEC -> ShowS

show :: BASIC_SPEC -> String

showList :: [BASIC_SPEC] -> ShowS

GetRange BASIC_SPEC Source # 
Pretty BASIC_SPEC Source # 
Syntax Temporal BASIC_SPEC Symbol () () Source #

Syntax of Temporal logic

StaticAnalysis Temporal BASIC_SPEC FORMULA () () Sign Morphism Symbol Symbol Source #

Static Analysis for propositional logic

Methods

basic_analysis :: Temporal -> Maybe ((BASIC_SPEC, Sign, GlobalAnnos) -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named FORMULA])) Source #

sen_analysis :: Temporal -> Maybe ((BASIC_SPEC, Sign, FORMULA) -> Result FORMULA) Source #

extBasicAnalysis :: Temporal -> IRI -> LibName -> BASIC_SPEC -> Sign -> GlobalAnnos -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named FORMULA]) Source #

stat_symb_map_items :: Temporal -> Sign -> Maybe Sign -> [()] -> Result (EndoMap Symbol) Source #

stat_symb_items :: Temporal -> Sign -> [()] -> Result [Symbol] Source #

convertTheory :: Temporal -> Maybe ((Sign, [Named FORMULA]) -> BASIC_SPEC) Source #

ensures_amalgamability :: Temporal -> ([CASLAmalgOpt], Gr Sign (Int, Morphism), [(Int, Morphism)], Gr String String) -> Result Amalgamates Source #

quotient_term_algebra :: Temporal -> Morphism -> [Named FORMULA] -> Result (Sign, [Named FORMULA]) Source #

signature_colimit :: Temporal -> Gr Sign (Int, Morphism) -> Result (Sign, Map Int Morphism) Source #

qualify :: Temporal -> SIMPLE_ID -> LibName -> Morphism -> Sign -> Result (Morphism, [Named FORMULA]) Source #

symbol_to_raw :: Temporal -> Symbol -> Symbol Source #

id_to_raw :: Temporal -> Id -> Symbol Source #

matches :: Temporal -> Symbol -> Symbol -> Bool Source #

empty_signature :: Temporal -> Sign Source #

add_symb_to_sign :: Temporal -> Sign -> Symbol -> Result Sign Source #

signature_union :: Temporal -> Sign -> Sign -> Result Sign Source #

signatureDiff :: Temporal -> Sign -> Sign -> Result Sign Source #

intersection :: Temporal -> Sign -> Sign -> Result Sign Source #

final_union :: Temporal -> Sign -> Sign -> Result Sign Source #

morphism_union :: Temporal -> Morphism -> Morphism -> Result Morphism Source #

is_subsig :: Temporal -> Sign -> Sign -> Bool Source #

subsig_inclusion :: Temporal -> Sign -> Sign -> Result Morphism Source #

generated_sign :: Temporal -> Set Symbol -> Sign -> Result Morphism Source #

cogenerated_sign :: Temporal -> Set Symbol -> Sign -> Result Morphism Source #

induced_from_morphism :: Temporal -> EndoMap Symbol -> Sign -> Result Morphism Source #

induced_from_to_morphism :: Temporal -> EndoMap Symbol -> ExtSign Sign Symbol -> ExtSign Sign Symbol -> Result Morphism Source #

is_transportable :: Temporal -> Morphism -> Bool Source #

is_injective :: Temporal -> Morphism -> Bool Source #

theory_to_taxonomy :: Temporal -> TaxoGraphKind -> MMiSSOntology -> Sign -> [Named FORMULA] -> Result MMiSSOntology Source #

corresp2th :: Temporal -> String -> Bool -> Sign -> Sign -> [()] -> [()] -> EndoMap Symbol -> EndoMap Symbol -> REL_REF -> Result (Sign, [Named FORMULA], Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source #

equiv2cospan :: Temporal -> Sign -> Sign -> [()] -> [()] -> Result (Sign, Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source #

extract_module :: Temporal -> [IRI] -> (Sign, [Named FORMULA]) -> Result (Sign, [Named FORMULA]) Source #

Logic Temporal () BASIC_SPEC FORMULA () () Sign Morphism Symbol Symbol () Source #

Instance of Logic for propositional logc

Methods

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

stability :: Temporal -> Stability Source #

data_logic :: Temporal -> Maybe AnyLogic Source #

top_sublogic :: Temporal -> () Source #

all_sublogics :: Temporal -> [()] Source #

bottomSublogic :: Temporal -> Maybe () Source #

sublogicDimensions :: Temporal -> [[()]] Source #

parseSublogic :: Temporal -> String -> Maybe () Source #

proj_sublogic_epsilon :: Temporal -> () -> Sign -> Morphism Source #

provers :: Temporal -> [Prover Sign FORMULA Morphism () ()] Source #

default_prover :: Temporal -> String Source #

cons_checkers :: Temporal -> [ConsChecker Sign FORMULA () Morphism ()] Source #

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

empty_proof_tree :: Temporal -> () Source #

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

omdoc_metatheory :: Temporal -> Maybe OMCD Source #

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

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

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

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

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

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

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

data SYMB_ITEMS Source #

Constructors

Symb_items 

Instances

Eq SYMB_ITEMS Source # 

Methods

(==) :: SYMB_ITEMS -> SYMB_ITEMS -> Bool

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

Data SYMB_ITEMS Source # 

Methods

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

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

toConstr :: SYMB_ITEMS -> Constr

dataTypeOf :: SYMB_ITEMS -> DataType

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

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

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

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

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

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

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

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

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

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

Show SYMB_ITEMS Source # 

Methods

showsPrec :: Int -> SYMB_ITEMS -> ShowS

show :: SYMB_ITEMS -> String

showList :: [SYMB_ITEMS] -> ShowS

data SYMB Source #

Constructors

Symb_id 

Instances

Eq SYMB Source # 

Methods

(==) :: SYMB -> SYMB -> Bool

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

Data SYMB Source # 

Methods

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

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

toConstr :: SYMB -> Constr

dataTypeOf :: SYMB -> DataType

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

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

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

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

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

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

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

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

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

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

Show SYMB Source # 

Methods

showsPrec :: Int -> SYMB -> ShowS

show :: SYMB -> String

showList :: [SYMB] -> ShowS

data SYMB_MAP_ITEMS Source #

Constructors

Symb_map_items 

Instances

Eq SYMB_MAP_ITEMS Source # 
Data SYMB_MAP_ITEMS Source # 

Methods

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

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

toConstr :: SYMB_MAP_ITEMS -> Constr

dataTypeOf :: SYMB_MAP_ITEMS -> DataType

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

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

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

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

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

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

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

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

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

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

Show SYMB_MAP_ITEMS Source # 

Methods

showsPrec :: Int -> SYMB_MAP_ITEMS -> ShowS

show :: SYMB_MAP_ITEMS -> String

showList :: [SYMB_MAP_ITEMS] -> ShowS