section ‹Trace Semantics and Annotated Configurations› text ‹ This theory defines annotated configurations and the formal definition of valid execution traces, interleaving small-step command executions with environment steps. › (* Abstract infrastructure for Rely-Guarantee, based on interactive traces (sometimes called "computations" in the literature) They factor in steps from the environment. *) theory RG_Semantics imports "../Sequential_Par_While_Language" begin (* Annotated configurations: *) (* Terminology: A configuration is a pair (c,s) where c is a command and s is a state. An "annotated configuration" is a configuration annotated with information about which kind of transition has occurred last: was it a small_step taken by the command (label S), or a transition taken by the environment (label E)? *)