Docsity

Reasoning with Logic: Deductive, Inductive, and Abductive Reasoning - Prof. Kanana, Study notes of Functional Programming

Partial preview of the text

Download Reasoning with Logic: Deductive, Inductive, and Abductive Reasoning - Prof. Kanana and more Study notes Functional Programming in PDF only on Docsity!

REASONING WITH

LOGIC

Course content

  • Inferencing with logic
  • Logica entailments
  • Inferencing basic rules
  • Conjunctive normal form
  • Horn clause

Abductive Reasoning: Connecting the Dots

Observe Incomplete Data Notice patterns or anomalies in in available information. Generate Hypotheses Create potential explanations for the observed data. Select Best Explanation Choose the most likely hypothesis based on current knowledge. Apply and Test Use the explanation to make predictions and verify accuracy. accuracy. Example: Seeing wet streets and inferring it rained, even without witnessing the rain.

Inferences

Logical entailments

Architecture of Knowledge Base

INFERENCING RULES

  • Modus ponens:
  • given an implication and the premise, you can

infer the conclusion.

  • If A is in the knowledge base the B must be

entailed

  • AB, A |- B

INFERENCING RULES

  • And-Elimination:
  • given a conjunction, you can infer any conjunct.
  • If two things must be true, then either of them must be true
  • A 1
 A

2

 A

3

…..A

n

|- A

i

Example of And-Elimination

Example of And-introduction

INFERENCING RULES

  • Or-Introduction : /Disjunction introduction
  • given a sentence, you can infer all its disjunctions with any thing else.
  • A I
|- A

1

 A

2

 A

3

…..A

n