First Order Logic Flashcards

1
Q

What are properties of Expressive Logic?

A

It is declarative: Separation between knowledge and control
It is expressive: Ability to handle unknown information or partially-known information
It is compositional: The meaning of a sentence is a function of the meaning of its parts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the shortcomings of propositional logic?

A

Verbosity: Stating simple facts often requires listing a large number of propositions.
Low expressiveness: Many facts cannot be expressed by propositional logic in a meaningful way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a first-order interpretation?

A

A tuple:
(D, R1, R2, …, Rk, f1, …, fl)
- D is a set of elements and is called the domain.
- Each Ri is a relation or predicate defined on D
- Each f is a function defined on D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a bounded variable?

A

A variable occuring in a formula if it is within scope of some sub-formula. If a variable is not bounded, then it is called a free variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Satisfaction Relation?

A

Lets have w be a sentence and I be an interpretation. We inductively define the satisfaction relation in such a way that satisfies w, written I |= q, if w is true according to the interpretation I.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a first-order knowledge base?

A

A set of first-order sentences in some signature. To define a model of FO-KB, we make the following two assumptions:
1. Closed-world assumption: if any atomic sentence is not to be known or shown to be true, then it is false.
2. Domain-closure assumption: In a model of the KB, all elements fo the domain appear as ground terms that can be expressed using constants.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an axiom?

A

The basic factual information from which useful conclusions can be derived.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a theorem?

A

Theorems are factual information derived from the axioms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the inference problem?

A

It takes as input a KB and a formula w, and outputs whether KB |= w.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is grounding?

A
  1. Instantiate variable with constants
  2. This turns a sentence into a proposition
  3. Then use methods for propositional logic to carry out inference.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is lifting?

A
  1. Inference is directly applied to first-order logic formulas
  2. Generalise propositional methods to first-order logic
  3. Unification is an important task here.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the aim of grounding?

A

To reduce first-order logic inference task to propositional logic inference task.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the method of grounding?

A

Turn first-order logic sentences into equivalent propositions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the terminology of grounding?

A

A substitution is of the form x/t where x is a variable and t is a term.
For a set S of substitutions and formula x, we use subset to denote the formula obtained by applying substitutions in S and w.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the observations of grounding?

A

A sentence without any quantifier is essentially a proposition.
We need existential sentences of the form Ex: w(x) and universal sentences of the form Vx:w(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is existential instantiation?

A

From Ex: w(x), derive w(c), where c is a new constant symbol, called the Skolem constant and c is not the original signature.

17
Q

What is universal instantiation?

A

From Vx: w(x) derive w(t) where t is any ground term.
Applying universal instantiation produces a sentence that is only an instance of the universal sentence.

18
Q

What is Herbrand’s theorem?

A

If a sentence w is entailed by a first-order KB, then is is entailed by a finite subset of KB.
We may thus perform inference by propositionalisation:
1. Apply grounding rules to introduce propositions to KB.
2. Apply proposition logic inference
3. If a proof to w is not found, repeat to generate more propositions.

19
Q

What is the undecidability theorem?

A

First-order inference is undecidable.
- If the search finds a proof, then the sentence w is indeed true
- But no algorithm exists that decides whether w is true or not.

20
Q

What are the shortcomings of propositionalization?

A

It generates too many sentences, resulting in a very large propositional knowledge base for inference.
We need to only generate relevant sentences. This will allow us to do inference on first-order sentences.

21
Q

How does a unification algorithm work?

A

It takes two sentences w1 and w2 and returns a substitution S, such that:
Subset(S, w1) = Subset(S, w2)