Professional Documents
Culture Documents
Representation
LOGIC
Knowledge representation
If q -> p
• If p, then q
Ex: “If I study Hard, then I will pass .”
• P if and only if q
Composite sentences:
Relations
Functions
Symbols
Symbols
function symbols:
write in uncapitalized mixed case (e.g., bestFriend)
predicate symbols:
write in capitalized mixed case, (e.g., OlderThan)
Arity: a nonnegative integer indicating how many “arguments” of nonlogical
symbols
Constants : function of arity 0
Propositional: Predicate of arity 0
Atomic sentences: