View on GitHub

Notes

reference notes

Introduction

Role of Knowledge in Demonstrating Intelligent Behavior

How to Represent Knowledge in a Machine

  1. Domain:
    • Focus on a specific domain to represent knowledge.
    • Empower the machine with domain-specific knowledge for intelligent behavior.
  2. Inference Mechanism:
    • Implement a mechanism to interpret environmental facts using knowledge.
    • This interpretation drives appropriate actions, leading to intelligent behavior.
  3. Syntax and Semantics of a Language:
    • Define clear syntax (grammar and rules) for the language.
    • Ensure that sentences have meaningful semantics (carry meaning).
    • Clarity in syntax and semantics is vital for effective knowledge representation.

Logic

Symbol and Sentences

Sentences and Well-Formed Formulas (wff)

Examples of Well-Formed Formulas (wff)

Examples of complex formulas that include logical connectives. The truth value of a wff is known as its semantics or meaning. Some examples of well-formed formulas include:

What Does a wff Mean (Semantics)?

How Do We Get the Meaning?

Example

Tautology

Truth Table for p ∨ ~p

p ~p p ∨ ~p
T F T
F T T

Example: “Heads I win, tails you lose.”

Truth Table for (p → q) ∨ (~p → q)

p ~p q p → q ~p → q (p → q) ∨ (~p → q)
T F T T T T
T F F F T T
F T T T T T
F T F T F T

Contradiction

Truth Table for p ∧ ~p

p ~p p ∧ ~p
T F F
F T F

Arguments, Premises, and Conclusions

Arguments

Premises

Statements about Blocks:

  1. The red block is on the green block.
  2. The green block is somewhere above the blue block.
  3. The green block is not on the blue block.
  4. The yellow block is on the green or the blue.
  5. The blue block is on some other block.

Conclusions

  1. The red block is on the green block.
  2. The green block is on the yellow block.
  3. The yellow block is on the blue block.
  4. The blue block is on the black block.
  5. Main Conclusion: The black block is on the table.

Certainly, here’s the organized information without omitting any details:

Logical Reasoning & Inference Rules

Syllogism / Deductive Reasoning

Categorical Propositions

Categorical propositions can be categorized into four types:

Rules of Inference

Some Other Terms

Theories and Axioms

Literal

Horn Clause

Clausal Form