Hets - the Heterogeneous Tool Set

Copyright(c) Christian Maeder and Uni Bremen 2003-2005
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityexperimental
Portabilitynon-portable (imports Logic.Logic)
Safe HaskellNone

HasCASL.Logic_HasCASL

Contents

Description

Here is the place where the class Logic is instantiated for HasCASL. Also the instances for Syntax and Category.

Documentation

data HasCASL Source #

Constructors

HasCASL 

Instances

Show HasCASL Source # 

Methods

showsPrec :: Int -> HasCASL -> ShowS

show :: HasCASL -> String

showList :: [HasCASL] -> ShowS

Language HasCASL Source # 

Methods

language_name :: HasCASL -> String Source #

description :: HasCASL -> String Source #

Sentences HasCASL Sentence Env Morphism Symbol Source # 
Syntax HasCASL BasicSpec Symbol SymbItems SymbMapItems Source # 
StaticAnalysis HasCASL BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol Source # 

Methods

basic_analysis :: HasCASL -> Maybe ((BasicSpec, Env, GlobalAnnos) -> Result (BasicSpec, ExtSign Env Symbol, [Named Sentence])) Source #

sen_analysis :: HasCASL -> Maybe ((BasicSpec, Env, Sentence) -> Result Sentence) Source #

extBasicAnalysis :: HasCASL -> IRI -> LibName -> BasicSpec -> Env -> GlobalAnnos -> Result (BasicSpec, ExtSign Env Symbol, [Named Sentence]) Source #

stat_symb_map_items :: HasCASL -> Env -> Maybe Env -> [SymbMapItems] -> Result (EndoMap RawSymbol) Source #

stat_symb_items :: HasCASL -> Env -> [SymbItems] -> Result [RawSymbol] Source #

convertTheory :: HasCASL -> Maybe ((Env, [Named Sentence]) -> BasicSpec) Source #

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

quotient_term_algebra :: HasCASL -> Morphism -> [Named Sentence] -> Result (Env, [Named Sentence]) Source #

signature_colimit :: HasCASL -> Gr Env (Int, Morphism) -> Result (Env, Map Int Morphism) Source #

qualify :: HasCASL -> SIMPLE_ID -> LibName -> Morphism -> Env -> Result (Morphism, [Named Sentence]) Source #

symbol_to_raw :: HasCASL -> Symbol -> RawSymbol Source #

id_to_raw :: HasCASL -> Id -> RawSymbol Source #

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

empty_signature :: HasCASL -> Env Source #

add_symb_to_sign :: HasCASL -> Env -> Symbol -> Result Env Source #

signature_union :: HasCASL -> Env -> Env -> Result Env Source #

signatureDiff :: HasCASL -> Env -> Env -> Result Env Source #

intersection :: HasCASL -> Env -> Env -> Result Env Source #

final_union :: HasCASL -> Env -> Env -> Result Env Source #

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

is_subsig :: HasCASL -> Env -> Env -> Bool Source #

subsig_inclusion :: HasCASL -> Env -> Env -> Result Morphism Source #

generated_sign :: HasCASL -> Set Symbol -> Env -> Result Morphism Source #

cogenerated_sign :: HasCASL -> Set Symbol -> Env -> Result Morphism Source #

induced_from_morphism :: HasCASL -> EndoMap RawSymbol -> Env -> Result Morphism Source #

induced_from_to_morphism :: HasCASL -> EndoMap RawSymbol -> ExtSign Env Symbol -> ExtSign Env Symbol -> Result Morphism Source #

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

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

theory_to_taxonomy :: HasCASL -> TaxoGraphKind -> MMiSSOntology -> Env -> [Named Sentence] -> Result MMiSSOntology Source #

corresp2th :: HasCASL -> String -> Bool -> Env -> Env -> [SymbItems] -> [SymbItems] -> EndoMap Symbol -> EndoMap Symbol -> REL_REF -> Result (Env, [Named Sentence], Env, Env, EndoMap Symbol, EndoMap Symbol) Source #

equiv2cospan :: HasCASL -> Env -> Env -> [SymbItems] -> [SymbItems] -> Result (Env, Env, Env, EndoMap Symbol, EndoMap Symbol) Source #

extract_module :: HasCASL -> [IRI] -> (Env, [Named Sentence]) -> Result (Env, [Named Sentence]) Source #

Logic HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Source # 

Methods

parse_basic_sen :: HasCASL -> Maybe (BasicSpec -> AParser st Sentence) Source #

stability :: HasCASL -> Stability Source #

data_logic :: HasCASL -> Maybe AnyLogic Source #

top_sublogic :: HasCASL -> Sublogic Source #

all_sublogics :: HasCASL -> [Sublogic] Source #

bottomSublogic :: HasCASL -> Maybe Sublogic Source #

sublogicDimensions :: HasCASL -> [[Sublogic]] Source #

parseSublogic :: HasCASL -> String -> Maybe Sublogic Source #

proj_sublogic_epsilon :: HasCASL -> Sublogic -> Env -> Morphism Source #

provers :: HasCASL -> [Prover Env Sentence Morphism Sublogic ()] Source #

default_prover :: HasCASL -> String Source #

cons_checkers :: HasCASL -> [ConsChecker Env Sentence Sublogic Morphism ()] Source #

conservativityCheck :: HasCASL -> [ConservativityChecker Env Sentence Morphism] Source #

empty_proof_tree :: HasCASL -> () Source #

syntaxTable :: HasCASL -> Env -> Maybe SyntaxTable Source #

omdoc_metatheory :: HasCASL -> Maybe OMCD Source #

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

export_senToOmdoc :: HasCASL -> NameMap Symbol -> Sentence -> Result TCorOMElement Source #

export_theoryToOmdoc :: HasCASL -> SigMap Symbol -> Env -> [Named Sentence] -> Result [TCElement] Source #

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

omdocToSen :: HasCASL -> SigMapI Symbol -> TCElement -> String -> Result (Maybe (Named Sentence)) Source #

addOMadtToTheory :: HasCASL -> SigMapI Symbol -> (Env, [Named Sentence]) -> [[OmdADT]] -> Result (Env, [Named Sentence]) Source #

addOmdocToTheory :: HasCASL -> SigMapI Symbol -> (Env, [Named Sentence]) -> [TCElement] -> Result (Env, [Named Sentence]) Source #

Comorphism HasCASL2HasCASL HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Source # 
Comorphism HasCASL2IsabelleHOL HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Isabelle () () Sentence () () Sign IsabelleMorphism () () () Source # 
Comorphism HasCASL2PCoClTyConsHOL HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Source # 
Comorphism MonadicHasCASL2IsabelleHOL HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Isabelle () () Sentence () () Sign IsabelleMorphism () () () Source # 
Comorphism PCoClTyConsHOL2IsabelleHOL HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Isabelle () () Sentence () () Sign IsabelleMorphism () () () Source # 
Comorphism PCoClTyConsHOL2PairsInIsaHOL HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Isabelle () () Sentence () () Sign IsabelleMorphism () () () Source # 
Comorphism CASL2HasCASL CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Source # 
Comorphism ExtModal2HasCASL ExtModal ExtModalSL EM_BASIC_SPEC ExtModalFORMULA SYMB_ITEMS SYMB_MAP_ITEMS ExtModalSign ExtModalMorph Symbol RawSymbol () HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Source # 
Comorphism HasCASL2THFP_P HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () THF THFSl BasicSpecTHF THFFormula () () SignTHF MorphismTHF SymbolTHF () ProofTree Source # 
Comorphism THFP_P2HasCASL THF THFSl BasicSpecTHF THFFormula () () SignTHF MorphismTHF SymbolTHF () ProofTree HasCASL Sublogic BasicSpec Sentence SymbItems SymbMapItems Env Morphism Symbol RawSymbol () Source # 

Orphan instances

Monoid BasicSpec Source # 
SublogicName Sublogic Source # 

Methods

sublogicName :: Sublogic -> String Source #

SemiLatticeWithTop Sublogic Source # 
ProjectSublogicM Sublogic SymbMapItems Source # 
ProjectSublogicM Sublogic SymbItems Source # 
ProjectSublogicM Sublogic Symbol Source # 
ProjectSublogic Sublogic BasicSpec Source # 
ProjectSublogic Sublogic Morphism Source # 
ProjectSublogic Sublogic Env Source # 
MinSublogic Sublogic SymbMapItems Source # 
MinSublogic Sublogic SymbItems Source # 
MinSublogic Sublogic BasicSpec Source # 
MinSublogic Sublogic Symbol Source # 
MinSublogic Sublogic Morphism Source # 
MinSublogic Sublogic Env Source # 
MinSublogic Sublogic Sentence Source # 
Category Env Morphism Source #