Train Control Table Syntax
This page is as per EGG 1648 - Control Tables Format and Syntax. My interpretation of the syntax without may be incorrect, but seems to work fine based on the examples they provide.
What follows are the inference rules for their Control Tables Syntax, which nominally is expressions of the form 31AT. [31BT. 31CT w 202N]. [31XT. 31YT w 202R]
. I assume that we have a judgement specifying what constitutes an atom
within the syntax, i.e., what constitutes a valid 31AT
. Additionally, I arbitrarily use right-associativity, to remove ambiguity, although AND/OR are both left and right-associative, the associativity of WHEN is unknown.
An example derivation is as follows: