Properties of Relational Logic

Slides:



Advertisements
Similar presentations
Completeness and Expressiveness
Advertisements

Copyright © Cengage Learning. All rights reserved.
1 COMP 382: Reasoning about algorithms Unit 9: Undecidability [Slides adapted from Amos Israeli’s]
1 Undecidability Andreas Klappenecker [based on slides by Prof. Welch]
1 Introduction to Computability Theory Lecture15: Reductions Prof. Amos Israeli.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
1 Undecidability Andreas Klappenecker [based on slides by Prof. Welch]
So far we have learned about:
Chapter 3 Propositional Logic
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
Propositional Resolution Computational LogicLecture 4 Michael Genesereth Spring 2005.
DECIDABILITY OF PRESBURGER ARITHMETIC USING FINITE AUTOMATA Presented by : Shubha Jain Reference : Paper by Alexandre Boudet and Hubert Comon.
Institute for Experimental Physics University of Vienna Institute for Quantum Optics and Quantum Information Austrian Academy of Sciences Undecidability.
Course Overview and Road Map Computability and Logic.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Great Theoretical Ideas in Computer Science.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
Great Theoretical Ideas in Computer Science.
CS6133 Software Specification and Verification
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
1 Turing’s Thesis. 2 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine (1930)
Computation Motivating questions: What does “computation” mean? What are the similarities and differences between computation in computers and in natural.
The Church-Turing Thesis Chapter Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve:
Recursively Enumerable and Recursive Languages. Definition: A language is recursively enumerable if some Turing machine accepts it.
Decidability.
MA/CSSE 474 Theory of Computation Universal Turing Machine Church-Turing Thesis Delayed due dates for HWs See updated schedule page. No class meeting.
Chapters 11 and 12 Decision Problems and Undecidability.
The Acceptance Problem for TMs
CS 461 – Nov. 2 Sets Prepare for ATM finite vs. infinite Infinite sets
Gödel's Legacy: The Limits Of Logics
Axiomatic Number Theory and Gödel’s Incompleteness Theorems
Discrete Mathematics for Computer Science
Resolution in the Propositional Calculus
The Propositional Calculus
Undecidable Problems Costas Busch - LSU.
CS154, Lecture 11: Self Reference, Foundation of Mathematics
LIMITS OF ALGORITHMIC COMPUTATION
Great Theoretical Ideas in Computer Science
Homework: Friday Read Section 4.1. In particular, you must understand the proofs of Theorems 4.1, 4.2, 4.3, and 4.4, so you can do this homework. Exercises.
Busch Complexity Lectures: Undecidable Problems (unsolvable problems)
Andreas Klappenecker [based on slides by Prof. Welch]
CSCE 411 Design and Analysis of Algorithms
Proving Existentials A proof of a statement of the form x P(x) is called an existence proof. If the proof demonstrates how to actually find or construct.
Propositional Resolution
Decidable Languages Costas Busch - LSU.
Decidability and Undecidability
First Order Logic Rosen Lecture 3: Sept 11, 12.
Relational Proofs Computational Logic Lecture 8
Discrete Math for CS CMPSC 360 LECTURE 43 Last time: Variance
Back to “Serious” Topics…
MA/CSSE 474 More Math Review Theory of Computation
Metatheorems Computational Logic Lecture 8
Computational Logic Lecture 13
Relational Proofs Computational Logic Lecture 7
Relational Logic Semantics
Great Theoretical Ideas in Computer Science
Logical Entailment Computational Logic Lecture 3
Class 24: Computability Halting Problems Hockey Team Logo
Herbrand Logic Semantics
Instructor: Aaron Roth
CS154, Lecture 11: Self Reference, Foundation of Mathematics
ece 720 intelligent web: ontology and beyond
Relational Logic Semantics
Relational Proofs Computational Logic Lecture 7
Properties of Relational Logic
Model Minimization Computational Logic Lecture 16
Instructor: Aaron Roth
Relational Proofs Computational Logic Lecture 7
Herbrand Semantics Computational Logic Lecture 15
Herbrand Logic Semantics
Presentation transcript:

Properties of Relational Logic Computational Logic Lecture 8 Properties of Relational Logic Michael Genesereth Autumn 2010

Structures We can view an interpretation as vector consisting of a universe of discourse and values for the items in the signature of the language (when the signature is ordered). In what follows, we call such vectors structures.

Example Interpretation: |i| = {1, 2} i(a) = 1 i(b) = 2 i(f) = {12, 21} i(r) = {1,2, 1,1, 2,2} Signature: a, b, f, r Structure: {1, 2}, 1, 2, {12, 21}, {1,2, 1,1, 2,2}

Elementary Equivalence Two structures are elementarily equivalent if and only if they satisfy the same set of sentences for all signatures. NB: There are pairs of structures that cannot be distinguished from each other in Relational Logic.

Examples {1,2},1, 2, {1,2, 2,1} {3,4}, 3, 4, {3,4, 4,3} {1,2}, 2, 1, {1,2, 2,1} Q, < R, <

Lowenheim Skolem Tarski Theorem If there is a model of a set of first-order sentences of any infinite cardinality, then there is a model of every infinite cardinality.

Transitivity Theorem It is not possible in first-order logic to define transitive closure in first-order logic. More precisely, it is not possible characterize the set of structures consisting of an arbitrary universe, an arbitrary binary relation, and the transitive closure of that relation.

Logical Entailment A set of premises logically entails a conclusion if and only if every interpretation that satisfies the premises also satisfies the conclusion.

Formal Proofs A formal proof of  from  is a sequence of sentences terminating in  in which each item is either: 1. a premise (a member of ) 2. an instance of an axiom schema 3. the result of applying a rule of inference to earlier items in the sequence. A sentence  is provable from a set of sentences  if and only if there is a finite formal proof of  from  using only Modus Ponens, Universal Generalization, and the Mendelson axiom schemata.

Soundness and Completeness Soundness Theorem: If  is provable from , then  logically entails . Completeness Theorem (Godel): If  logically entails , then  is provable from .

Decidability A class of questions is decidable if and only if there is a procedure such that, when given as input any question in the class, the procedure halts and says yes if the answer is positive and no if the answer is negative. Example: For any natural number n, determining whether n is prime.

Semidecidability A class of questions is semidecidable if and only if there is a procedure that halts and says yes if the answer is positive. Obvious Fact: If a class of questions is decidable, it is semidecidable.

Semidecidability of Logical Entailment

Decidability Not Proved Note that we have not shown that logical entailment for Relational Logic is decidable. The procedure may not halt. p(x)  p(f(x)) p(f(f(a))) p(f(b))? We cannot just run procedure on negated sentence because that may not be logically entailed either! p(f(b))?

Undecidability of Logical Entailment Metatheorem: Logical Entailment for Relational Logic is not decidable. Proof: Suppose there is a machine p that decides the question of logical entailment. Its inputs are  and . We can encode the behavior of this machine and its inputs as sentences and ask whether the machine halts as a conclusion. What happens if we give this description and question to p? It says yes. Yes  p f No

Undecidability (continued) It is possible to construct a larger machine p’ that enters an infinite loop if p says yes and halts if p says no. We can also encode a description of this machine as a set of sentences and ask whether the machine halts as a conclusion. What happens if we give this description and question to p’? If p says yes, then p’ runs forever, contradicting the hypothesis that p computes correctly. If p says no, then p’ halts, once again leading to contradiction. QED No p Halts 

Closure The closure S* of a set S of sentences is the set of all sentences logically entailed by S. S*={ | S|=} Set of Sentences: Closure: p(a) p(a) p(x)p(f(x)) p(f(a)) p(f(f(a))) p(a)  p(f(a)) p(x)p(f(x)) …

Theories A theory is a set of sentences closed under logical entailment, i.e. T is a theory if and only if T*=T.

Axiomatizability A theory T is finitely axiomatizable if and only if there is a finite set  of sentences such that T=*.

Theory Completeness A theory T is complete if and only, for all , either T or T. Note: Not every theory is complete. Consider the theory consisting of all consequences of p(a,b). Does this include p(b,a)? Does it include p(b,a)? Note: There is one and only inconsistent theory, viz. the set of all sentences in the language.

Relationships on Theories Decidable Semidecidable Finitely Axiomatizable

Arithmetization of Logical Entailment The theory of arithmetic is the set of all sentences true of the natural numbers, 0, 1, +, *, and <. Fact: It is possible to assign numbers to sentences such that (1) Every sentence  is assigned a unique number n. (2) The question of logical entailment |= can be expressed as a numerical condition r(n,n). Conclusion: The theory of arithmetic is not decidable.

Incompleteness Theorem Metatheorem (Godel): If  is a finite subset of the theory of arithmetic, then * is not complete. Variant: Arithmetic is not finitely axiomatizable. Proof: If there were a finite axiomatization, then the theory would be decidable. However, arithmetic is not decidable. Therefore, there is no finite axiomatization.

Summary Logical Entailment for Relational Logic is semidecidable. Logical Entailment for Relational Logic is not decidable. Arithmetic is not finitely axiomatizable in Relational Logic.