Template:L machine: Difference between revisions
From Event-B
Jump to navigationJump to search
imported>Mathieu m New page: <noinclude> ==Usage== Template use to typeset a machine name. ==Example== {{l_machine|AntiCollide}} {{l_refines|Safety}} {{l_sees|Network|CDV|Acyclic}} {{l_Variables|v1|v2|v3}} [[Categor... |
imported>Mathieu mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
Template use to typeset a machine name. | Template use to typeset a machine name in an event-b listing. | ||
==Example== | ==Example== | ||
{{l_machine|AntiCollide}} | {{l_machine|AntiCollide}} | ||
{{l_refines|Safety}} | {{l_refines|Safety}} | ||
{{l_sees|Network | {{l_sees|Network}} | ||
{{ | {{l_component|Acyclic}} | ||
{{l_variables|v1}} | |||
{{l_variable|v2}} | |||
{{l_invariants}} | |||
{{l_invariant|inv1|v2 ∈ BOOL}} | |||
{{l_theorems}} | |||
{{l_theorem|inv1|v2 ∈ BOOL}} | |||
{{l_events}} | |||
{{l_event|control|extended|ordinary}} | |||
{{l_parameters}} | |||
{{l_param|a}} | |||
{{l_param|x|y|z}} | |||
{{l_guards}} | |||
{{l_guard|grd1|x ⊆ next}} | |||
{{l_witnesses}} | |||
{{l_witness|y|2=y=v}} | |||
{{l_actions}} | |||
{{l_action|act1|pro :∈ BOOL}} | |||
{{l_end_event}} | |||
{{l_end}} | |||
[[Category:Listing templates]] | [[Category:Listing templates]] | ||
==Template== | ==Template== | ||
</noinclude><!-- | </noinclude><!-- | ||
--><div class="typeset- | --> | ||
< | <div class="typeset-listing"> | ||
<p class="typeset-l_clause" >MACHINE</p> | |||
<p class="typeset-l_component" >{{{1}}}</p> |
Latest revision as of 14:21, 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 ≙
// extended and ordinary
ANY
a
x
WHERE
grd1 :
x ⊆ next
WITH
y :
y=v
THEN
act1 :
pro :∈ BOOL
END
END
Template
MACHINE
{{{1}}}