Hets - the Heterogeneous Tool Set

Copyright(c) Karl Luc DFKI Bremen 2010 Eugen Kuksa Uni Bremen 2011
LicenseGPLv2 or higher, see LICENSE.txt
Maintainereugenk@informatik.uni-bremen.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe

CommonLogic.Symbol

Description

Definition of symbols for common logic

Synopsis

Documentation

newtype Symbol Source #

Constructors

Symbol 

Fields

Instances

Eq Symbol Source # 

Methods

(==) :: Symbol -> Symbol -> Bool

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

Ord Symbol Source # 

Methods

compare :: Symbol -> Symbol -> Ordering

(<) :: Symbol -> Symbol -> Bool

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

(>) :: Symbol -> Symbol -> Bool

(>=) :: Symbol -> Symbol -> Bool

max :: Symbol -> Symbol -> Symbol

min :: Symbol -> Symbol -> Symbol

Show Symbol Source # 

Methods

showsPrec :: Int -> Symbol -> ShowS

show :: Symbol -> String

showList :: [Symbol] -> ShowS

GetRange Symbol Source # 
Pretty Symbol Source # 
Sentences CommonLogic TEXT_META Sign Morphism Symbol Source # 
Syntax CommonLogic BASIC_SPEC Symbol SYMB_ITEMS SYMB_MAP_ITEMS Source # 
StaticAnalysis CommonLogic BASIC_SPEC TEXT_META SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol Source # 

Methods

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

sen_analysis :: CommonLogic -> Maybe ((BASIC_SPEC, Sign, TEXT_META) -> Result TEXT_META) Source #

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

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

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

convertTheory :: CommonLogic -> Maybe ((Sign, [Named TEXT_META]) -> BASIC_SPEC) Source #

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

quotient_term_algebra :: CommonLogic -> Morphism -> [Named TEXT_META] -> Result (Sign, [Named TEXT_META]) Source #

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

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

symbol_to_raw :: CommonLogic -> Symbol -> Symbol Source #

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

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

empty_signature :: CommonLogic -> Sign Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

theory_to_taxonomy :: CommonLogic -> TaxoGraphKind -> MMiSSOntology -> Sign -> [Named TEXT_META] -> Result MMiSSOntology Source #

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

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

extract_module :: CommonLogic -> [IRI] -> (Sign, [Named TEXT_META]) -> Result (Sign, [Named TEXT_META]) Source #

Logic CommonLogic CommonLogicSL BASIC_SPEC TEXT_META SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree Source # 

Methods

parse_basic_sen :: CommonLogic -> Maybe (BASIC_SPEC -> AParser st TEXT_META) Source #

stability :: CommonLogic -> Stability Source #

data_logic :: CommonLogic -> Maybe AnyLogic Source #

top_sublogic :: CommonLogic -> CommonLogicSL Source #

all_sublogics :: CommonLogic -> [CommonLogicSL] Source #

bottomSublogic :: CommonLogic -> Maybe CommonLogicSL Source #

sublogicDimensions :: CommonLogic -> [[CommonLogicSL]] Source #

parseSublogic :: CommonLogic -> String -> Maybe CommonLogicSL Source #

proj_sublogic_epsilon :: CommonLogic -> CommonLogicSL -> Sign -> Morphism Source #

provers :: CommonLogic -> [Prover Sign TEXT_META Morphism CommonLogicSL ProofTree] Source #

default_prover :: CommonLogic -> String Source #

cons_checkers :: CommonLogic -> [ConsChecker Sign TEXT_META CommonLogicSL Morphism ProofTree] Source #

conservativityCheck :: CommonLogic -> [ConservativityChecker Sign TEXT_META Morphism] Source #

empty_proof_tree :: CommonLogic -> ProofTree Source #

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

omdoc_metatheory :: CommonLogic -> Maybe OMCD Source #

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

export_senToOmdoc :: CommonLogic -> NameMap Symbol -> TEXT_META -> Result TCorOMElement Source #

export_theoryToOmdoc :: CommonLogic -> SigMap Symbol -> Sign -> [Named TEXT_META] -> Result [TCElement] Source #

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

omdocToSen :: CommonLogic -> SigMapI Symbol -> TCElement -> String -> Result (Maybe (Named TEXT_META)) Source #

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

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

Comorphism CL2CFOL CommonLogic CommonLogicSL BASIC_SPEC TEXT_META 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 CommonLogic2IsabelleHOL CommonLogic CommonLogicSL BASIC_SPEC TEXT_META SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree Isabelle () () Sentence () () Sign IsabelleMorphism () () () Source # 
Comorphism CommonLogicModuleElimination CommonLogic CommonLogicSL BASIC_SPEC TEXT_META 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 # 

Methods

sourceLogic :: CommonLogicModuleElimination -> CommonLogic Source #

sourceSublogic :: CommonLogicModuleElimination -> CommonLogicSL Source #

sourceSublogicLossy :: CommonLogicModuleElimination -> CommonLogicSL Source #

minSourceTheory :: CommonLogicModuleElimination -> Maybe (LibName, String) Source #

targetLogic :: CommonLogicModuleElimination -> CommonLogic Source #

mapSublogic :: CommonLogicModuleElimination -> CommonLogicSL -> Maybe CommonLogicSL Source #

map_theory :: CommonLogicModuleElimination -> (Sign, [Named TEXT_META]) -> Result (Sign, [Named TEXT_META]) Source #

mapMarkedTheory :: CommonLogicModuleElimination -> (Sign, [Named TEXT_META]) -> Result (Sign, [Named TEXT_META]) Source #

map_morphism :: CommonLogicModuleElimination -> Morphism -> Result Morphism Source #

map_sentence :: CommonLogicModuleElimination -> Sign -> TEXT_META -> Result TEXT_META Source #

map_symbol :: CommonLogicModuleElimination -> Sign -> Symbol -> Set Symbol Source #

extractModel :: CommonLogicModuleElimination -> Sign -> ProofTree -> Result (Sign, [Named TEXT_META]) Source #

is_model_transportable :: CommonLogicModuleElimination -> Bool Source #

has_model_expansion :: CommonLogicModuleElimination -> Bool Source #

is_weakly_amalgamable :: CommonLogicModuleElimination -> Bool Source #

constituents :: CommonLogicModuleElimination -> [String] Source #

isInclusionComorphism :: CommonLogicModuleElimination -> Bool Source #

rps :: CommonLogicModuleElimination -> Bool Source #

eps :: CommonLogicModuleElimination -> Bool Source #

Comorphism OWL22CommonLogic OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree CommonLogic CommonLogicSL BASIC_SPEC TEXT_META SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol 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 SoftFOL2CommonLogic SoftFOL () [TPTP] Sentence () () Sign SoftFOLMorphism SFSymbol () ProofTree CommonLogic CommonLogicSL BASIC_SPEC TEXT_META SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree Source # 

printSymbol :: Symbol -> Doc Source #

Pretty prints the symbol x

symOf :: Sign -> Set Symbol Source #

Converts a signature to a set of symbols

getSymbolMap :: Morphism -> Map Symbol Symbol Source #

Determines the symbol map of a morhpism

getSymbolName :: Symbol -> Id Source #

Determines the name of a symbol

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

Checks two symbols on equality

addSymbToSign :: Sign -> Symbol -> Result Sign Source #

Adds a symbol to a signature

symKind :: Symbol -> String Source #

Returns a string classifying the symbol as name or sequence marker