Skip to content
Read • Question • ConnectAnthony’s notes & researchReturn with a new question
Anthony’s NotesA personal field guide
From the notebook

Propositional Logic

Propositional logic, also known as sentential logic or propositional calculus, is a branch of mathematical logic that studies the logical relationships between propositions. Propositions are declarative sentences that can be either true or false, but not both. Propositional logic uses logical connectives to form compound propositions and analyze their truth values.

Key Components of Propositional Logic

  1. Propositions:

    • A proposition is a statement that can be either true or false. For example, “It is raining” is a proposition because it can be evaluated as true or false.
  2. Logical Connectives:

    • Negation (¬): If is a proposition, then ¬ (not ) is true if is false, and false if is true.
    • Conjunction (∧): ( and ) is true if both and are true, and false otherwise.
    • Disjunction (∨): ( or ) is true if at least one of or is true, and false if both are false.
    • Implication (→): (if , then ) is true if is false or is true, and false only if is true and is false.
    • Biconditional (↔): ( if and only if ) is true if both and are either true or false.
  3. Truth Tables:

    • Truth tables are used to determine the truth value of compound propositions under all possible truth values of their components. For example, the truth table for conjunction is:
  4. Logical Equivalence:

    • Two propositions are logically equivalent if they have the same truth value in every possible scenario. For example, is logically equivalent to .

Applications

Propositional logic is widely used in various fields, including:

  • Computer Science: Designing algorithms and programming languages.
  • Electrical Engineering: Designing and analyzing circuits.
  • Artificial Intelligence: Knowledge representation and reasoning.

Example

Consider the propositions:

  • : “It is raining.”
  • : “I will carry an umbrella.”

Using logical connectives, we can form the compound proposition (if it is raining, then I will carry an umbrella). The truth table for this implication is:

This table shows that is false only when is true and is false, and true otherwise.

Propositional logic provides a foundation for more complex logical systems and is essential for understanding and constructing logical arguments and reasoning processes[1][2][3][4][5].

Citations:
[1] https://www.geeksforgeeks.org/proposition-logic/
[2] https://plato.stanford.edu/entries/logic-propositional/
[3] https://brilliant.org/wiki/propositional-logic/
[4] https://www.cs.ox.ac.uk/people/michael.wooldridge/teaching/soft-eng/lect07.pdf
[5] https://www.javatpoint.com/propositional-logic-in-artificial-intelligence
[6] https://www.youtube.com/watch?v=qV4htTfow-E
[7] https://www.youtube.com/watch?v=itrXYg41-V0