Changeset 12811
- Timestamp:
- 09.11.2009 18:34:06 (4 months ago)
- Location:
- trunk/CspCASLProver
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/CspCASLProver/Consts.hs
r12792 r12811 68 68 import Isabelle.IsaConsts (binVNameAppl, conDouble, mkFunType, termAppl) 69 69 import Isabelle.IsaSign (BaseSig(..), Term, Typ(..), VName(..)) 70 import Isabelle.Translate(showIsaTypeT )70 import Isabelle.Translate(showIsaTypeT, transString) 71 71 72 72 -- | Name for the CspCASLProver's Alphabet … … 110 110 -- | Convert a SORT to a string 111 111 convertSort2String :: SORT -> String 112 convertSort2String s = showIsaTypeT s Main_thy112 convertSort2String s = transString $ showIsaTypeT s Main_thy 113 113 114 114 -- | Convert a process name to a string -
trunk/CspCASLProver/Utils.hs
r12792 r12811 60 60 import Isabelle.IsaConsts 61 61 import Isabelle.IsaSign 62 import Isabelle.Translate(transString) 62 63 63 64 ------------------------------------------------------------------------- … … 784 785 getCollectionEmbInjAx :: [(SORT,SORT)] -> [String] 785 786 getCollectionEmbInjAx sortRel = 786 let mkName (s,s') = mkEmbInjName s s'787 let mkName (s,s') = transString $ mkEmbInjName s s' 787 788 in map mkName sortRel 788 789 789 790 -- | Return the list of strings of all ga_notDefBottom axioms. 790 791 getCollectionNotDefBotAx :: [SORT] -> [String] 791 getCollectionNotDefBotAx = map mkNotDefBotAxiomName792 getCollectionNotDefBotAx = map $ transString . mkNotDefBotAxiomName 792 793 793 794 -- | Return the list of string of all decomposition theorem names that we … … 825 826 (Set.member s' $ CASLSign.supersortsOf s caslSign) && 826 827 (Set.member s'' $ CASLSign.supersortsOf s' caslSign) && (s /= s'') 827 in [ mkTransAxiomName s s' s''828 in [transString $ mkTransAxiomName s s' s'' 828 829 | s <- sorts, s' <- sorts, s'' <- sorts, allSupers s s' s''] 829 830 … … 835 836 isomorphic s s' = (Set.member s $ CASLSign.supersortsOf s' caslSign) && 836 837 (Set.member s' $ CASLSign.supersortsOf s caslSign) 837 in [mkIdAxiomName s s' | s <- sorts, s' <- sorts, isomorphic s s'] 838 in [transString $ mkIdAxiomName s s' 839 | s <- sorts, s' <- sorts, isomorphic s s']