100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

College aantekeningen Representation and Interaction (SOW-BKI329)

Rating
-
Sold
1
Pages
46
Uploaded on
30-03-2021
Written in
2020/2021

Notes and summary of Part 1 of the course Representation and Interaction (SOW-BKI329) - 2021

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
March 30, 2021
Number of pages
46
Written in
2020/2021
Type
Class notes
Professor(s)
Perry groot, pablo lanillos, johan kwisthout
Contains
All classes

Subjects

Content preview

Representation and Interaction
Chantal Drijvers
March 2021


Logic and Resolution
Logic concepts
• M |=ϕ
– M satisfies ϕ
– If a formula ϕ is true under a given interpretation M
• A formula is satisfiable if there is some interpretation under which it is
true
• A formula is unsatisfiable (inconsistent) if there is no interpretation under
which it is true
• |=ϕ
– Formula is valid (tautology)
– If a formula is true in every interpretation
– for all M: M |=ϕ
• Γ |=ϕ
– Formula ϕ is entailed (logical consequence) by a conjunction of for-
mulas (theory) Γ, if for all M: M |=Γ then M |=ϕ

• w |=ϕ
– w is a model of ϕ




1

,Deduction Concepts
• Deductive system S: set of axioms and rules of inference for deriving the-
orems
• A formula ϕ can be deduced by a set of formulae Γ if ϕ can be proven
using a deduction system S, written as Γ ` sϕ
• A deductive system S is sound if

Γ ` sϕ ⇒ Γ |= ϕ

• A deductive system S is complete if

Γ |= ϕ ⇒ Γ ` sϕ

• A deductive system S is refutation-complete if

Γ |=  ⇒ Γ ` s




2

,Resolution
• Clausal form
L1 ∨ L2 ∨ · · · ∨ Ln
– Li : literal (atom or negation of atom)
– if n = 0, then it is  (empty clause)
• Complementary literals: L an L’, such that L ≡ ¬ L’
• Resolution (rule) R
C ∨ L, C 0 ∨ ¬L
D
– C, C’: clause
– D: (binary) resolvent equal to C ∨ C’
• V = {P ∨ Q ∨ ¬R, U ∨ ¬Q}, then

P ∨ Q ∨ ¬R, U ∨ ¬Q
P ∨ U ∨ ¬R
So V `R P ∨ U ∨ ¬R by applying the resolution rule R once
¬P ∨Q,¬Q ¬P ,P
• Give V = {¬P ∨ Q, ¬Q, P }, then ¬P and  so V `R 
• V `R 
– V is inconsistent
– The derivation is called a refutation
– R is sound
• V 0R 
– V is consistent
– R is refutation-complete

• Horn clause: clause with maximally one positive literal ¬A1 ∨· · ·∨¬Am ∨
B, also denoted by B ← A1 , . . . , Am




3

, First-order Logic
Syntax
• Constants: a, b, ...

• Variables: x, y, z, ...
• Functions: maps (sets of) objects to other objects, e.g., father, plus, ...
• Predicates: a function that returns either true of false: Brother-of, Bigger-
than, Has-color, ...

• Quantifiers: allow the representation of properties that hold for a collec-
tion to objects
– Existential: ∃x, ’there is an x’
– Universal: ∀x, ’for all x’

Truth
• A predicate is true if the interpretation of the predicate evaluates to ’true’
• Logical connectives are interpreted just like in propositional logic
• ∀xϕ(x) is true if ϕ is true for all variable assignments
• ∃xϕ(x) is true if ϕ is true for some variable assignments

Equivalences


¬(¬F ) ≡ F (a)
F ∨G ≡ G∨F (b)
F ∧G ≡ G∧F (c)
(F ∧ G) ∧ H ≡ F ∧ (G ∧ H) (d)
(F ∨ G) ∨ H ≡ F ∨ (G ∨ H) (e)
F ∨ (G ∧ H) ≡ (F ∨ G) ∧ (F ∨ H) (f)
F ∧ (G ∨ H) ≡ (F ∧ G) ∨ (F ∧ H) (g)
F ↔G ≡ (F → G) ∧ (G → F ) (h)
F →G ≡ ¬F ∨ G (i)
¬(F ∧ G) ≡ ¬F ∨ ¬G (j)
¬(F ∨ G) ≡ ¬ ∧ ¬G (k)
F ∧F ≡ F (l)
F ∨F ≡ F (m)

Table 1: Equivalences




4

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
chantalbanga Radboud Universiteit Nijmegen
Follow You need to be logged in order to follow users or courses
Sold
24
Member since
4 year
Number of followers
20
Documents
7
Last sold
1 year ago

3.7

3 reviews

5
0
4
2
3
1
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions