Copyright | (c) Jonathan von Schroeder, DFKI GmbH 2010 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | <jonathan.von_schroeder@dfki.de> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Definition of morphisms for propositional logic copied to Temporal.Morphism 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.
- data Morphism = Morphism {}
- pretty :: Pretty a => a -> Doc
- idMor :: Sign -> Morphism
- isLegalMorphism :: Morphism -> Result ()
- composeMor :: Morphism -> Morphism -> Result Morphism
- inclusionMap :: Sign -> Sign -> Morphism
- mapSentence :: Morphism -> FORMULA -> Result FORMULA
- mapSentenceH :: Morphism -> FORMULA -> FORMULA
- applyMap :: Map Id Id -> Id -> Id
- applyMorphism :: Morphism -> Id -> Id
- morphismUnion :: Morphism -> Morphism -> Result Morphism
Documentation
data Morphism
The datatype for morphisms in propositional logic as maps of sets
isLegalMorphism :: Morphism -> Result ()
Determines whether a morphism is valid
composeMor :: Morphism -> Morphism -> Result Morphism
Composition of morphisms in propositional Logic
inclusionMap :: Sign -> Sign -> Morphism
Inclusion map of a subsig into a supersig
mapSentence :: Morphism -> FORMULA -> Result FORMULA
sentence translation along signature morphism here just the renaming of formulae
mapSentenceH :: Morphism -> FORMULA -> FORMULA
applyMorphism :: Morphism -> Id -> Id
Application funtion for morphisms
morphismUnion :: Morphism -> Morphism -> Result Morphism