Rodin Keyboard User Guide: Difference between revisions
From Event-B
Jump to navigationJump to search
imported>Pascal |
imported>Pascal |
||
Line 18: | Line 18: | ||
=== Special Combos === | === Special Combos === | ||
Below are the special combos (set of ASCII characters) and their translations into the Event-B mathematical language. | Below are the special combos (set of ASCII characters) and their translations into the Event-B mathematical language. | ||
{{SimpleHeader}} | |||
{ | ! ASCII || LaTeX || Math || Meaning || Unicode | ||
|- | |- | ||
|<code>NAT</code> || \nat || <math>\nat</math> || The set of natural numbers || U+2115 | |<code>NAT</code> || \nat || <math>\nat</math> || The set of natural numbers || U+2115 | ||
Line 32: | Line 31: | ||
|<code>POW1</code> || \pown || <math>\pown</math> || The set of all non-empty subsets || U+2119 U+0031 | |<code>POW1</code> || \pown || <math>\pown</math> || The set of all non-empty subsets || U+2119 U+0031 | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code>(</code> || ( || ( || Left parenthesis || U+0028 | |<code>(</code> || ( || ( || Left parenthesis || U+0028 | ||
Line 59: | Line 59: | ||
|<code>.</code> || \qdot || <math>\qdot</math> || Middle dot || U+00B7 | |<code>.</code> || \qdot || <math>\qdot</math> || Middle dot || U+00B7 | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code>=</code> || = || = || Equal to || U+003D | |<code>=</code> || = || = || Equal to || U+003D | ||
Line 84: | Line 85: | ||
|<code>/<:</code> || \notsubseteq || <math>\not\subseteq</math> || Neither a subset of nor equal to || U+2288 | |<code>/<:</code> || \notsubseteq || <math>\not\subseteq</math> || Neither a subset of nor equal to || U+2288 | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code><-></code> || \rel || <math>\rel</math> || Relation || U+2194 | |<code><-></code> || \rel || <math>\rel</math> || Relation || U+2194 | ||
Line 107: | Line 109: | ||
|<code>>->></code> || \tbij || <math>\tbij</math> || Bijection || U+2916 | |<code>>->></code> || \tbij || <math>\tbij</math> || Bijection || U+2916 | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code>{</code> || { || { || Left curly bracket || U+007B | |<code>{</code> || { || { || Left curly bracket || U+007B | ||
Line 112: | Line 115: | ||
|<code>}</code> || } || } || Right curly bracket || U+007D | |<code>}</code> || } || } || Right curly bracket || U+007D | ||
|- | |- | ||
|<code>|-></code> || \mapsto || <math>\mapsto</math> || Maplet || U+21A6 | |<code>|-></code> || rowspan="2" | \mapsto || rowspan="2" | <math>\mapsto</math> || rowspan="2" | Maplet || rowspan="2" | U+21A6 | ||
|- | |- | ||
|<code>,,</code> | |<code>,,</code> | ||
Line 126: | Line 129: | ||
|<code>**</code> || \cprod || <math>\cprod</math> || Cartesian product || U+00D7 | |<code>**</code> || \cprod || <math>\cprod</math> || Cartesian product || U+00D7 | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code>[</code> || [ || [ || Left square bracket || U+005B | |<code>[</code> || [ || [ || Left square bracket || U+005B | ||
Line 139: | Line 143: | ||
|<code>><</code> || \dprod || <math>\dprod</math> || Direct product || U+2297 | |<code>><</code> || \dprod || <math>\dprod</math> || Direct product || U+2297 | ||
|- | |- | ||
|<code>||</code> || \pprod || <math>\pprod</math> || Parallel product || U+2225 | |<code><nowiki>||</nowiki></code> || \pprod || <math>\pprod</math> || Parallel product || U+2225 | ||
|- | |- | ||
|<code>~</code> || \conv || ~ || Tilde operator || U+223C | |<code>~</code> || \conv || ~ || Tilde operator || U+223C | ||
|- | |- | ||
|<code><|</code> || \domres || <math>\domres</math> || Domain restriction || U+25C1 | |<code><nowiki><|</nowiki></code> || \domres || <math>\domres</math> || Domain restriction || U+25C1 | ||
|- | |- | ||
|<code><<|</code> || \domsub || <math>\domsub</math> || Domain subtraction || U+2A64 | |<code><nowiki><<|</nowiki></code> || \domsub || <math>\domsub</math> || Domain subtraction || U+2A64 | ||
|- | |- | ||
|<code>|></code> || \ranres || <math>\ranres</math> || Range restriction || U+25B7 | |<code>|></code> || \ranres || <math>\ranres</math> || Range restriction || U+25B7 | ||
Line 151: | Line 155: | ||
|<code>|>></code> || \ransub || <math>\ransub</math> || Range subtraction || U+2A65 | |<code>|>></code> || \ransub || <math>\ransub</math> || Range subtraction || U+2A65 | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code>%</code> || \lambda || <math>\lambda</math> || Lambda || U+03BB | |<code>%</code> || \lambda || <math>\lambda</math> || Lambda || U+03BB | ||
Line 158: | Line 163: | ||
|<code>UNION</code> || \Union || <math>\Union</math> || N-ary union || U+22C3 | |<code>UNION</code> || \Union || <math>\Union</math> || N-ary union || U+22C3 | ||
|- | |- | ||
|<code>|</code> || \mid || <math>\mid</math> || Such that || U+2223 | |<code><nowiki>|</nowiki></code> || \mid || <math>\mid</math> || Such that || U+2223 | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code>..</code> || \upto || <math>\upto</math> || Upto sign || U+2025 | |<code>..</code> || \upto || <math>\upto</math> || Upto sign || U+2025 | ||
Line 173: | Line 179: | ||
|<code>^</code> || \expn || <math>\expn</math> || Exponentiation sign || U+005E | |<code>^</code> || \expn || <math>\expn</math> || Exponentiation sign || U+005E | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code>oftype</code> || \oftype || [[Image:oftype]] || Typing operator || U+2982 | |<code>oftype</code> || \oftype || [[Image:oftype]] || Typing operator || U+2982 | ||
|- | |- | ||
|colspan="5" | | |||
|- | |- | ||
|<code>:=</code> || \bcmeq || <math>\bcmeq</math> || Becomes equal to || U+2254 | |<code>:=</code> || \bcmeq || <math>\bcmeq</math> || Becomes equal to || U+2254 | ||
Line 181: | Line 189: | ||
|<code>::</code> || \bcmin || <math>\bcmin</math> || Becomes an element of || U+003A U+2208 | |<code>::</code> || \bcmin || <math>\bcmin</math> || Becomes an element of || U+003A U+2208 | ||
|- | |- | ||
|<code>:|</code> || \bcmsuch || <math>\bcmsuch</math> || Becomes such that || U+003A U+2223 | |<code><nowiki>:|</nowiki></code> || \bcmsuch || <math>\bcmsuch</math> || Becomes such that || U+003A U+2223 | ||
|} | |} | ||
[[Category:User documentation]] | [[Category:User documentation]] | ||
[[Category:Work in progress]] | [[Category:Work in progress]] |
Revision as of 08:51, 18 February 2010
Introduction
This short help page provides necessary information on the Rodin Keyboard plug-in and also on how to extend the plug-in.
Getting Started
Overview
The Rodin Keyboard plug-in creates a view (namely "RODIN Keyboard") under Event-B category.
You can open "RODIN Keyboard" view now:
- Go to Window/Show View/Other.
- Choose the "RODIN Keyboard" view from the Event-B category.
The view contains a text area which takes an ASCII input and translate it into the mathematical language (defined by extensions).
Special Combos
Below are the special combos (set of ASCII characters) and their translations into the Event-B mathematical language.
ASCII | LaTeX | Math | Meaning | Unicode |
---|---|---|---|---|
NAT |
\nat | The set of natural numbers | U+2115 | |
NAT1 |
\natn | The set of positive natural numbers | U+2115 U+0031 | |
INT |
\intg | The set of integer numbers | U+2124 | |
POW |
\pow | The set of all subsets (power set) | U+2119 | |
POW1 |
\pown | The set of all non-empty subsets | U+2119 U+0031 | |
( |
( | ( | Left parenthesis | U+0028 |
) |
) | ) | Right parenthesis | U+0029 |
<=> |
\leqv | Logical equivalence | U+21D4 | |
=> |
\limp | Logical implication | U+21D2 | |
& |
\land | Logical conjunction | U+2227 | |
or |
\lor | Logical disjunction | U+2228 | |
not |
\lnot | Not sign | U+00AC | |
true |
\btrue | True predicate | U+22A4 | |
false |
\bfalse | False predicate | U+22A5 | |
! |
\forall | For all | U+2200 | |
# |
\exists | There exists | U+2203 | |
, |
, | , | Comma | U+002C |
. |
\qdot | Middle dot | U+00B7 | |
= |
= | = | Equal to | U+003D |
/= |
\neq | Not equal to | U+2260 | |
< |
< | < | Less than | U+003C |
<= |
\leq | Less than or equal to | U+2264 | |
> |
> | > | Greater than | U+003E |
>= |
\geq | Greater than or equal to | U+2265 | |
: |
\in | Element of | U+2208 | |
/: |
\notin | Not an element of | U+2209 | |
<<: |
\subset | (Proper) Subset of | U+2282 | |
/<<: |
\notsubset | Not a (proper) subset of | U+2284 | |
<: |
\subseteq | Subset of or equal to | U+2286 | |
/<: |
\notsubseteq | Neither a subset of nor equal to | U+2288 | |
<-> |
\rel | Relation | U+2194 | |
<<-> |
\trel | Total relation | U+E100 | |
<->> |
\srel | Surjective relation | U+E101 | |
<<->> |
\strel | Total surjective relation | U+E102 | |
+-> |
\pfun | Partial function | U+21F8 | |
--> |
\tfun | Total function | U+2192 | |
>+> |
\pinj | Partial injection | U+2914 | |
>-> |
\tinj | Total injection | U+21A3 | |
+>> |
\psur | Partial surjection | U+2900 | |
->> |
\tsur | Total surjection | U+21A0 | |
>->> |
\tbij | Bijection | U+2916 | |
{ |
{ | { | Left curly bracket | U+007B |
} |
} | } | Right curly bracket | U+007D |
-> | \mapsto | Maplet | U+21A6 | |
,,
| ||||
{} |
\emptyset | Empty set | U+2205 | |
/\ |
\binter | Intersection | U+2229 | |
\/ |
\bunion | Union | U+222A | |
\ |
\setminus | Set minus | U+2216 | |
** |
\cprod | Cartesian product | U+00D7 | |
[ |
[ | [ | Left square bracket | U+005B |
] |
] | ] | Right square bracket | U+005D |
<+ |
\ovl | Relation overriding | U+E103 | |
circ |
\bcomp | Backward composition | U+2218 | |
; |
\fcomp | Forward composition | U+003B | |
>< |
\dprod | Direct product | U+2297 | |
|| |
\pprod | Parallel product | U+2225 | |
~ |
\conv | ~ | Tilde operator | U+223C |
<| |
\domres | Domain restriction | U+25C1 | |
<<| |
\domsub | Domain subtraction | U+2A64 | |
> | \ranres | Range restriction | U+25B7 | |
>> | \ransub | Range subtraction | U+2A65 | |
% |
\lambda | Lambda | U+03BB | |
INTER |
\Inter | N-ary intersection | U+22C2 | |
UNION |
\Union | N-ary union | U+22C3 | |
| |
\mid | Such that | U+2223 | |
.. |
\upto | Upto sign | U+2025 | |
+ |
+ | + | Addition sign | U+002B |
- |
- | - | Subtraction sign | U+2212 |
* |
* | * | Multiplication sign | U+2217 |
/ |
\div | Division sign | U+00F7 | |
^ |
\expn | Exponentiation sign | U+005E | |
oftype |
\oftype | File:Oftype | Typing operator | U+2982 |
:= |
\bcmeq | Becomes equal to | U+2254 | |
:: |
\bcmin | Becomes an element of | U+003A U+2208 | |
:| |
\bcmsuch | Becomes such that | U+003A U+2223 |