Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

Similar documents
First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

CS156: The Calculus of Computation

CS156: The Calculus of Computation Zohar Manna Winter 2010

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Satisfiability Modulo Theories (SMT)

First Order Logic (FOL)

CSE507. Satisfiability Modulo Theories. Computer-Aided Reasoning for Software. Emina Torlak

CS156: The Calculus of Computation

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 7: Procedures for First-Order Theories, Part 1

03 Review of First-Order Logic

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 8: Procedures for First-Order Theories, Part 2

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

Hoare Logic I. Introduction to Deductive Program Verification. Simple Imperative Programming Language. Hoare Logic. Meaning of Hoare Triples

Overview, cont. Overview, cont. Logistics. Optional Reference #1. Optional Reference #2. Workload and Grading

First-Order Logic (FOL)

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Decision Procedures. Jochen Hoenicke. Software Engineering Albert-Ludwigs-University Freiburg. Winter Term 2015/16

CS156: The Calculus of Computation Zohar Manna Autumn 2008

SMT BASICS WS 2017/2018 ( ) LOGIC SATISFIABILITY MODULO THEORIES. Institute for Formal Models and Verification Johannes Kepler Universität Linz

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Learning Goals of CS245 Logic and Computation

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Syntax and Semantics. The integer arithmetic (IA) is the first order theory of integer numbers. The alphabet of the integer arithmetic consists of:

Combining Decision Procedures

Foundations of Artificial Intelligence

Announcements. CS243: Discrete Structures. Propositional Logic II. Review. Operator Precedence. Operator Precedence, cont. Operator Precedence Example

02 Propositional Logic

Theory of Computation

Exercises 1 - Solutions

2.2 Lowenheim-Skolem-Tarski theorems

Announcements. CS311H: Discrete Mathematics. Propositional Logic II. Inverse of an Implication. Converse of a Implication

Axiomatic set theory. Chapter Why axiomatic set theory?

First Order Logic: Syntax and Semantics

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

Logic. Propositional Logic: Syntax. Wffs

AAA615: Formal Methods. Lecture 2 First-Order Logic

Informal Statement Calculus

1 Propositional Logic

6.825 Techniques in Artificial Intelligence. Logic Miscellanea. Completeness and Incompleteness Equality Paramodulation

Propositional Logic: Syntax

Predicate Calculus - Syntax

COMP 409: Logic Homework 5

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Logic Part I: Classical Logic and Its Semantics

Propositional and Predicate Logic - XIII

Chapter 3. Formal Number Theory

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

Herbrand Theorem, Equality, and Compactness

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

Properties of Relational Logic

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Logic and Proofs. (A brief summary)

Lecturecise 22 Weak monadic second-order theory of one successor (WS1S)

9. Quantifier-free Equality and Data Structures

Formal methods in analysis

Foundations of Artificial Intelligence

Introduction to Metalogic

Foundations of Artificial Intelligence

Announcements CompSci 102 Discrete Math for Computer Science

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

Comp487/587 - Boolean Formulas

First-Order Theorem Proving and Vampire

CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

First-Order Logic. Chapter Overview Syntax

Deductive Verification

Arithmetic Decision Procedures: a simple introduction

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

First Order Logic (FOL) 1 znj/dm2017

Arithmetic and Incompleteness. Will Gunther. Goals. Coding with Naturals. Logic and Incompleteness. Will Gunther. February 6, 2013

CSE507. Course Introduction. Computer-Aided Reasoning for Software. Emina Torlak

Warm-Up Problem. Is the following true or false? 1/35

Semantics and Pragmatics of NLP

Gödel s Incompleteness Theorem. Overview. Computability and Logic

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Logic and Inferences

Chapter 1 : The language of mathematics.

Marie Duží

About the relationship between formal logic and complexity classes

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

185.A09 Advanced Mathematical Logic

CS156: The Calculus of Computation Zohar Manna Winter 2010

GÖDEL S COMPLETENESS AND INCOMPLETENESS THEOREMS. Contents 1. Introduction Gödel s Completeness Theorem

Gödel s Incompleteness Theorems

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)

Fuzzy Description Logics

Mat 243 Exam 1 Review

a. ~p : if p is T, then ~p is F, and vice versa

Lloyd-Topor Completion and General Stable Models

Logic Overview, I. and T T T T F F F T F F F F

Deciding Presburger Arithmetic

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

Symbolic Analysis. Xiangyu Zhang

(1) Which of the following are propositions? If it is a proposition, determine its truth value: A propositional function, but not a proposition.

Unprovability of circuit upper bounds in Cook s theory PV

MATH 1090 Problem Set #3 Solutions March York University

What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos

From Constructibility and Absoluteness to Computability and Domain Independence

Topics in Logic and Proofs

Transcription:

Motivation CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories Işıl Dillig Last few lectures: Full first-order logic In FOL, functions/predicates are uninterpreted (i.e., structure can assign any meaning) But in many cases, we have a particular meaning in mind (e.g., =, etc.) First-order theories allow us to give meaning to the symbols used in a first-order language Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 1/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 2/43 Signature and Axioms of First-Order Theory A first-order theory T consists of: 1. Signature Σ T : set of constant, function, and predicate symbols 2. Axioms A T : A set of FOL sentences over Σ T Σ T formula: Formula constructed from symbols of Σ T and variables, logical connectives, and quantifiers. Example: We could have a theory of heights T H with signature Σ H : {taller} and axiom: x, y. (taller(x, y) taller(y, x)) Is x. z.taller(x, z) taller(y, w) legal Σ H formula? Yes Axioms of First-Order Theory The axioms A T provide the meaning of symbols in Σ T. Specifically, axioms ensure that some interpretations legal in standard FOL are not legal in T Example: Consider relation constant taller, and U = {A, B, C } In FOL, possible interpretation: I (taller) : { A, B, B, A } In our theory of heights, this interpretation is not legal b/c does not satisfy axioms What about x. z.taller(x, z) taller(joe, tom)? No Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 3/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 4/43 Models of T A structure M = U, I is a model of theory T, or T -model, if M = A for every A A T. Example: Consider structure consisting of universe U = {A, B} and interpretation I (taller) : { A, A, B, B } Is this a model of T? No Now, consider same U and interpretation { A, B }. Is this a model? Yes Suppose our theory had another axiom: x, y, z. (taller(x, y) taller(y, z) taller(x, z)) Consider I (taller) : { A, B, B, C }. Is (U, I ) a model? No Satisfiability and Validity Modulo T Formula F is satisfiable modulo T if there exists a T -model M and variable assignment σ such that M, σ = F Formula F is valid modulo T if for all T -models M and variable assignments σ, M, σ = F Question: How is validity modulo T different from FOL-validity? Answer: Disregards all structures that do not satisfy theory axioms. If a formula F is valid modulo theory T, we will write T = F. Theory T consists of all sentences that are valid in T. Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 5/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 6/43 1

Questions Consider some first order theory T : If a formula is valid in FOL, is it also valid modulo T? Yes If a formula is valid modulo T, is it also valid in FOL? No Counterexample: This formula is valid in theory of heights : taller(x, x) Equivalence Modulo T Two formulas F 1 and F 2 are equivalent modulo theory T if for every T -model M and for every variable assignment σ: M, σ = F 1 iff M, σ = F 2 Another way of stating equivalence of F 1 and F 2 modulo T : T = F 1 F 2 Example: Consider a theory T = with predicate symbol = and suppose A T gives the intended meaning of equality to =. Are x = y and y = x equivalent modulo T =? Yes Are they equivalent according to FOL semantics? No Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 7/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 8/43 Completeness of Theory A theory T is complete if for every sentence F, if T entails F or its negation: T = F or T = F Question: In first-order logic, for every closed formula F, is either F or F valid? Answer: No! Consider p(a): Neither p(a) nor p(a) is valid. The Plan Remainder of this lecture: Introduction to commonly-used first-order theories: 1. Theory of equality 2. Peano Arithmetic 3. Presburger Arithmetic 4. Theory of Rationals 5. Theory of Arrays In the following lectures, we will further explore these theories and look at decision procedures. Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 9/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 10/43 Overview of the Theory of Equality T = Axioms of the Theory of Equality Extends first-order logic with a built-in equality predicate = Signature: Σ = : {=, a, b, c,, f, g, h,, p, q, r, } Axioms of T = define the meaning of equality predicate = Equality is reflexive, symmetric, and transitive: 1. x. x = x (reflexivity) =, a binary predicate, interpreted by axioms. all constant, function, and predicate symbols. 2. x, y. (x = y y = x) (symmetry) 3. x, y, z. (x = y y = z x = z) (transitivity) Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 11/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 12/43 2

Example Axioms of the Theory of Equality, cont. Consider universe U = {, }. Function congruence: For any n-ary function f, two terms f ( x) and f ( y) are equal if x and y are equal: Which interpretations of = are allowed according to axioms? x 1,..., x n, y 1,..., y n. i x i = y i f (x 1,..., x n ) = f (y 1,..., y n ) I (=) : {,,, }? I (=) : {,,, }? I (=) : {,,,,,,, }? Predicate congruence: For any n-ary predicate p, two formulas p( x) and p( y) are equivalent if x and y are equal: x 1,..., x n, y 1,..., y n. i x i = y i (p(x 1,..., x n ) p(y 1,..., y n )) Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 13/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 14/43 Congruence and Axiom Schemata Example Function/predicate congruence axioms stand for a set of axioms, instantiated for each function and predicate symbol. Thus, these are not really axioms, but axiom schemata. Example: For unary functions g and h, function congruence axiom scheme stands for two axioms: Consider universe {,, }, and I (=) : {,,,,,,,,, } Are the following valid interpretations? I (f ) = {,, } 1. x, y. (x = y g(x) = g(y)) I (f ) = {,, } 2. x, y. (x = y h(x) = h(y)) I (f ) = {,, } Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 15/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 16/43 Proving Validity in T = using Semantic Arguments Example Prove F : a = b b = c g(f (a), b) = g(f (c), a) T E -valid. Semantic argument method can be used to prove T = validity. In addition to proof rules for FOL, our proof can also use axioms of T =. As before, if we derive contradiction in every branch, formula is valid modulo T =. 1. M, σ = F assumption 2. M, σ = a = b b = c 1, 3. M, σ = g(f (a), b) = g(f (c), a) 1, 4. M, σ = a = b 2, 5. M, σ = b = c 2, 6. M, σ = a = c 4, 5, (transitivity) 7. M, σ = f (a) = f (c) 6, (congruence) 8. M, σ = b = a 6, (symmetry) 9. M, σ = g(f (a), b) = g(f (c), a) 7, 8, (congruence) 10. M, σ = 3,9 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 17/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 18/43 3

Decidability and Completeness Results for T = Theories Involving Natural Numbers and Integers Is the full theory of equality decidable? No, because it is an extension of FOL However, quantifier-free fragment of T = is decidable but NP-complete Is T = complete? (i.e., for any F, T = = F or T = = F?) There are three major logical first-order theories involving natural numbers and arithmetic. Peano arithmetic: Allows multiplication and addition over natural numbers Presburger arithmetic: Allows only addition over natural numbers Theory of integers: Equivalent in expressiveness to Presburger arithmetic, but more convenient notation Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 19/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 20/43 Peano Arithmetic Signature Peano Arithmetic Examples Question: Is the following a well-formed formula in T PA? The theory of Peano arithmetic T PA has signature: x + y = 1 f (x) = 1 + 1 Σ PA : {0, 1, +,, =} 0, 1 are constants +, binary functions = is a binary predicate What about x. y. z. x + y = 1 z x = 1 + 1? What about 2x = y? But can be rewritten to equivalent T PA formula: (1 + 1) x = y Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 21/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 22/43 The Axioms Last Axiom Includes equality axioms, reflexivity, symmetry, and transitivity In addition, axioms to give meaning to remaining symbols: 1. x. (x + 1 = 0): 0 minimal element of N (zero) 2. x. x + 0 = x: 0 identity for addition (plus zero) 3. x, y. x + 1 = y + 1 x = y (successor) One last axiom schema for induction: (F [0] ( x. F [x] F [x + 1])) x. F [x] States that any valid interpretation must obey induction 4. x, y. x + (y + 1) = (x + y) + 1 (plus successor) 5. x. x 0 = 0 (times zero) 6. x, y. x (y + 1) = x y + x (times successor) Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 23/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 24/43 4

Inequalities and Peano Arithmetic Decidability and Completeness Results for Peano Arithmetic The theory of Peano arithmetic doesn t have inequality symbols <,, <, But all of these are expressible in T PA Example: How can we express x y z in T PA? Example: How can we express x y < z in T PA? Validity in full T PA is undecidable. (Gödel) Validity in even the quantifier-free fragment of T PA is undecidable. (Matiyasevitch, 1970) T PA is also incomplete. (Gödel) Implication of this: There are valid propositions of number theory that are not valid according to T PA To get decidability and completeness, we need to drop multiplication! Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 25/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 26/43 Presburger Arithmetic The theory of Presburger arithmetic T N has signature: Σ N : {0, 1, +, =} Axioms define meaning of symbols: 1. x. (x + 1 = 0) (zero) 2. x. x + 0 = x (plus zero) 3. x, y. x + 1 = y + 1 x = y (successor) 4. x, y. x + (y + 1) = (x + y) + 1 (plus successor) 5. F [0] ( x. F [x] F [x + 1]) x. F [x] (induction) Decidability and Completeness Results for Presburger Arithmetic Validity in quantifier-free fragment of Presburger arithmetic is decidable (conp-complete). Validity in full Presburger arithmetic is also decidable (Presburger, 1929) But super exponential complexity: O(2 2n ) Presburger arithmetic is also complete: For any sentence F, T N = F or T N = F Admits quantifier elimination: For any formula F in T N, there exists an equivalent quantifier-free formula F. Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 27/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 28/43 Theory of Integers T Z Theory of Rationals So far, looked at theories involving arithmetic over integers Signature: Σ Z : {..., 2, 1, 0, 1, 2,..., 3, 2, 2, 3,..., +,, =, >} Also referred to as the theory of linear arithmetic over integers Equivalent in expressiveness to Presburger arithmetic (i.e., every T Z can be encoded as a formula in Presburger arithmetic) Next: the theory of rationals T Q, which is much more efficiently decidable Defined by signature: Σ Q : {0, 1, +,, =, } Signature does not allow strict inequality, but easy to express: x, y. z.x + y > z x, y. z. (x + y = z) x + y z Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 29/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 30/43 5

Distinction between Theory of Rationals and Presburger Arithmetic Decidability and Complexity Results for T Q T Q has too many axioms, so we won t discuss them Distinction between T Z and T Q : Rational numbers do not satisfy T Z axioms, but they satisfy T Q axioms Example: x. (1 + 1)x = 1 + 1 + 1 Is this formula valid in T Q? Full theory of rationals is decidable, but doubly exponential Conjunctive quantifier-free fragment efficiently decidable (polynomial time) Is it valid in T Z? In general, every formula valid in T Z is valid in T Q, but not vice versa Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 31/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 32/43 Theories about Data Structures Theory of Arrays So far, we only considered first-order theories involving numbers and arithmetic Signature where Σ : { [ ],, =} There are also theories that formalize data structures used in programming We ll look at one example: theory of arrays Commonly used in software verification a[i] binary function read array a at index i ( read(a,i) ) a i v ternary function write value v to index i of array a ( write(a,i,e) ) a i v represents the resulting array after writing value v at index i Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 33/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 34/43 Example Formulas in Theory of Arrays Axioms of T A Example: (a 2 5 )[2] = 5 Says: The value stored at position 2 of an array to whose second position we wrote the value 5 is 5 Example: (a 2 5 )[2] = 3 Says: The value stored at position 2 of an array to whose second position we wrote the value 5 is 3 According to the usual semantics of array read and write, is the first formula valid/satisfiable/unsat? To define intended semantics of array read and write, we need to provide axioms of T A. Axioms of T A include reflexivity, symmetry, and transitivity In addition, they include axioms unique to arrays: 1. a, i, j. i = j a[i] = a[j ] (array congruence) 2. a, v, i, j. i = j a i v [j ] = v (read-over-write 1) 3. a, v, i, j. i j a i v [j ] = a[j ] (read-over-write 2) What about second formula? Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 35/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 36/43 6

Example Example cont. Is the following T A formula valid? F : a[i] = e ( j. a i e [j ] = a[j ]) For any j = i, old value of j was already e, so its value didn t change Let s prove its validity using the semantic argument method Assume there exists a model M and variable assignment σ that does not satisfy F and derive contradiction. 1. M, σ = a[i] = e ( j. a i e [j ] = a[j ]) assumption 2. M, σ = a[i] = e 1, 3. M, σ = j. a i e [j ] = a[j ] 1, 4. M, σ[j k] = a i e [j ] = a[j ] 3, 5. M, σ[j k] = a i e [j ] a[j ] 4, 6. M, σ[j k] = i = j 5, r-o-w 2 7. M, σ[j k] = a[i] = a[j ] 6, cong 8. M, σ[j k] = a i e [j ] = e 6, r-o-w 1 9. M, σ[j k] = a i e [j ] = a[i] 2,8,trans 10. M, σ[j k] = a i e [j ] = a[j ] 9,7,trans 11. M, σ[j k] = 5,10 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 37/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 38/43 Decidability Results for T A Combination of Theories The full theory of arrays if not decidable. The quantifier-free fragment of T A is decidable. Unfortunately, the quantifier-free fragment not sufficiently expressive in many contexts Thus, people have studied other richer fragments that are still decidable. Example: array property fragment (disallows nested arrays, restrictions on where quantified variables can occur) So far, we only talked about individual first-order theories. Examples: T =, T PA, T Z, T A,... But in many applications, we need combined reasoning about several of these theories Example: The formula f (x) + 3 = y isn t a well-formed formula in any individual theory, but belongs to combined theory T Z T = Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 39/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 40/43 Combined Theories Given two theories T 1 and T 2 that have the = predicate, we define a combined theory T 1 T 2 Signature of T 1 T 2 : Σ 1 Σ 2 Axioms of T 1 T 2 : A 1 A 2 Is this a well-formed T = T Z formula? 1 x x 2 f (x) f (1) f (x) f (2) Is this formula satisfiable according to axioms A Z A =? Decision Procedures for Combined Theories Given decision procedures for individual theories T 1 and T 2, can we decide satisfiability of formulas in T 1 T 2? In the early 80s, Nelson and Oppen showed this is possible Specifically, if 1. quantifier-free fragment of T 1 is decidable 2. quantifier-free fragment of T 2 is decidable 3. and T 1 and T 2 meet certain technical requirements then quantifier-free fragment of T 1 T 2 is also decidable Also, given decision procedures for T 1 and T 2, Nelson and Oppen s technique allows deciding satisfiability T 1 T 2 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 41/43 Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 42/43 7

Plan for Next Few Lectures We ll talk about decision procedures for some interesting first order-theories Next lecture: Quantifier-free theory of equality Later: Theory of rationals, Presburger arithmetic Initially, we ll only focus on decision procedures for formulas without disjunctions Ok because we can always convert to DNF to deal with disjunctions just not very efficient! Later in the course, we ll see about how to handle disjunctions much more efficiently Işıl Dillig, CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories 43/43 8