You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
1.2 KiB

  1. \begin{itemize}
  2. \item $\mathcal{V}$: Defines the set of variable symbols, e.g., $x,y,z$.
  3. \item $\mathcal{F}$: Defines the set of function symbols, e.g., $f,g,h$.
  4. \item $\mathcal{P}$: Defines the set of predicate symbols, e.g., $P,Q,R$. \\
  5. \end{itemize}
  6. Terms are defined as follows:
  7. \begin{itemize}
  8. \item Any variable is a term.
  9. \item If $c \in \mathcal{F}$ is a nullary function, then $c$ is a term.
  10. \item If $t_1, t_2, \ldots t_n$ are terms and $f \in \mathcal{F}$ has arity $n > 0$, then $f(t_1, t_2, \ldots t_n)$ is a term.
  11. \item Nothing else is a term. \\
  12. \end{itemize}
  13. Formulas are defined as follows:
  14. \begin{itemize}
  15. \item If $P \in \mathcal{P}$ is a predicate with arity $n > 0$ and $t_1, t_2, \ldots t_n$ are terms over $\mathcal{F}$, then $P(t_1, t_2, \ldots t_n)$ is a formula.
  16. \item If $\phi$ is a formula, then $\lnot \phi$ is a formula.
  17. \item If $\phi$ and $\psi$ are formulas, then $(\phi \land \psi)$, $(\phi \lor \psi)$, $(\phi \imp \psi)$ are formulas.
  18. \item If $\phi$ is a formula and $x$ is a variable, then $(\forall x \phi)$ and $(\exists x \phi)$ are formulas.
  19. \item Nothing else is a formula.
  20. \end{itemize}