CspProver_Consts.hs revision 3d3889e0cefcdce9b3f43c53aaa201943ac2e895
81d182b21020b815887e9057959228546cf61b6bChristian MaederDescription : Isabelle Abstract syntax constants for CSP-Prover operations
62ecb1e7f8fd9573eea8369657de12c7bf9f4f25Christian MaederCopyright : (c) Andy Gimblett, Liam O'Reilly and Markus Roggenbach,
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder Swansea University 2008
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian MaederLicense : GPLv2 or higher, see LICENSE.txt
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian MaederMaintainer : csliam@swansea.ac.uk
fbb66ee3e170624835b99f7aa91980753cb5b472Christian MaederStability : provisional
f3a94a197960e548ecd6520bb768cb0d547457bbChristian MaederPortability : portable
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian MaederIsabelle Abstract syntax constants for CSP-Prover operations.
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian Maeder cspProver_skipOp,
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian Maeder cspProver_stopOp,
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian Maeder cspProver_divOp,
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian Maeder cspProver_runOp,
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian Maeder cspProver_chaosOp,
5e26bfc8d7b18cf3a3fa7b919b4450fb669f37a5Christian Maeder cspProver_action_prefixOp,
ee9eddfa6953868fd6fbaff0d9ff68675a13675aChristian Maeder cspProver_external_prefix_choiceOp,
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder cspProver_internal_prefix_choiceOp,
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder cspProver_sequenceOp,
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian Maeder cspProver_external_choiceOp,
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian Maeder cspProver_internal_choiceOp,
715ffaf874309df081d1e1cd8e05073fc1227729Christian Maeder cspProver_interleavingOp,
5e26bfc8d7b18cf3a3fa7b919b4450fb669f37a5Christian Maeder cspProver_synchronousOp,
ee9eddfa6953868fd6fbaff0d9ff68675a13675aChristian Maeder cspProver_general_parallelOp,
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian Maeder cspProver_alphabetised_parallelOp,
5e26bfc8d7b18cf3a3fa7b919b4450fb669f37a5Christian Maeder cspProver_hidingOp,
33a5d53a412ba0a4e5847f7538d6da2e22bd116cChristian Maeder cspProver_renamingOp,
715ffaf874309df081d1e1cd8e05073fc1227729Christian Maeder cspProver_conditionalOp,
e774ab5733a1d673b123b0e63b14dd533e6fd4fcChristian Maeder cspProver_chan_nondeterministic_sendOp
6e39bfd041946fce4982ac89834be73fd1bfb39aChristian Maederimport Isabelle.IsaSign as IsaSign
62ecb1e7f8fd9573eea8369657de12c7bf9f4f25Christian Maederimport Isabelle.IsaConsts (binVNameAppl, con, termAppl)
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian Maeder{- Symbols for CspProver
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian MaederThese symbols and priorities have come from the CSP-Prover source code -}
42c01284bba8d7c8d995c8dfb96ace57d28ed1bcTill Mossakowski-- SKIP primitive process symbol
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_skipS :: String
b645cf3dc1e449038ed291bbd11fcc6e02b2fc7fChristian MaedercspProver_skipS = "SKIP"
715ffaf874309df081d1e1cd8e05073fc1227729Christian Maeder-- STOP primitive process symbol
42c01284bba8d7c8d995c8dfb96ace57d28ed1bcTill MossakowskicspProver_stopS :: String
715ffaf874309df081d1e1cd8e05073fc1227729Christian MaedercspProver_stopS = "STOP"
2bf209888545860dc77b9c3f2198d00eeab30d20Christian Maeder-- DIV primitive process symbol
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_divS :: String
715ffaf874309df081d1e1cd8e05073fc1227729Christian MaedercspProver_divS = "DIV"
715ffaf874309df081d1e1cd8e05073fc1227729Christian Maeder-- RUN primitive process symbol
715ffaf874309df081d1e1cd8e05073fc1227729Christian MaedercspProver_runS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_runS = "??? RUN ??? - NOT YET DONE"
715ffaf874309df081d1e1cd8e05073fc1227729Christian Maeder-- CHAOS primitive process symbol
2a598ff0c1b7b51c33aee7029b43bc5cfcbea6b8Christian MaedercspProver_chaosS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_chaosS = "??? CHAOS ??? - NOT YET DONE"
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian Maeder-- Action prefix operator symbols
ccf3de3d66b521a260e5c22d335c64a48e3f0195Christian MaedercspProver_action_prefixS :: String
aff01ee50b66032469c232e00c945d1fd4f57d1bChristian MaedercspProver_action_prefixS = "Act_prefix"
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_action_prefixAltS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_action_prefixAltS = "(_ -> _)"
c44c23429c72f3a709e22a18f2ed6f05fc8cc765Christian MaedercspProver_action_prefixAltArgPrios :: [Int]
ccf3de3d66b521a260e5c22d335c64a48e3f0195Christian MaedercspProver_action_prefixAltArgPrios = [150, 80]
2a598ff0c1b7b51c33aee7029b43bc5cfcbea6b8Christian MaedercspProver_action_prefixAltOpPrio :: Int
2a598ff0c1b7b51c33aee7029b43bc5cfcbea6b8Christian MaedercspProver_action_prefixAltOpPrio = 80
2a598ff0c1b7b51c33aee7029b43bc5cfcbea6b8Christian Maeder-- External prefix choice operator symbols
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_external_prefix_choiceS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_external_prefix_choiceS = "Ext_pre_choice"
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_external_prefix_choiceAltS :: String
2a598ff0c1b7b51c33aee7029b43bc5cfcbea6b8Christian MaedercspProver_external_prefix_choiceAltS = "(? _:_ -> _)"
2a598ff0c1b7b51c33aee7029b43bc5cfcbea6b8Christian MaedercspProver_external_prefix_choiceAltArgPrios :: [Int]
2a598ff0c1b7b51c33aee7029b43bc5cfcbea6b8Christian MaedercspProver_external_prefix_choiceAltArgPrios = [900, 900, 80]
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_external_prefix_choiceAltOpPrio :: Int
715ffaf874309df081d1e1cd8e05073fc1227729Christian MaedercspProver_external_prefix_choiceAltOpPrio = 80
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian Maeder-- Internal prefix choice operator symbols
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian MaedercspProver_internal_prefix_choiceS :: String
3c62e6ef442caf092adcbecf6fccd957dcd72689Christian MaedercspProver_internal_prefix_choiceS = "Int_pre_choice"
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_internal_prefix_choiceAltS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_internal_prefix_choiceAltS = "(! _:_ -> _)"
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_internal_prefix_choiceAltArgPrios :: [Int]
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_internal_prefix_choiceAltArgPrios = [900, 900, 80]
715ffaf874309df081d1e1cd8e05073fc1227729Christian MaedercspProver_internal_prefix_choiceAltOpPrio :: Int
aff01ee50b66032469c232e00c945d1fd4f57d1bChristian MaedercspProver_internal_prefix_choiceAltOpPrio = 80
715ffaf874309df081d1e1cd8e05073fc1227729Christian Maeder-- Sequence combinator operator symbols
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian MaedercspProver_sequenceS :: String
62ecb1e7f8fd9573eea8369657de12c7bf9f4f25Christian MaedercspProver_sequenceS = "Seq_compo"
6e39bfd041946fce4982ac89834be73fd1bfb39aChristian MaedercspProver_sequenceAltS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_sequenceAltS = "(_ ;; _)"
f454c20b6c126bea7d31d400cc8824b9ee8cc6eaChristian MaedercspProver_sequenceAltArgPrios :: [Int]
715ffaf874309df081d1e1cd8e05073fc1227729Christian MaedercspProver_sequenceAltArgPrios = [79, 78]
0ea85310d2beb8aa03cac481ad2a6564e6b8ddbcChristian MaedercspProver_sequenceAltOpPrio :: Int
89dc77946055c0e4cb4671c4a74c3dcd55ed41a1Christian MaedercspProver_sequenceAltOpPrio = 78
36c6cc568751e4235502cfee00ba7b597dae78dcChristian Maeder-- External choice operator symbols
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_external_choiceS :: String
aff01ee50b66032469c232e00c945d1fd4f57d1bChristian MaedercspProver_external_choiceS = "Ext_choice"
836e72a3c413366ba9801726f3b249c7791cb9caChristian MaedercspProver_external_choiceAltS :: String
836e72a3c413366ba9801726f3b249c7791cb9caChristian MaedercspProver_external_choiceAltS = "( _ [+] _)"
89dc77946055c0e4cb4671c4a74c3dcd55ed41a1Christian MaedercspProver_external_choiceAltArgPrios :: [Int]
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_external_choiceAltArgPrios = [72, 73]
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_external_choiceAltOpPrio :: Int
36c6cc568751e4235502cfee00ba7b597dae78dcChristian MaedercspProver_external_choiceAltOpPrio = 72
2bf209888545860dc77b9c3f2198d00eeab30d20Christian Maeder-- Internal choice operator symbols
36c6cc568751e4235502cfee00ba7b597dae78dcChristian MaedercspProver_internal_choiceS :: String
5e26bfc8d7b18cf3a3fa7b919b4450fb669f37a5Christian MaedercspProver_internal_choiceS = "Int_choice"
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_internal_choiceAltS :: String
aff01ee50b66032469c232e00c945d1fd4f57d1bChristian MaedercspProver_internal_choiceAltS = "(_ |~| _)"
5e26bfc8d7b18cf3a3fa7b919b4450fb669f37a5Christian MaedercspProver_internal_choiceAltArgPrios :: [Int]
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian MaedercspProver_internal_choiceAltArgPrios = [64, 65]
89dc77946055c0e4cb4671c4a74c3dcd55ed41a1Christian MaedercspProver_internal_choiceAltOpPrio :: Int
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_internal_choiceAltOpPrio = 64
36c6cc568751e4235502cfee00ba7b597dae78dcChristian Maeder-- Interleaving parallel operator symbols
d48085f765fca838c1d972d2123601997174583dChristian MaedercspProver_interleavingS :: String
797f811e57952d59e73b8cd03b667eef276db972Christian MaedercspProver_interleavingS = "Interleave"
89dc77946055c0e4cb4671c4a74c3dcd55ed41a1Christian MaedercspProver_interleavingAltS :: String
aff01ee50b66032469c232e00c945d1fd4f57d1bChristian MaedercspProver_interleavingAltS = "(_ ||| _)"
3daa82a175c7cfabf22455aa77c4beda327404e4Christian MaedercspProver_interleavingAltArgPrios :: [Int]
36c6cc568751e4235502cfee00ba7b597dae78dcChristian MaedercspProver_interleavingAltArgPrios = [76, 77]
3daa82a175c7cfabf22455aa77c4beda327404e4Christian MaedercspProver_interleavingAltOpPrio :: Int
3daa82a175c7cfabf22455aa77c4beda327404e4Christian MaedercspProver_interleavingAltOpPrio = 76
3daa82a175c7cfabf22455aa77c4beda327404e4Christian Maeder-- Synchronous parallel operator symbols
36c6cc568751e4235502cfee00ba7b597dae78dcChristian MaedercspProver_synchronousS :: String
36c6cc568751e4235502cfee00ba7b597dae78dcChristian MaedercspProver_synchronousS = "Synchro"
5e26bfc8d7b18cf3a3fa7b919b4450fb669f37a5Christian MaedercspProver_synchronousAltS :: String
bbae6e6ca0de7f2ffbb44d2c8da179f2b717237fChristian MaedercspProver_synchronousAltS = "(_ || _)"
89dc77946055c0e4cb4671c4a74c3dcd55ed41a1Christian MaedercspProver_synchronousAltArgPrios :: [Int]
6e39bfd041946fce4982ac89834be73fd1bfb39aChristian MaedercspProver_synchronousAltArgPrios = [76, 77]
149e43c4a2705a86a0e5fa301ba849fdf19db32eChristian MaedercspProver_synchronousAltOpPrio :: Int
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_synchronousAltOpPrio = 76
36c6cc568751e4235502cfee00ba7b597dae78dcChristian Maeder-- Generalised parallel operator symbols
6e39bfd041946fce4982ac89834be73fd1bfb39aChristian MaedercspProver_general_parallelS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_general_parallelS = "Parallel"
89dc77946055c0e4cb4671c4a74c3dcd55ed41a1Christian MaedercspProver_general_parallelAltS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_general_parallelAltS = "(_ |[_]| _)"
304c84f22dd78f7979efd81b8fc38c8d2197ed39Christian MaedercspProver_general_parallelAltArgPrios :: [Int]
304c84f22dd78f7979efd81b8fc38c8d2197ed39Christian MaedercspProver_general_parallelAltArgPrios = [76, 0, 77]
304c84f22dd78f7979efd81b8fc38c8d2197ed39Christian MaedercspProver_general_parallelAltOpPrio :: Int
304c84f22dd78f7979efd81b8fc38c8d2197ed39Christian MaedercspProver_general_parallelAltOpPrio = 76
1d589334ba6b4a4cbfb35307a7a732261e77b0cdChristian Maeder-- Alphabetised parallel operator symbols
7de39d39bc1700cc8a9bb9df90b920aad9e18d4aChristian MaedercspProver_alphabetised_parallelS :: String
e215ca0377dc79c9bcfb105157ecc4b958bec67bChristian MaedercspProver_alphabetised_parallelS = "Alpha_parallel"
e215ca0377dc79c9bcfb105157ecc4b958bec67bChristian MaedercspProver_alphabetised_parallelAltS :: String
e215ca0377dc79c9bcfb105157ecc4b958bec67bChristian MaedercspProver_alphabetised_parallelAltS = "(_ |[_,_]| _)"
e215ca0377dc79c9bcfb105157ecc4b958bec67bChristian MaedercspProver_alphabetised_parallelAltArgPrios :: [Int]
1d589334ba6b4a4cbfb35307a7a732261e77b0cdChristian MaedercspProver_alphabetised_parallelAltArgPrios = [76, 0, 0, 77]
7de39d39bc1700cc8a9bb9df90b920aad9e18d4aChristian MaedercspProver_alphabetised_parallelAltOpPrio :: Int
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_alphabetised_parallelAltOpPrio = 76
1d589334ba6b4a4cbfb35307a7a732261e77b0cdChristian Maeder-- Hiding operator symbols
7de39d39bc1700cc8a9bb9df90b920aad9e18d4aChristian MaedercspProver_hidingS :: String
2bf209888545860dc77b9c3f2198d00eeab30d20Christian MaedercspProver_hidingS = "Hiding"
1d589334ba6b4a4cbfb35307a7a732261e77b0cdChristian MaedercspProver_hidingAltS :: String
1d589334ba6b4a4cbfb35307a7a732261e77b0cdChristian MaedercspProver_hidingAltS = "(_ -- _)"
1d589334ba6b4a4cbfb35307a7a732261e77b0cdChristian MaedercspProver_hidingAltArgPrios :: [Int]
aff01ee50b66032469c232e00c945d1fd4f57d1bChristian MaedercspProver_hidingAltArgPrios = [84, 85]
aff01ee50b66032469c232e00c945d1fd4f57d1bChristian MaedercspProver_hidingAltOpPrio :: Int