CH 16 Flashcards

(49 cards)

1
Q

Logic that can be used for the basic needs of the formal logic:

A

Symbolic Logic

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

Predicate Calculus

A

Particular form of the symbolic logic that is used for the logic programming.

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

Terms that represent the object representation:

A

Constant and Variable

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

Constant

A

Symbol that represents an object.

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

Variable

A

Symbol that represents different objects at different times.

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

Atomic Propositions

A

Consist of compound terms

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

Compound terms

A

One element of mathematical relation, written like a mathematical function (mapping and can be written as a table)

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

Parts of the Compound term

A

Functor (a function symbol that names the relationship); Ordered list of params (tuple)

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

Forms of propositions:

A

Fact & Query

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

Compound proposition:

A

two or more atomic propositions
propositions are connected by operators

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

Antecedent

A

Right side

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

Consequent

A

Left Side

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

Usage of Propositions:

A

To discover new theorems that can be inferred from the known axioms and theorems.

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

Resolution

A

An inference principle that allows inferred propositions to be computed from the given propositions.

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

Unification

A

Finding the values for the variables in the propositions that allows matching process to succeed.

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

Instantiation

A

Assigning temporary values to the variables to allow unification to succeed.

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

If matching process fails during unification, we may need to

A

backtrack

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

Proof By contadiction

A

This theorem is proved by finding an inconsistency.

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

Hypotheses

A

A set of pertinent propositions

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

Forms of Horn Clause

A

Headed: single atomic proposition on LHS

Headless: Empty LHS (facts)

21
Q

Declarative Semantic

A

Simple way to determine the meaning of each statement.

22
Q

Describing the characterstics of the sorted list rather than the process of rearranging the list.

23
Q

University of Aix-Marseille for the origins of the Prolog

A

Natural Language Processing

24
Q

University of Edinburgh

A

Automated Theorem Proving

25
Term
Constant Variable Structure
26
Constant (Edinburgh Syntax of the Prolog)
An atom or an integer
27
Atom (Edinburgh Syntax of the Prolog)
Sumbolic value of the Prolog
28
Atoms consist of:
a string of letters, digits, underscores beginning with the lowercase letter. a string of printable ASCII characters delimited by the apostrophes
29
Variable (Edinburgh Syntax for the Prolog)
Any string of letters, digits, and underscore beginning with the uppercase letter
30
Structure (Edinburgh Syntax for the Prolog)
Represents an atomic proposition functor(parameter list)
31
Rule Statements
Headed Horn Clause For Hypotheses
32
Conjunction
Multiple terms separated by logical AND operations
33
Goal Statements
In form of propositons to prove or disprove. Headless Horn
34
If a goal is a compound proposition, each of the facts is a
subgoal.
35
Matching/Satisfying/Resolution
Process of proving a subgoal when a goal is the compound proposition.
36
Matching
Process of proving a proposition
37
Approaches to the Matching:
Top-Down resolution: from goal to the sequence that leads to facts in the database. (For a small set of possibly correct answers) Bottom-Up Resolution: from the facts and goals in the databse to the sequence that leads to goal. (For a large set of possibly correct answers)
38
Prolog implementations uses ___________
backward chaining
39
When goal has more than one subgoal,
Depth-first search: find a complete proof of the first subgoal than others Breadth-first search: work on all the subgoals in parallel
40
Disadvantages of Backtracking:
Consumes large amount of time and space
41
Prolog supports
integer var and intger arithmetic
42
is operator
arithmetic expression == right operand Variable == left operand
43
Is 'is operator' equal to the assignment operator?
Not
44
TRACE
Built in structure that displays instantions at each step.
45
Events in TRACE:
Call Exit Redo Fail
46
List Structure
Sequence of any number of elements (can be any atom or atomic proposition, or other terms)
47
The underscore character in list means:
an anonymous variable
48
Deficiencies of Prolog
Lack of Resolution order control: nondeterministic order of the attempted matches. The closed-world assumption: The only knowledge is what is in databse. The negation problem: Anything not stated in the database is assumed to be false. Intrinsic Limitations: Easy to sort a process in the logic, but it is difficult to actually do (don't know how to sort)
49
Applications of Logic Programming
Relational Database management systems Expert Systems Natural Language Processing