2.6 KiB
| tags | ||
|---|---|---|
|
Syntax of propositional logic
Syntax of formal languages versus semantics
The syntactical study of a language is the study of the expressions of the language and the relations among them without regard to the possible interpretations or 'meaning' of these expressions.
Syntax is talking about the order and placement of propositions relative to connectives and what constitutes a well-formed expression in these terms. Semantics is about what the connectives mean, in other words: truth-functions and truth-values and not just placement and order.
Formal specification of the syntax of the language of Sentential Logic
Vocabulary
Propositions in SL are capitalised Roman letters (non-bold) with or without natural number subscripts. We may call these proposition letters. For example:
P, Q, R,... P_{1}, Q_{1}, R_{1}, ...
The connectives of SL are the five truth-functional connectives:
\lnot, \land, \lor, \rightarrow, \leftrightarrow
The punctuation marks of SL consist in the left and right parentheses:
( )
Grammar
- Every letter in a statement is a proposition.
- If
Pis a proposition then\lnot Pis a proposition. - If
PandQare propositions, thenP \land Qis a proposition - If
PandQare propositions, thenP \lor Qis a proposition - If
PandQare propositions, thenP \rightarrow Qis a proposition - If
PandQare propositions, thenP \leftrightarrow Qis a proposition - Nothing is a proposition unless it can be formed by repeated application of rules 1-6
Additional syntactic concepts
We also distinguish:
- the main connective
- immediate sentential components
- sentential components
- atomic components
These definitions provide a formal specification of the concepts of atomic and molecular propositions introduced previously.
- If
Pis an atomic proposition,Pcontains no connectives and hence does not have a main connective.Phas no immediate propositional components. - If
Pis of the form\lnot QwhereQis a proposition, then the main connective ofPis the negation symbol that occurs beforeQandQis the immediate propositional component ofP - If P is of the form:
Q \land RQ \lor RQ \rightarrow RQ \leftrightarrow R
where Q and R are propositions, then the main connective of P is the
connective that occurs between Q and R and Q and R are the immediate
propositional components of P.