Logic_Maude.hs revision e9458b1a7a19a63aa4c179f9ab20f4d50681c168
0N/AModule : ./Maude/Logic_Maude.hs
0N/ALicense : GPLv2 or higher, see LICENSE.txt
0N/APortability : non-portable (imports Logic.Logic)
0N/AInstance of class Logic for Maude. See <http://maude.cs.uiuc.edu/>
0N/Amodule Maude.Logic_Maude where
0N/Aimport Logic.Logic
2362N/Aimport Maude.AS_Maude (MaudeText (..))
2362N/Aimport Maude.Parse (mStuff)
2362N/Aimport Maude.Symbol (Symbol)
0N/Aimport Maude.Sentence (Sentence)
0N/Aimport Maude.Sign (Sign)
0N/Aimport Maude.Morphism (Morphism)
0N/Aimport qualified Maude.Symbol as Symbol
496N/Aimport qualified Maude.Sign as Sign
0N/Aimport qualified Maude.Morphism as Morphism
0N/Aimport Maude.ATC_Maude ()
0N/Aimport Maude.Shellout
0N/Aimport Common.AS_Annotation
0N/Aimport Common.ExtSign
3320N/Aimport Data.Monoid
0N/Aimport System.IO.Unsafe
0N/A " <http://maude.cs.uiuc.edu/>." ]
ide = Morphism.identity
dom = Morphism.source
cod = Morphism.target
composeMorphisms = Morphism.compose
inverse = Morphism.inverse
isInclusion = Morphism.isInclusion
legal_mor = Morphism.isLegal
map_sen Maude = Morphism.translateSentence
simplify_sen Maude = Sign.simplifySentence
sym_name Maude = Symbol.toId
sym_of Maude = singletonList . Sign.symbols
symmap_of Maude = Morphism.symbolMap
is_subsig Maude = Sign.isSubsign
empty_signature Maude = Sign.empty
signature_union Maude sign1 sign2 = return $ Sign.union sign1 sign2
intersection Maude sign1 sign2 = return $ Sign.intersection sign1 sign2
morphism_union Maude mor1 mor2 = return $ Morphism.union mor1 mor2
subsig_inclusion Maude src tgt = return $ Morphism.inclusion src tgt