Trouble viewing the formulas? You need a MathML compatible browser.

Syntax for Propositional logic

From LogicWiki

Jump to: navigation, search

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: A,B,C,D,...¬,,,,,,(,)

The Syntax of Propositional Logic

The Syntax of Propositional Logic:

  1. Every sentence letter is a wff.
  2. If P is a wff, then ¬P is a wff.
  3. If P and Q are wffs, then PQ is a wff.
  4. If P and Q are wffs, then PQ is a wff.
  5. If P and Q are wffs, then PQ is a wff.
  6. If P and Q are wffs, then PQ is a wff.
  7. 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:

P Q

P RQ

PQP

¬(PQ

The following strings of symbols are wffs:

(PR)Q

(PR)Q

P(QP)

¬(PQ)

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 ¬(¬PQ), the first ¬ is the main connective. It governs the wff (¬PQ), the largest component.


In the sentence ((PQ)F), the main connective is . It governs (PQ) and F, whereas only governs P and Q.

See Also

Logical Connectives, Sentence

Personal tools