Difference between pages "User:Mathieu/Test" and "Template:L event"

From Event-B
< User:Mathieu(Difference between pages)
Jump to navigationJump to search
imported>Mathieu
m
 
imported>Mathieu
m (New page: <noinclude> ==Usage== Template use to typeset an event name in an event-b listing. ==Example== {{l_machine|AntiCollide}} {{l_refines|Safety}} {{l_sees|Network}} {{l_component|Acyclic}} {{...)
 
Line 1: Line 1:
<center>
+
<noinclude>
{|
+
==Usage==
|<math>(-E)*\ldots*(-F)\;==\; E*\ldots*F  </math> (if an even number of -)
+
Template use to typeset an event name in an event-b listing.
|-
+
==Example==
|<math>(-E)*\ldots*(-F)\;==\; -\,(E*\ldots*F)  </math> (if an odd number of -)
 
|}
 
  
<math>
+
{{l_machine|AntiCollide}}
\frac{\ }{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}  
+
{{l_refines|Safety}}
</math>
+
{{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|y=v}}
 +
{{l_actions}}
 +
{{l_action|act1|pro :∈ BOOL}}
 +
{{l_end_event}}
 +
{{l_end}}
  
{|
+
[[Category:Listing templates]]
|<math>\frac{X}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>  
+
==Template==
| HYP
+
</noinclude><!--
|}
+
--><div class="typeset-l_event" >{{{1}}}&nbsp;</div>{{comment|{{{2|not extended}}} and {{3|no convergence}}}}
 
 
{{InfRule|HYP|<math>\frac{}{\textbf{H},\textbf{P} \;\;\vdash \;\; \textbf{P}}</math>}}
 
</center>
 
 
 
==Main page tests==
 

Revision as of 13:42, 26 February 2009

Usage

Template use to typeset an event 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 ≙
Template:Comment

ANY

a

x

WHERE

grd1 :
x ⊆ next

WITH

y :
{{{2}}}

THEN

act1 :
pro :∈ BOOL

END

END

Template

{{{1}}} ≙

Template:Comment