Difference between revisions of "Template:L machine"

From Event-B
Jump to navigationJump to search
imported>Mathieu
m
imported>Mathieu
m
(6 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|CDV|Acyclic}}
+
{{l_sees|Network}}
{{l_Variables|v1|v2|v3}}
+
{{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}}
 +
{{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}}
  
 
[[Category:Listing templates]]
 
[[Category:Listing templates]]
 
==Template==
 
==Template==
 
</noinclude><!--
 
</noinclude><!--
--><p class="typeset-l_clause" style="display:inline;font-family:monospace;color:red;font-weight:bold;">MACHINE</p>
+
-->
<p class="typeset-l_component" style="display:inline;font-family:monospace;color:black;font-weight:bold;margin-left:1em">{{{1}}}</p>
+
<div class="typeset-listing">
 +
<p class="typeset-l_clause" >MACHINE</p>
 +
<p class="typeset-l_component" >{{{1}}}</p>

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}}}