Idea

Propositional logic, also known as propositional calculus, is a branch of logic that deals with propositions, which are statements that can either be true or false. It uses logical connectives such as AND, OR, NOT, IMPLIES, and EQUIVALENT to form more complex statements from simpler ones.

The primary concern in propositional logic is the truth value of these propositions and how they can be combined and manipulated to form valid logical arguments and proofs

The most powerful tool to deal with propositional logic is Boolean logic

Propositions

Definition

A proposition is a declarative sentence (that is, a sentence that declares a fact) that is either true or false

We uses letters to denote propositional variables (or sentential variables), that is, variables that represent propositions, and the usually adopted variables are

The truth value of a proposition is true, denoted by T, if it is a true proposition; and the truth value of a proposition is false, denoted by F, if it is a false proposition

Operators

See Boolean logic operators, quoted as the followings:

  • , negation, not
  • , conjunction, and
  • , disjunction, or
  • , exclusive or, xor
  • , material implication (conditional statement)
  • , bi-conditional statement

Conditional Statement

The statement is called a conditional statement because asserts that is true on the condition that holds. A conditional statement is also called an implication.

Tip

Conditional statement does not represent causal relationships, since can be true whenever is a false proposition, and in this condition and have no causal relationship

The proposition is called the converse of . The contrapositive of is the proposition . The proposition is called the inverse of

The contrapositive of a conditional statement always has the same truth value as

When two compound propositions always have the same truth values, regardless of the truth values of its propositional values, we call them equivalent

Precedence of Logical Operators

  1. Precedence :
  2. Precedence :
  3. Precedence :
  4. Precedence :
  5. Precedence :