There are 5 main logical connectives.

  • Negation (NOT)
  • Conjunction (AND)
  • Disjunction (OR)
  • Implication (IMPLIES)
  • Bi-implication (IFF)

Connectives can be constructed!

With just negation and conjunction, it is possible to construct every other connective! For example, the disjunction connective can be constructed by:

Negation

The negation operator is and inverts the truth table of the original proposition, i.e. every false is true and every true is false. It is a unary operator, and only requires one input:

Truth Table
TF
FT
^truth-table-not

It is equivalent to the NOT Logic Gate.

Conjunction

Equivalent to the AND logic gate.

The conjunction operation is and is a binary operator. As the name implies, is true if both it’s operands are true, and false otherwise:

Truth Table
TTT
TFF
FTF
FFF
^truth-table-and

Disjunction

Equivalent to the OR logic gate.

The disjunction operation is and is a binary operator. As the name implies, is true if either of it’s operands are true, and false only if both operands are false:

Truth Table
TTT
TFT
FTT
FFF
^truth-table-or

Material Implication

Also called conditional

The implication operation is and is heavily used in proofs. is false only when is true and is false. This makes sense because if we define a condition and the consequence , we want it to hold that whenever our condition is true, so should our consequence. If this does not happen, there is no conditional link between and .

Note that the implication is logically equivalent to

Implication Properties

Unlike disjunction and conjunction, implication has some extra properties:

  • Non-symmetric:
  • Right-associative: When having multiple implications, we evaluate them right-to-left: should be evaluated as (so we start evaluating from the righ first)
Truth Table
TTTT
TFFT
FTTF
FFTT
^truth-table-implies
Contrapositive

The logical statements and it’s contrapositive are logically equivalent

8. Contraposition:

TTFFTT
TFTFFF
FTFTTT
FFTTTT

A proof by contrapositive uses this fact.

Vacuous Truth

If we have the implication and is known to be always false, i.e. always holds true, (see truth table above). This is known as a vacuous truth. Examples include:

  • The empty set satisfies most properties due to this.

Material Equivalence

The equivalence operator is and it means the exact same thing as iff (if and only if), also used heavily in proofs. is symmetric and is true whenever and have the same value, whether true or false.

It is logically equivalent to the conjunction of an implication and it’s symmetrical equivalent:

Truth Table
TTT
TFF
FTF
FFT
  • The operation is equivalent to the logic gate XNOR (Exclusive NOR)
  • We can show the
Chaining

If multiple logical equivalences are being chained together, we can ‘simplify’ them:

#todo