Logic for AI Flashcards

1
Q

atomic sentences

A

represented by Capitalized strings, allowing subscripts

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

knowledge base

A

a collection of sentences that the agent knows are true in a formal language

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

What is the KB typically initialized with?

A

sentences about the rules about the “physics” of the world

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

What does the TELL operation do?

A

adds new sentences to the KB

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

What does the ASK operation do?

A

determine if a sentence can be deduced from what is already in the KB

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

formal language

A

has atomic variables and connectors

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

possible formal languages

A
  • propositional logic
  • algebra
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

possible world

A

an assignment of a value to every atomic variable mentioned anywhere in the KB

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

model

A

an assignment of values to only the variables in some sentence alpha

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

M(alpha)

A

set of all models of alpha

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

real world

A

one of the models in the KB but we don’t know which one

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

how can we know whether alpha is true in the real world, when there are multiple possibilities for the real world?

A

when alpha is True in all of them

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

entailment

A

sentence beta entails sentence alpha iff every model of beta is also a model of alpha

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

what does a correct inference algorithm do?

A

says yes iff the answer really is yes

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

soundness

A

we started with all the queries to which the inference algorithm says yes, and we checked each one and the answer for all of them really was yes

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

completeness

A

we started with all the queries that we know the answer should be yes. then we apply inference algorithm to all of them, and every one is a yes