Automated Reasoning
Jacques Fleuriot September 14, 2013
1 / 26
Automated Reasoning Jacques Fleuriot September 14, 2013 1 / 26 - - PowerPoint PPT Presentation
Automated Reasoning Jacques Fleuriot September 14, 2013 1 / 26 Lecture 6 Representation Jacques Fleuriot 2 / 26 Representing Knowledge We are faced with several choices when formalising a theory: Which type of logic to use?
1 / 26
2 / 26
◮ Propositional Logic; ◮ First-Order Logic; ◮ Others (such as Higher-Order Logic, which we will cover)
3 / 26
◮ Sorts (types): bool, int, real, α × β, αset ◮ Still terms (individuals) and formulas are distinct syntactic
◮ Use ⊤ and ⊥ both as formulas and terms of bool sort. Intent
◮ Functions have argument and result sorts: f : (α, β)γ ◮ Relations have argument sorts: R : (α, β) 4 / 26
5 / 26
6 / 26
7 / 26
◮ If the theory of natural numbers is consistent, so is the theory
8 / 26
◮ We define div(x, y) when y = 0 in normal way ◮ What about division-by-zero? What is the value of div(x, 0)? ◮ In first-order logic, functions are assumed to be total, so we
◮ We could choose a convenient element: say 0. That way:
9 / 26
10 / 26
11 / 26
12 / 26
13 / 26
14 / 26
15 / 26
16 / 26
17 / 26
18 / 26