Difference between revisions of "Template:L machine"
From Event-B
Jump to navigationJump to searchimported>Mathieu m |
imported>Mathieu m |
||
Line 11: | Line 11: | ||
{{l_variable|v2}} | {{l_variable|v2}} | ||
{{l_invariants}} | {{l_invariants}} | ||
− | {{l_invariant|inv1|v2 | + | {{l_invariant|inv1|v2 ∈ BOOL}} |
{{l_theorems}} | {{l_theorems}} | ||
− | {{l_theorem|inv1|v2 | + | {{l_theorem|inv1|v2 ∈ BOOL}} |
+ | {{l_events}} | ||
+ | {{l_event|control}} | ||
+ | {{l_parameters}} | ||
+ | {{l_param|a}} | ||
+ | {{l_param|x|y|z}} | ||
+ | {{l_guards}} | ||
+ | {{l_guard|grd1|x ⊆ next}} | ||
+ | {{l_witnesses}} | ||
+ | {{l_witness|y|y=v}} | ||
+ | {{l_actions}} | ||
+ | {{l_action|act1|pro :∈ BOOL}} | ||
+ | {{l_end_event}} | ||
{{l_end}} | {{l_end}} | ||
Revision as of 11:28, 26 February 2009
Usage
Template use to typeset a machine name in an event-b listing.
Example
MACHINE
AntiCollide
REFINES
Safety
SEES
Network
Acyclic
VARIABLES
v1
v2
INVARIANTS
inv1 :
v2 ∈ BOOL
THEOREMS
inv1 :
v2 ∈ BOOL
EVENTS
control ≙
// not extended and no convergence
ANY
a
x
WHERE
grd1 :
x ⊆ next
WITH
y :
{{{2}}}
THEN
act1 :
pro :∈ BOOL
END
END
Template
MACHINE
{{{1}}}