Professional Documents
Culture Documents
Logic
Just like algebra is a type of formal logic that deals
with numbers, e.g. 2+4 = 6, propositional logic and
predicate calculus are forms of formal logic for dealing
with propositions. We will consider two basic logic
representation techniques:
1. Propositional Logic
2. Predicate Calculus (FOL)
Propositional logic
A proposition is the statement of a fact.
Propositional logic allows partial/disjunctive/negated
information
Propositional logic is declarative
Propositional logic is compositional:
Meaning of B P is derived from meaning of B and
1,1 1,2 1,1
of P1,2
Propositional logic is context-independent
Unlike natural language, where meaning depends on
context
Propositional logic has very limited expressive power.
Propositional logic
We usually assign a symbolic variable to represent a
proposition, e.g.
p = It is raining
q = I carry an umbrella
r = it is cloudy