Theory SM_Cfg
section ‹Control Flow Graph›
theory SM_Cfg
imports
SM_Syntax
"../Lib/LTS"
"../Lib/SOS_Misc_Add"
begin
text ‹
We define the control flow graph of SM, in the style of
an structural operational semantics.
›
text ‹
The edges of the CFG are labeled with actions. These are
assignments, tests, and skip.
Assignment actions come in three versions: Assignment to local variables,
assignment to global variables, and assignment to variables without
specification of a scope. These will be mapped to local or global variables,
depending on the scope.
›