Presentation is loading. Please wait.

Presentation is loading. Please wait.

Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.

Similar presentations


Presentation on theme: "Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science."— Presentation transcript:

1 Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science

2 What are the goals in the study of formal logic? To lay out a formal system whereby we reason. To make an abstraction of the reasoning process. But why?

3 So that we can understand human reasoning processes better. To give reasoning ability to a computer so that it can solve problems for us. But why?

4 Aristotle (384-322 B.C.) Descartes (1596-1650) Leibnitz (1646-1716) George Boole (1815-1864) Gottlob Frege (1848-1925) Bertrand Russell (1872-1970) and Whitehead Alfred Tarski (1902-1983) Kurt Godel (1906-1978) Alan Turing (1912-1954) Where did it all begin?

5 Developed an informal system of syllogisms for proper reasoning. With this system, you can mechanically generate conclusions, given initial premises. Aristotle (384-322 B.C.)

6 Major premise: Every mammal has a spine. Minor premise: A dog is a mammal. Conclusion: A dog has a spine. What is a syllogism?

7 Emphasized the distinction between mind and matter. Advocated a scientific method where we doubt something until, through reason, we establish it to be indubitable. The first indubitable truth -- Je pense, donc je suis. Descartes (1596-1650)

8 Introduced the first system of formal logic Constructed machines for automating calculation. Built a mechanical device intended to carry out mental operations. Leibnitz (1646-1716)

9 Introduced his formal language for making logical inferences in 1864. His work was entitled An Investigation of the Laws of Thought, on which are founded Mathematical Theories of Logic and Probabilities His system was a precursor to the fully developed propositional logic. George Boole (1815-1864)

10 How expressive is propositional logic? How many operators do we need for a complete set? How hard is it to compute satisfiability? How hard is it to determine validity? What assurance do we have that we can be successful in proving validity? What basic inference rules and axiom schemata do we need? Would one inference rule suffice? Basic Questions

11 All horses are animals. Therefore, the head of a horse is the head of an animal. “Can you deduce this in propositional logic?” asked DeMorgan. No! What CAN’T we do with propositional logic?

12 Say we have the expression a < b && b < c && a < c Then can we reduce this to a < b && b < c But we can’t deduce this with propositional logic. If we let p represent a < b and q represent b < c and r represent a < c, can we conclude p  q  r  p  q (NO!) What CAN’T we do with propositional logic?

13 He did a comprehensive exploration of propositional logic. Then he went on to develop predicate logic. The formal system he developed is essentially the same predicate logic we study today. His language was intended to be a language for describing mathematics. His notation was awkward. Frege (1848-1925)

14 Introduced a theory of reference that shows how to relate the objects in a logic to objects in the real world. Worked in the area of semantics. Tarski (1902-1983)

15 Russell (1872-1970) and Whitehead Goals was to derive all of mathematics through formal operations on a collection of axioms. Theorem-proving would be mechanical. No intuition would be involved. Strict syntax and formal rules of inference.

16 Incompleteness Theorem: In any logical language expressive enough to describe the properties of the natural numbers, there are true statements that are undecidable -- their truth cannot be established by any algorithm. Godel (1906-1978)

17 The validity of first order logic is not decidable. (It is semi-decidable.) If a theorem is logically entailed by an axiom, you can prove that it is. But if it is not, you can’t necessarily prove that it is not. (You may go on infinitely with your proof.) Turing (1912-1954)

18 propositional logic (propositional calculus) atomic symbols connectives propositions conjunction disjunction antecedent consequent well-formed formulas (wffs) Terminology

19 syntax semantics interpretation inference rules modus ponens satisfiable (consistent) unsatisfiable (inconsistent) valid (a tautology) sound complete Terminology

20 resolution clause axiom (proper axiom) theory axiom schema (“schemata” in the plural) worst-case complexity NP-complete Terminology

21 predicate logic (predicate calculus) universal quantifier existential quantifier unification Skolemization most general unifier Horn clause semi-decidable Terminology


Download ppt "Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science."

Similar presentations


Ads by Google