Docsity

Propositional Logic, Schemes and Mind Maps of Logic

Partial preview of the text

Download Propositional Logic and more Schemes and Mind Maps Logic in PDF only on Docsity!

Propositional Logic

Jason Filippou

CMSC250 @ UMCP

05-31-

Outline

(^1) Syntax

(^2) Semantics Truth Tables Simplifying expressions

(^3) Inference Valid reasoning Basic rules of inference

Propositional Logic: Overview

We will study Propositional (and “Predicate” logic) in three (unbalanced) steps: Syntax. Semantics. Inference (or “Proof theory”).

Syntax

Syntax

Syntax

Recap

Syntax for Propositional Logic consists of: {T rue, F alse, P, ∼, ∧, ∨, (, ), ⇒, ⇔, ≡}. So what do all of these symbols mean?

Semantics

Semantics

Semantics

Propositional Symbols and Interpretation

Think of a Propositional Symbol like a binary variable with domain True, False. Anything that can be either true or false in our world can be modelled by such a symbol. E.g the symbol rain is True if it’s raining today, False otherwise. Probabilities?

Semantics Truth Tables

Truth Tables

Semantics Truth Tables

Conjunction / Disjunction

What would the truth table for conjunction and disjunction be?

Semantics Truth Tables

Conjunction / Disjunction

What would the truth table for conjunction and disjunction be?

p q p ∧ q p ∨ q F F F F F T F T T F F T T T T T

Semantics Truth Tables

Binary connectives

Implication: p q p ⇒ q F F T F T T T F F T T T

Semantics Truth Tables

Binary connectives

Implication: p q p ⇒ q F F T F T T T F F T T T Bi-conditional:

Semantics Truth Tables

Natural language examples

Let’s convert the following natural language statements to propositional logic: (^1) It’s rainy and gloomy. (^2) I will pass 250 if I study. (^3) I will pass 250 only if I study. (^4) THOU SHALT NOT PASS. (^5) All work and no play makes Jack a dull boy.

Semantics Simplifying expressions

Simplifying expressions