| Trouble viewing the formulas? You need a MathML compatible browser. |
Syntax for Propositional logic
From LogicWiki
The syntax, or grammar, of Propositional Logic determines whether a string of symbols gets to count as potentially meaningful. A symbol that counts as potentially meaningful is called a well-formed formula, or wff for short, of the language. A well-formed formula, is a formula that is potentially meaningful.
In order to specify the wffs of Propositonal Logic, we must specify two things: the vocabulary of the language, and the grammar of Propositional Logic.
Contents |
The Language of Propositional Logic
The Language of Propositional Logic:
The Syntax of Propositional Logic
The Syntax of Propositional Logic:
- Every sentence letter is a wff.
- If is a wff, then is a wff.
- If and are wffs, then is a wff.
- If and are wffs, then is a wff.
- If and are wffs, then is a wff.
- If and are wffs, then is a wff.
- No other string of symbols is a wff, unless it is the result of applications of rules 1-6.
Examples
The following strings of symbols are not wffs:
The following strings of symbols are wffs:
Some Additional Syntactic Concepts
The main connective of a non-atomic wff is the connective that governs the largest components in the wff.
Examples
In the sentence , the first is the main connective. It governs the wff , the largest component.
In the sentence , the main connective is . It governs and , whereas only governs and .
