Hets - the Heterogeneous Tool Set

Copyright(c) Kristina Sojakova DFKI Bremen 2009
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerk.sojakova@jacobs-university.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe

DFOL.AS_DFOL

Description

 

Documentation

type DECL = ([NAME], TYPE) Source #

type SDECL = (NAME, TYPE) Source #

data BASIC_SPEC Source #

Constructors

Basic_spec [Annoted BASIC_ITEM] 

Instances

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 DFOL BASIC_SPEC Symbol SYMB_ITEMS SYMB_MAP_ITEMS Source # 
StaticAnalysis DFOL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol Source # 

Methods

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

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

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

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

stat_symb_items :: DFOL -> Sign -> [SYMB_ITEMS] -> Result [Symbol] Source #

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

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

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

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

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

symbol_to_raw :: DFOL -> Symbol -> Symbol Source #

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

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

empty_signature :: DFOL -> Sign Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Logic DFOL () BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol () Source # 

Methods

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

stability :: DFOL -> Stability Source #

data_logic :: DFOL -> Maybe AnyLogic Source #

top_sublogic :: DFOL -> () Source #

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

bottomSublogic :: DFOL -> Maybe () Source #

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

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

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

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

default_prover :: DFOL -> String Source #

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

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

empty_proof_tree :: DFOL -> () Source #

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

omdoc_metatheory :: DFOL -> Maybe OMCD Source #

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

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

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

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

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

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

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

Comorphism DFOL2CASL DFOL () BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol () CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree Source # 

data BASIC_ITEM Source #

Instances

Show BASIC_ITEM Source # 

Methods

showsPrec :: Int -> BASIC_ITEM -> ShowS

show :: BASIC_ITEM -> String

showList :: [BASIC_ITEM] -> ShowS

Pretty BASIC_ITEM Source # 

data TYPE Source #

Constructors

Sort 
Form 
Univ TERM 
Func [TYPE] TYPE 
Pi [DECL] TYPE 

Instances

Eq TYPE Source # 

Methods

(==) :: TYPE -> TYPE -> Bool

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

Data TYPE Source # 

Methods

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

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

toConstr :: TYPE -> Constr

dataTypeOf :: TYPE -> DataType

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

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

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

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

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

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

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

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

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

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

Ord TYPE Source # 

Methods

compare :: TYPE -> TYPE -> Ordering

(<) :: TYPE -> TYPE -> Bool

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

(>) :: TYPE -> TYPE -> Bool

(>=) :: TYPE -> TYPE -> Bool

max :: TYPE -> TYPE -> TYPE

min :: TYPE -> TYPE -> TYPE

Show TYPE Source # 

Methods

showsPrec :: Int -> TYPE -> ShowS

show :: TYPE -> String

showList :: [TYPE] -> ShowS

Pretty TYPE Source # 

Methods

pretty :: TYPE -> Doc Source #

pretties :: [TYPE] -> Doc Source #

Translatable TYPE Source # 

Methods

translate :: Map NAME TERM -> Set NAME -> TYPE -> TYPE Source #

data TERM Source #

Constructors

Identifier NAME 
Appl TERM [TERM] 

Instances

Eq TERM Source # 

Methods

(==) :: TERM -> TERM -> Bool

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

Data TERM Source # 

Methods

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

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

toConstr :: TERM -> Constr

dataTypeOf :: TERM -> DataType

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

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

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

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

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

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

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

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

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

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

Ord TERM Source # 

Methods

compare :: TERM -> TERM -> Ordering

(<) :: TERM -> TERM -> Bool

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

(>) :: TERM -> TERM -> Bool

(>=) :: TERM -> TERM -> Bool

max :: TERM -> TERM -> TERM

min :: TERM -> TERM -> TERM

Show TERM Source # 

Methods

showsPrec :: Int -> TERM -> ShowS

show :: TERM -> String

showList :: [TERM] -> ShowS

Pretty TERM Source # 

Methods

pretty :: TERM -> Doc Source #

pretties :: [TERM] -> Doc Source #

Translatable TERM Source # 

Methods

translate :: Map NAME TERM -> Set NAME -> TERM -> TERM Source #

data FORMULA Source #

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 # 
Translatable FORMULA Source # 

Methods

translate :: Map NAME TERM -> Set NAME -> FORMULA -> FORMULA Source #

Sentences DFOL FORMULA Sign Morphism Symbol Source # 
StaticAnalysis DFOL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol Source # 

Methods

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

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

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

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

stat_symb_items :: DFOL -> Sign -> [SYMB_ITEMS] -> Result [Symbol] Source #

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

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

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

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

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

symbol_to_raw :: DFOL -> Symbol -> Symbol Source #

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

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

empty_signature :: DFOL -> Sign Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Logic DFOL () BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol () Source # 

Methods

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

stability :: DFOL -> Stability Source #

data_logic :: DFOL -> Maybe AnyLogic Source #

top_sublogic :: DFOL -> () Source #

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

bottomSublogic :: DFOL -> Maybe () Source #

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

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

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

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

default_prover :: DFOL -> String Source #

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

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

empty_proof_tree :: DFOL -> () Source #

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

omdoc_metatheory :: DFOL -> Maybe OMCD Source #

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

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

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

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

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

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

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

Comorphism DFOL2CASL DFOL () BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol () CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree Source # 

type SYMB = NAME Source #

data SYMB_ITEMS Source #

Constructors

Symb_items [SYMB] 

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

Pretty SYMB_ITEMS Source # 
Syntax DFOL BASIC_SPEC Symbol SYMB_ITEMS SYMB_MAP_ITEMS Source # 
StaticAnalysis DFOL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol Source # 

Methods

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

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

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

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

stat_symb_items :: DFOL -> Sign -> [SYMB_ITEMS] -> Result [Symbol] Source #

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

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

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

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

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

symbol_to_raw :: DFOL -> Symbol -> Symbol Source #

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

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

empty_signature :: DFOL -> Sign Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Logic DFOL () BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol () Source # 

Methods

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

stability :: DFOL -> Stability Source #

data_logic :: DFOL -> Maybe AnyLogic Source #

top_sublogic :: DFOL -> () Source #

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

bottomSublogic :: DFOL -> Maybe () Source #

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

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

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

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

default_prover :: DFOL -> String Source #

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

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

empty_proof_tree :: DFOL -> () Source #

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

omdoc_metatheory :: DFOL -> Maybe OMCD Source #

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

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

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

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

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

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

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

Comorphism DFOL2CASL DFOL () BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol () CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree Source # 

data SYMB_MAP_ITEMS Source #

Constructors

Symb_map_items [SYMB_OR_MAP] 

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

Pretty SYMB_MAP_ITEMS Source # 
Syntax DFOL BASIC_SPEC Symbol SYMB_ITEMS SYMB_MAP_ITEMS Source # 
StaticAnalysis DFOL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol Source # 

Methods

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

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

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

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

stat_symb_items :: DFOL -> Sign -> [SYMB_ITEMS] -> Result [Symbol] Source #

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

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

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

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

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

symbol_to_raw :: DFOL -> Symbol -> Symbol Source #

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

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

empty_signature :: DFOL -> Sign Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Logic DFOL () BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol () Source # 

Methods

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

stability :: DFOL -> Stability Source #

data_logic :: DFOL -> Maybe AnyLogic Source #

top_sublogic :: DFOL -> () Source #

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

bottomSublogic :: DFOL -> Maybe () Source #

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

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

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

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

default_prover :: DFOL -> String Source #

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

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

empty_proof_tree :: DFOL -> () Source #

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

omdoc_metatheory :: DFOL -> Maybe OMCD Source #

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

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

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

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

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

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

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

Comorphism DFOL2CASL DFOL () BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol () CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree Source # 

data SYMB_OR_MAP Source #

Constructors

Symb SYMB 
Symb_map SYMB SYMB 

Instances

Eq SYMB_OR_MAP Source # 

Methods

(==) :: SYMB_OR_MAP -> SYMB_OR_MAP -> Bool

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

Data SYMB_OR_MAP Source # 

Methods

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

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

toConstr :: SYMB_OR_MAP -> Constr

dataTypeOf :: SYMB_OR_MAP -> DataType

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

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

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

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

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

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

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

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

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

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

Show SYMB_OR_MAP Source # 

Methods

showsPrec :: Int -> SYMB_OR_MAP -> ShowS

show :: SYMB_OR_MAP -> String

showList :: [SYMB_OR_MAP] -> ShowS

Pretty SYMB_OR_MAP Source # 

class Translatable a where Source #

Minimal complete definition

translate

Methods

translate :: Map NAME TERM -> Set NAME -> a -> a Source #

Instances