Hets - the Heterogeneous Tool Set

Copyright(c) Dominik Luecke Uni Bremen 2007
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerluecke@informatik.uni-bremen.de
Stabilityexperimental
Portabilityportable Definition of signatures for propositional logic Ref. Till Mossakowski, Joseph Goguen, Razvan Diaconescu, Andrzej Tarlecki. What is a Logic?. In Jean-Yves Beziau (Ed.), Logica Universalis, pp. 113-@133. Birkhaeuser. 2005.
Safe HaskellSafe

Temporal.Sign

Description

 

Synopsis

Documentation

newtype Sign Source #

Datatype for propositional Signatures Signatures are just sets

Constructors

Sign 

Fields

Instances

Eq Sign Source # 

Methods

(==) :: Sign -> Sign -> Bool

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

Ord Sign Source # 

Methods

compare :: Sign -> Sign -> Ordering

(<) :: Sign -> Sign -> Bool

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

(>) :: Sign -> Sign -> Bool

(>=) :: Sign -> Sign -> Bool

max :: Sign -> Sign -> Sign

min :: Sign -> Sign -> Sign

Show Sign Source # 

Methods

showsPrec :: Int -> Sign -> ShowS

show :: Sign -> String

showList :: [Sign] -> ShowS

Pretty Sign Source # 

Methods

pretty :: Sign -> Doc Source #

pretties :: [Sign] -> Doc 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 #

pretty :: Pretty a => a -> Doc Source #

isLegalSignature :: Sign -> Bool Source #

determines whether a signature is vaild all sets are ok, so glued to true

addToSig :: Sign -> Id -> Sign Source #

Adds an Id to the signature

unite :: Sign -> Sign -> Sign Source #

Union of signatures

emptySig :: Sign Source #

The empty signature

isSubSigOf :: Sign -> Sign -> Bool Source #

Determines if sig1 is subsignature of sig2

sigDiff :: Sign -> Sign -> Sign Source #

difference of Signatures

sigUnion :: Sign -> Sign -> Result Sign Source #

union of Signatures or do I have to care about more things here?