summaryrefslogtreecommitdiff
path: root/Assignment1/syntax.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Assignment1/syntax.tex')
-rw-r--r--Assignment1/syntax.tex29
1 files changed, 28 insertions, 1 deletions
diff --git a/Assignment1/syntax.tex b/Assignment1/syntax.tex
index 6fc0002..833144b 100644
--- a/Assignment1/syntax.tex
+++ b/Assignment1/syntax.tex
@@ -13,6 +13,7 @@ The $\Sop$-modality is comparable to $\Uop$: $\phi_1\Sop\phi_2$ holds if $\phi_2
and $\phi_1$ held ever after that moment up to and including the current moment.
\begin{definition}[Syntax of PLTL]
+ \label{def:syntax}
PLTL formulae over the set $AP$ of atomic propositions are formed according to the following grammar:
\[
\phi
@@ -31,10 +32,36 @@ The $\Sop$-modality is comparable to $\Uop$: $\phi_1\Sop\phi_2$ holds if $\phi_2
\end{definition}
\camil
+We additionally define $\lor, \rightarrow, \leftrightarrow, \text{false}$ using this syntax as usual.
+
The precedence order of the operators borrowed from LTL remains the same.
$\Pop$ binds equally strong as $\Xop$ and $\lnot$.
$\Sop$ takes precedence over $\Uop$, and like $\Uop$ is right-associative.
+In discourse, it can be helpful to distinguish different kinds of PLTL formulas.
+
+\begin{definition}[Well-formed PLTL formulas (following \citet{Gabbay1989})]
+ A well-formed PLTL formula (\wff) is any formula adhering to the syntax of \cref{def:syntax} (ignoring, for simplicity, parentheses).
+ Additionally, we define the classes
+ \wffn\ (pure present \wff),
+ \wfff\ (pure future \wff) and
+ \wffp\ (pure past \wff) inductively as the smallest classes conforming to the following rules:
+ \begin{itemize}
+ \item
+ Atomic propositions and $\text{true}$ are \wffn.
+ \item
+ If $\phi,\psi \in \wffn \cup \wfff$, then $\phi \Uop \psi, \Xop\phi \in \wfff$.
+ \item
+ If $\phi,\psi \in \wffn \cup \wffp$, then $\phi \Sop \psi, \Xop^{-1}\phi \in \wffp$.
+ \item
+ If $\phi,\psi \in W$, then $\lnot\phi, \phi\land\psi \in W$, for all $W \in \{\wffn,\wffp,\wfff\}$.
+ \qedhere
+ \end{itemize}
+\end{definition}
+
+Note that the classes \wffn, \wffp\ and \wfff\ are mutually disjoint.
+Furthermore, there are \wff\ which are neither, like $\Xop a \land \Xop^{-1} a$.
+
As with LTL, we can also derive additional operators in PLTL.
They can be seen as counterparts of the derived LTL modalities $\square$ and $\lozenge$:
$\square^{-1}$ (\enquote{was always}, since the beginning until now) and
@@ -126,7 +153,7 @@ The reason that dual modalities in PLTL are less useful is that we still conside
Thus, while with future modalities it is possible to look infinitely far in the future, it is not possible to look infinitely far in the past.
%TODO: Give examples of semantics along the lines of subsection 5.1.1.
-Before turning to the formal semantics in the next subsection, we provide some examples.
+Before turning to the formal semantics in the next subsection, we provide some examples of PLTL formulae and their uses.
\begin{example}[Properties for a Traffic Light]
We return to the traffic light of Example 5.4.