Hets - the Heterogeneous Tool Set
Copyright(c) Martin Kuehl Uni Bremen 2008-2009
LicenseGPLv2 or higher, see LICENSE.txt
Maintainermkhl@informatik.uni-bremen.de
Stabilityexperimental
Portabilityportable
Safe HaskellNone

Maude.Sign

Description

Definition of signatures for Maude.

Synopsis

Types

The Signature type

data Sign Source #

The Signature of a Maude Module.

Constructors

Sign 

Fields

Instances

Instances details
Eq Sign Source # 
Instance details

Defined in Maude.Sign

Methods

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

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

Ord Sign Source # 
Instance details

Defined in Maude.Sign

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 # 
Instance details

Defined in Maude.Sign

Methods

showsPrec :: Int -> Sign -> ShowS

show :: Sign -> String

showList :: [Sign] -> ShowS

Generic Sign 
Instance details

Defined in Maude.ATC_Maude

Associated Types

type Rep Sign :: Type -> Type

Methods

from :: Sign -> Rep Sign x

to :: Rep Sign x -> Sign

FromJSON Sign 
Instance details

Defined in Maude.ATC_Maude

Methods

parseJSON :: Value -> Parser Sign

parseJSONList :: Value -> Parser [Sign]

ToJSON Sign 
Instance details

Defined in Maude.ATC_Maude

Methods

toJSON :: Sign -> Value

toEncoding :: Sign -> Encoding

toJSONList :: [Sign] -> Value

toEncodingList :: [Sign] -> Encoding

ShATermConvertible Sign 
Instance details

Defined in Maude.ATC_Maude

Methods

toShATermAux :: ATermTable -> Sign -> IO (ATermTable, Int)

toShATermList' :: ATermTable -> [Sign] -> IO (ATermTable, Int)

fromShATermAux :: Int -> ATermTable -> (ATermTable, Sign)

fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sign])

Pretty Sign Source # 
Instance details

Defined in Maude.Sign

Methods

pretty :: Sign -> Doc Source #

pretties :: [Sign] -> Doc Source #

HasSorts Sign Source # 
Instance details

Defined in Maude.Sign

HasOps Sign Source # 
Instance details

Defined in Maude.Sign

HasLabels Sign Source # 
Instance details

Defined in Maude.Sign

Category Sign Morphism Source #

Instance of Category for Maude

Instance details

Defined in Maude.Logic_Maude

Sentences Maude Sentence Sign Morphism Symbol Source #

Instance of Sentences for Maude

Instance details

Defined in Maude.Logic_Maude

StaticAnalysis Maude MaudeText Sentence () () Sign Morphism Symbol Symbol Source #

Instance of StaticAnalysis for Maude

Instance details

Defined in Maude.Logic_Maude

Methods

basic_analysis :: Maude -> Maybe ((MaudeText, Sign, GlobalAnnos) -> Result (MaudeText, ExtSign Sign Symbol, [Named Sentence])) Source #

sen_analysis :: Maude -> Maybe ((MaudeText, Sign, Sentence) -> Result Sentence) Source #

extBasicAnalysis :: Maude -> IRI -> LibName -> MaudeText -> Sign -> GlobalAnnos -> Result (MaudeText, ExtSign Sign Symbol, [Named Sentence]) Source #

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

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

convertTheory :: Maude -> Maybe ((Sign, [Named Sentence]) -> MaudeText) Source #

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

quotient_term_algebra :: Maude -> Morphism -> [Named Sentence] -> Result (Sign, [Named Sentence]) Source #

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

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

symbol_to_raw :: Maude -> Symbol -> Symbol Source #

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

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

empty_signature :: Maude -> Sign Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

theory_to_taxonomy :: Maude -> TaxoGraphKind -> MMiSSOntology -> Sign -> [Named Sentence] -> Result MMiSSOntology Source #

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

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

extract_module :: Maude -> [IRI] -> (Sign, [Named Sentence]) -> Result (Sign, [Named Sentence]) Source #

LogicalFramework Maude () MaudeText Sentence () () Sign Morphism Symbol Symbol () Source # 
Instance details

Defined in Maude.Logic_Maude

Methods

base_sig :: Maude -> Sign Source #

write_logic :: Maude -> String -> String Source #

write_syntax :: Maude -> String -> Morphism -> String Source #

write_proof :: Maude -> String -> Morphism -> String Source #

write_model :: Maude -> String -> Morphism -> String Source #

read_morphism :: Maude -> FilePath -> Morphism Source #

write_comorphism :: Maude -> String -> String -> String -> Morphism -> Morphism -> Morphism -> String Source #

Logic Maude () MaudeText Sentence () () Sign Morphism Symbol Symbol () Source #

Instance of Logic for Maude

Instance details

Defined in Maude.Logic_Maude

Methods

parse_basic_sen :: Maude -> Maybe (MaudeText -> AParser st Sentence) Source #

stability :: Maude -> Stability Source #

data_logic :: Maude -> Maybe AnyLogic Source #

top_sublogic :: Maude -> () Source #

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

bottomSublogic :: Maude -> Maybe () Source #

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

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

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

provers :: Maude -> [Prover Sign Sentence Morphism () ()] Source #

default_prover :: Maude -> String Source #

cons_checkers :: Maude -> [ConsChecker Sign Sentence () Morphism ()] Source #

conservativityCheck :: Maude -> [ConservativityChecker Sign Sentence Morphism] Source #

empty_proof_tree :: Maude -> () Source #

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

omdoc_metatheory :: Maude -> Maybe OMCD Source #

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

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

export_theoryToOmdoc :: Maude -> SigMap Symbol -> Sign -> [Named Sentence] -> Result [TCElement] Source #

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

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

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

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

sublogicOfTheo :: Maude -> (Sign, [Sentence]) -> () Source #

Comorphism Maude2CASL Maude () MaudeText Sentence () () Sign Morphism Symbol Symbol () CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree Source # 
Instance details

Defined in Comorphisms.Maude2CASL

type Rep Sign 
Instance details

Defined in Maude.ATC_Maude

type Rep Sign

Auxiliary types

type OpDecl = (Set Symbol, [Attr]) Source #

Construction

fromSpec :: Module -> Sign Source #

Extract the Signature from the given Module.

empty :: Sign Source #

The empty Signature.

Combination

union :: Sign -> Sign -> Sign Source #

The union of two Signatures.

intersection :: Sign -> Sign -> Sign Source #

The intersection of two Signatures.

Conversion

symbols :: Sign -> SymbolSet Source #

Extract the Set of all Symbols from a Signature.

Testing

isLegal :: Sign -> Bool Source #

True iff the argument is a legal Signature.

isSubsign :: Sign -> Sign -> Bool Source #

True iff the first argument is a subsignature of the second.

Modification

simplifySentence :: Sign -> Sentence -> Sentence Source #

Simplification of sentences (leave out qualifications)

renameSort :: Symbol -> Symbol -> Sign -> Sign Source #

Rename the given Sort in the given Signature.

renameLabel :: Symbol -> Symbol -> Sign -> Sign Source #

Rename the given Label in the given Signature.

renameOp :: Symbol -> Symbol -> [Attr] -> Sign -> Sign Source #

Rename the given Operator in the given Signature.

Inline printing

Orphan instances