Where are we? Introduction to Logic 1
|
|
- Millicent Moody
- 7 years ago
- Views:
Transcription
1 Introduction to Logic 1 1. Preliminaries 2. Propositional Logic 3. Tree method for PL 4. First-order Predicate Logic 5. Tree Method for FOL 6. Expressiveness of FOL Where are we?
2 Introduction to Logic 2 5. Trees for FOL
3 Introduction to Logic 3 The tree method for predicate logic We add to the branching rules for propositional connectives three rules for quantifiers. We use an infinite set of individual constants {a 0, a 1,...}. a. xφ x φ b. xφ(x) φ(b) c. xφ(x) φ(c) xφ x φ : for every constant b already present on the branch. If there is no previous constant, use a 0. :for c a fresh constant, not already present on the tree
4 Introduction to Logic 4 Algorithm 1. To show whether Γ = φ, (with Γ finite). Append φ to the formulas of Γ. 2. Close any branch which contains a formula and its negation. If all branches are closed, stop. 3. If a formula has not been considered and has for main connective a propositional connective, apply the connective rule. Otherwise do If a formula xφ(x) has not been considered, apply rule and go back to 3. Otherwise go to If a formula xφ(x) has not been examined, apply the rule and go to Whenever a new formula or new constant appears on the tree, go back to stage 2. Otherwise, stop.
5 Introduction to Logic 5 Example 1 If everyone is proud, then someone is proud? xp (x) xp (x)
6 Introduction to Logic 6 ( xp (x) xp (x))
7 Introduction to Logic 7 ( xp (x) xp (x)) xp (x) xp (x)
8 Introduction to Logic 8 ( xp (x) xp (x)) xp (x) xp (x) x P (x)
9 Introduction to Logic 9 ( xp (x) xp (x)) xp (x) xp (x) x P (x)
10 Introduction to Logic 10 ( xp (x) xp (x)) xp (x) xp (x) x P (x) P (a 0 )
11 Introduction to Logic 11 ( xp (x) xp (x)) xp (x) xp (x) x P (x) P (a 0 )
12 Introduction to Logic 12 ( xp (x) xp (x)) xp (x) xp (x) x P (x) P (a 0 ) P (a 0 )
13 Introduction to Logic 13 ( xp (x) xp (x)) xp (x) xp (x) x P (x) P (a 0 ) P (a 0 ) The algorithm stops and all branches are closed.
14 Introduction to Logic 14 Example 2 someone is cooking and reading, and someone is cooking and watching TV, so someone is reading and watching TV x(a(x) B(x)), x(a(x) C(x))? x(b(x) C(x)) x(a(x) B(x)) x(a(x) C(x)) x(b(x) C(x))
15 Introduction to Logic 15 x(a(x) B(x)) x(a(x) C(x)) x(b(x) C(x)) x (B(x) C(x))
16 Introduction to Logic 16 x(a(x) B(x)) x(a(x) C(x)) x(b(x) C(x)) x (B(x) C(x)) A(a 0 ) B(a 0 )
17 Introduction to Logic 17 x(a(x) B(x)) x(a(x) C(x)) x(b(x) C(x)) x (B(x) C(x)) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 )
18 Introduction to Logic 18 x(a(x) B(x)) x(a(x) C(x)) x(b(x) C(x)) x (B(x) C(x)) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) A(a 0 ) B(a 0 )
19 Introduction to Logic 19 x(a(x) B(x)) x(a(x) C(x)) x(b(x) C(x)) x (B(x) C(x)) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 )
20 Introduction to Logic 20 x(a(x) B(x)) x(a(x) C(x)) x(b(x) C(x)) x (B(x) C(x)) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 )
21 Introduction to Logic 21 x (B(x) C(x)) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) (B(a 0 ) C(a 0 ))
22 Introduction to Logic 22 x (B(x) C(x)) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) (B(a 0 ) C(a 0 )) (B(a 1 ) C(a 1 ))
23 Introduction to Logic 23 x (B(x) C(x)) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) (B(a 0 ) C(a 0 )) (B(a 1 ) C(a 1 )) B(a 0 ) C(a 0 )
24 Introduction to Logic 24 A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) A(a 0 ) B(a 0 ) A(a 1 ) C(a 1 ) (B(a 0 ) C(a 0 )) (B(a 1 ) C(a 1 )) B(a 0 ) C(a 0 ) B(a 1 ) C(a 1 )
25 Introduction to Logic 25 The algorithm stops, but there is an open branch. Note that the open branch gives us a countermodel with two individuals a 0 and a 1, in which a 0 is A, B but not C, and a 1 is A, C but not B. U = {a 0, a 1 } A M = U B M = {a 0 } C M = {a 1 }
26 Introduction to Logic 26 Example 3 Everyone loves someone, so someone is loved by everyone x yl(x, y)? y xl(x, y) x yl(x, y) y xl(x, y) y xl(x, y) y x L(x, y)
27 Introduction to Logic 27 Example 3 Everyone loves someone, so someone is loved by everyone x yl(x, y)? y xl(x, y) x yl(x, y) y xl(x, y) y xl(x, y) y x L(x, y)
28 Introduction to Logic 28 yl(a 0, y) x L(x, a 0 ) L(a 0, a 1 ) L(a 2, a 0 ) yl(a 1, y) yl(a 2, y) x L(x, a 1 ) x L(x, a 2 ) L(a 1, a 3 ) L(a 2, a 4 ) L(a 5, a 1 ) L(a 6, a 2 )..
29 Introduction to Logic 29 The algorithm will continue indefinitely : no stop, and an infinite open branch. However: it is us who can say (and prove) the branch will be infinite ; the algorithm has no way to tell. This also suggests that, from the algorithm, we can construct an infinite model that satisfies x yl(x, y), but falsifies y xl(x, y).
30 Introduction to Logic 30 Summary 1. The procedure terminates with all branches closed 2. The procedure terminates with some finite open branch 3. The procedure does not terminate (there is an infinite open branch).
31 Introduction to Logic 31 Completeness Let us write : φ for : the tree built from φ closes. We can prove that : Theorem (Completeness) : φ iff = φ (soundness) If a branch extension rule is applied to a satisfiable branch, one of the resulting branches is satisfiable. The interesting cases are the rules for and. Clearly, if a branch containing xφ(x) is satisfiable, so is the extension. If a branch containing xφ(x) is satisfiable in a model M, then for some constant c, φ(c) is satisfied in M. What about φ(c) where c is a fresh constant? Then the model M in which c M = c M is also a model of the branch.
32 Introduction to Logic 32 (completeness) If B is an open branch, extract a model M B by letting U B be the set of constants occurring on that branch. For P an n-ary predicate letter, set: (a i1,..., a in ) is in P M iff P (a i1,..., a in ) is a formula on B By induction, one can prove that if φ is on B, then M B = φ, and if φ is on B, then M B = φ. So, if φ, then M B, where B is an open branch, satisfies φ, and so φ.
33 Introduction to Logic 33 Undecidability So, FOL is complete: the tree method yields a sound and complete proof procedure for validity in FOL. But is FOL decidable? Note that the tree method is not a decision method, but only a semi-decision method: if = φ, then φ, ie the tree will eventually close. But if φ, it can happen that the algorithm keeps on searching (remember example 3!). This is not a specificity of this method, indeed: Theorem (Church 1936) : FOL is undecidable.
34 Introduction to Logic Limitations of FOL
35 Introduction to Logic 35 Expressiveness We know that FOL is more expressive than PL, but how expressive is it? To answer this question, we need to know some general properties about FOL. The compactness theorem, in particular, plays an essential role.
36 Introduction to Logic 36 First-order logic with identity Consider FOL to which one adds a binary relation = expressing identity. In particular, if c and d are constants of the language, and M is a structure, then M = c = d iff c M = d M. How much can one express with identity? Abbreviation: x y for (x = y) there are at least two elements : x y( x = y) there are at least three elements : x y z(x y y z z x) there are at least n elements λ n := x 1 x 2... x n ( x i x j ) i j
37 Introduction to Logic 37 there are at most two elements : x y z(x = y y = z x = z) there are at most n elements : µ n = x 0 x 1 x n ( x i = x j ) there is exactly n elements : there are at least n elements, and at most n elements: (λ n µ n ) i j
38 Introduction to Logic 38 Some stars are blue : x(s(x) B(x)) (At least) two stars are blue : x y( x = y S(x) S(y) B(x) B(y)) Can we express that: infinitely many stars are blue? Consider the following theory (set of sentences): T = {λ n ; n 2} there is at least two elements there is at least three elements. T has only infinite models. Suppose it has a finite model M. Let k be the size of the domain. Since M satisfies all sentences of T, M = λ k+1 : contradiction.
39 Introduction to Logic 39 A finite number of Existential quantification: some Finite cardinality quantification : at least n, at most n, exactly n. Infinite cardinality: infinitely many (but note that we expressed it by means of an infinite set of sentences). What about there is a finite number of? This can t be expressed in FOL! Why? because FOL has compactness.
40 Introduction to Logic 40 Compactness Consider the sentences: F : there are finitely many elements F 1 : there is at least one element F 2 : there are at least two elements F 3 : there are at least three elements.. Taken together, these sentences are inconsistent: they require both that there are finitely many elements, and they entail that there are infinitely many elements. However, every finite subset of these sentences is satisfiable (why?).
41 Introduction to Logic 41 Compactness We know that each F n is expressible in FOL by the sentence λ n. If F (finiteness) were expressible by a sentence φ, then the set of sentences Γ = {λ n ; n 2} {φ} would not be satisfiable, while every finite subset would be : so FOL would not be compact. However... Theorem (Compactness) If every finite set of FO-sentences of a set Γ has a model, then Γ has a model. Corollary : finiteness is not expressible in FOL.
42 Introduction to Logic 42 Further examples Some properties of relations can be expressed in FOL: R is reflexive : xr(x, x) R is symmetric : x y(r(x, y) R(y, x)) Others can t be expressed. Example : Connectedness: for any two points x and y, there is a path leading from x to y, ie a set of points a 1,..., a n such that xra 1 Ra 2 R...Ra n Ry. Proof: show that the theory saying x and y are connected, are distinct, and there is no path of length 1 between them, no path of length 2,..., is consistent (use compactness).
43 Introduction to Logic 43 Most (1) There are more cats than dogs (2) Most dogs are nice Neither of the sentences can be expressed within FOL. Why not? The idea is: they involve quantification over sets, not only individuals. there are more A than B : the set of A has more elements than the set of B. Most A are B means : the set of A that are B has more elements than the set of A that are not B.
44 Introduction to Logic 44 Restricted quantification Some A are B : [ x : A(x)]B(x) All A are B : [ x : A(x)]B(x) We can define these new expressions within FOL. [ x : A(x)]B(x) x(a(x) B(x)) [ x : A(x)]B(x) x(a(x) B(x)]
45 Introduction to Logic 45 Most again Introduce a new quantifier Mx : for most x in the domain MxP (x) : most individuals are P [Mx : A(x)]B(x) is true in a structure if there are more individuals that are A and B than are A and B. Imagine we work with only finite structures: Show that [Mx : A(x)]B(x) cannot be paraphrased as: (a) Mx(A(x) B(x)) (b) Mx(A(x) B(x)) Show that (a) gives a weaker reading, and that (b) gives a stronger reading.
46 Introduction to Logic 46 Beyond FOL How to go beyond these expressive limitations? Use a more powerful logic: like Second Order Logic (SOL), in which we can quantify over properties (sets)! Problem : we lose some nice properties. Second-order logic, for instance, is not only undecidable, but even incomplete. It is also non-compact (since it can express finiteness of a domain).
Mathematical Induction
Mathematical Induction In logic, we often want to prove that every member of an infinite set has some feature. E.g., we would like to show: N 1 : is a number 1 : has the feature Φ ( x)(n 1 x! 1 x) How
More informationInvalidity in Predicate Logic
Invalidity in Predicate Logic So far we ve got a method for establishing that a predicate logic argument is valid: do a derivation. But we ve got no method for establishing invalidity. In propositional
More informationMathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson
Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement
More informationFull and Complete Binary Trees
Full and Complete Binary Trees Binary Tree Theorems 1 Here are two important types of binary trees. Note that the definitions, while similar, are logically independent. Definition: a binary tree T is full
More informationCHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs
CHAPTER 3 Methods of Proofs 1. Logical Arguments and Formal Proofs 1.1. Basic Terminology. An axiom is a statement that is given to be true. A rule of inference is a logical rule that is used to deduce
More informationDEFINABLE TYPES IN PRESBURGER ARITHMETIC
DEFINABLE TYPES IN PRESBURGER ARITHMETIC GABRIEL CONANT Abstract. We consider the first order theory of (Z, +,
More information3. Mathematical Induction
3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)
More informationHandout #1: Mathematical Reasoning
Math 101 Rumbos Spring 2010 1 Handout #1: Mathematical Reasoning 1 Propositional Logic A proposition is a mathematical statement that it is either true or false; that is, a statement whose certainty or
More informationCODING TRUE ARITHMETIC IN THE MEDVEDEV AND MUCHNIK DEGREES
CODING TRUE ARITHMETIC IN THE MEDVEDEV AND MUCHNIK DEGREES PAUL SHAFER Abstract. We prove that the first-order theory of the Medvedev degrees, the first-order theory of the Muchnik degrees, and the third-order
More informationCertamen 1 de Representación del Conocimiento
Certamen 1 de Representación del Conocimiento Segundo Semestre 2012 Question: 1 2 3 4 5 6 7 8 9 Total Points: 2 2 1 1 / 2 1 / 2 3 1 1 / 2 1 1 / 2 12 Here we show one way to solve each question, but there
More informationx < y iff x < y, or x and y are incomparable and x χ(x,y) < y χ(x,y).
12. Large cardinals The study, or use, of large cardinals is one of the most active areas of research in set theory currently. There are many provably different kinds of large cardinals whose descriptions
More informationFactorization in Polynomial Rings
Factorization in Polynomial Rings These notes are a summary of some of the important points on divisibility in polynomial rings from 17 and 18 of Gallian s Contemporary Abstract Algebra. Most of the important
More informationLecture 16 : Relations and Functions DRAFT
CS/Math 240: Introduction to Discrete Mathematics 3/29/2011 Lecture 16 : Relations and Functions Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT In Lecture 3, we described a correspondence
More informationCS 3719 (Theory of Computation and Algorithms) Lecture 4
CS 3719 (Theory of Computation and Algorithms) Lecture 4 Antonina Kolokolova January 18, 2012 1 Undecidable languages 1.1 Church-Turing thesis Let s recap how it all started. In 1990, Hilbert stated a
More informationPredicate Logic. Example: All men are mortal. Socrates is a man. Socrates is mortal.
Predicate Logic Example: All men are mortal. Socrates is a man. Socrates is mortal. Note: We need logic laws that work for statements involving quantities like some and all. In English, the predicate is
More informationFirst-Order Logics and Truth Degrees
First-Order Logics and Truth Degrees George Metcalfe Mathematics Institute University of Bern LATD 2014, Vienna Summer of Logic, 15-19 July 2014 George Metcalfe (University of Bern) First-Order Logics
More informationChapter 3. Cartesian Products and Relations. 3.1 Cartesian Products
Chapter 3 Cartesian Products and Relations The material in this chapter is the first real encounter with abstraction. Relations are very general thing they are a special type of subset. After introducing
More informationThis asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements.
3. Axioms of Set theory Before presenting the axioms of set theory, we first make a few basic comments about the relevant first order logic. We will give a somewhat more detailed discussion later, but
More informationFinite dimensional topological vector spaces
Chapter 3 Finite dimensional topological vector spaces 3.1 Finite dimensional Hausdorff t.v.s. Let X be a vector space over the field K of real or complex numbers. We know from linear algebra that the
More informationIf an English sentence is ambiguous, it may allow for more than one adequate transcription.
Transcription from English to Predicate Logic General Principles of Transcription In transcribing an English sentence into Predicate Logic, some general principles apply. A transcription guide must be
More informationDiscrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2
CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 Proofs Intuitively, the concept of proof should already be familiar We all like to assert things, and few of us
More informationBasic Proof Techniques
Basic Proof Techniques David Ferry dsf43@truman.edu September 13, 010 1 Four Fundamental Proof Techniques When one wishes to prove the statement P Q there are four fundamental approaches. This document
More informationit is easy to see that α = a
21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UF. Therefore
More informationINCIDENCE-BETWEENNESS GEOMETRY
INCIDENCE-BETWEENNESS GEOMETRY MATH 410, CSUSM. SPRING 2008. PROFESSOR AITKEN This document covers the geometry that can be developed with just the axioms related to incidence and betweenness. The full
More informationWRITING PROOFS. Christopher Heil Georgia Institute of Technology
WRITING PROOFS Christopher Heil Georgia Institute of Technology A theorem is just a statement of fact A proof of the theorem is a logical explanation of why the theorem is true Many theorems have this
More informationEquality and dependent type theory. Oberwolfach, March 2 (with some later corrections)
Oberwolfach, March 2 (with some later corrections) The Axiom of Univalence, a type-theoretic view point In type theory, we reduce proof-checking to type-checking Hence we want type-checking to be decidable
More informationLecture 17 : Equivalence and Order Relations DRAFT
CS/Math 240: Introduction to Discrete Mathematics 3/31/2011 Lecture 17 : Equivalence and Order Relations Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Last lecture we introduced the notion
More informationAlgorithmic Software Verification
Algorithmic Software Verification (LTL Model Checking) Azadeh Farzan What is Verification Anyway? Proving (in a formal way) that program satisfies a specification written in a logical language. Formal
More informationIntroduction to Automata Theory. Reading: Chapter 1
Introduction to Automata Theory Reading: Chapter 1 1 What is Automata Theory? Study of abstract computing devices, or machines Automaton = an abstract computing device Note: A device need not even be a
More information2. The Language of First-order Logic
2. The Language of First-order Logic KR & R Brachman & Levesque 2005 17 Declarative language Before building system before there can be learning, reasoning, planning, explanation... need to be able to
More informationDIVISIBILITY AND GREATEST COMMON DIVISORS
DIVISIBILITY AND GREATEST COMMON DIVISORS KEITH CONRAD 1 Introduction We will begin with a review of divisibility among integers, mostly to set some notation and to indicate its properties Then we will
More informationThe Recovery of a Schema Mapping: Bringing Exchanged Data Back
The Recovery of a Schema Mapping: Bringing Exchanged Data Back MARCELO ARENAS and JORGE PÉREZ Pontificia Universidad Católica de Chile and CRISTIAN RIVEROS R&M Tech Ingeniería y Servicios Limitada A schema
More informationON FUNCTIONAL SYMBOL-FREE LOGIC PROGRAMS
PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY Physical and Mathematical Sciences 2012 1 p. 43 48 ON FUNCTIONAL SYMBOL-FREE LOGIC PROGRAMS I nf or m at i cs L. A. HAYKAZYAN * Chair of Programming and Information
More information8 Divisibility and prime numbers
8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express
More informationCHAPTER 7 GENERAL PROOF SYSTEMS
CHAPTER 7 GENERAL PROOF SYSTEMS 1 Introduction Proof systems are built to prove statements. They can be thought as an inference machine with special statements, called provable statements, or sometimes
More informationLecture notes - Model Theory (Math 411) Autumn 2002.
Lecture notes - Model Theory (Math 411) Autumn 2002. Anand Pillay December 9, 2002 1 Notation and review. Let me begin by briefly discussing many-sorted structures. Although in most of the course I will
More informationThe Syntax of Predicate Logic
The Syntax of Predicate Logic LX 502 Semantics I October 11, 2008 1. Below the Sentence-Level In Propositional Logic, atomic propositions correspond to simple sentences in the object language. Since atomic
More informationChapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.
Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. We begin by defining the ring of polynomials with coefficients in a ring R. After some preliminary results, we specialize
More informationFundamentele Informatica II
Fundamentele Informatica II Answer to selected exercises 1 John C Martin: Introduction to Languages and the Theory of Computation M.M. Bonsangue (and J. Kleijn) Fall 2011 Let L be a language. It is clear
More informationThe sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].
Probability Theory Probability Spaces and Events Consider a random experiment with several possible outcomes. For example, we might roll a pair of dice, flip a coin three times, or choose a random real
More information10.4 Traditional Subject Predicate Propositions
M10_COPI1396_13_SE_C10.QXD 10/22/07 8:42 AM Page 445 10.4 Traditional Subject Predicate Propositions 445 Continuing to assume the existence of at least one individual, we can say, referring to this square,
More informationCOMMUTATIVE RINGS. Definition: A domain is a commutative ring R that satisfies the cancellation law for multiplication:
COMMUTATIVE RINGS Definition: A commutative ring R is a set with two operations, addition and multiplication, such that: (i) R is an abelian group under addition; (ii) ab = ba for all a, b R (commutative
More informationDedekind s forgotten axiom and why we should teach it (and why we shouldn t teach mathematical induction in our calculus classes)
Dedekind s forgotten axiom and why we should teach it (and why we shouldn t teach mathematical induction in our calculus classes) by Jim Propp (UMass Lowell) March 14, 2010 1 / 29 Completeness Three common
More informationFixed-Point Logics and Computation
1 Fixed-Point Logics and Computation Symposium on the Unusual Effectiveness of Logic in Computer Science University of Cambridge 2 Mathematical Logic Mathematical logic seeks to formalise the process of
More informationLecture 8: Resolution theorem-proving
Comp24412 Symbolic AI Lecture 8: Resolution theorem-proving Ian Pratt-Hartmann Room KB2.38: email: ipratt@cs.man.ac.uk 2014 15 In the previous Lecture, we met SATCHMO, a first-order theorem-prover implemented
More informationJaakko Hintikka Boston University. and. Ilpo Halonen University of Helsinki INTERPOLATION AS EXPLANATION
Jaakko Hintikka Boston University and Ilpo Halonen University of Helsinki INTERPOLATION AS EXPLANATION INTERPOLATION AS EXPLANATION In the study of explanation, one can distinguish two main trends. On
More informationk, then n = p2α 1 1 pα k
Powers of Integers An integer n is a perfect square if n = m for some integer m. Taking into account the prime factorization, if m = p α 1 1 pα k k, then n = pα 1 1 p α k k. That is, n is a perfect square
More informationMathematical Induction
Mathematical Induction (Handout March 8, 01) The Principle of Mathematical Induction provides a means to prove infinitely many statements all at once The principle is logical rather than strictly mathematical,
More informationOverview of E0222: Automata and Computability
Overview of E0222: Automata and Computability Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. August 3, 2011 What this course is about What we study
More informationQuotient Rings and Field Extensions
Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.
More informationUniversity of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees
University of Ostrava Institute for Research and Applications of Fuzzy Modeling Reasoning in Description Logic with Semantic Tableau Binary Trees Alena Lukasová Research report No. 63 2005 Submitted/to
More informationComputability Theory
CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Computability Theory This section is partly inspired by the material in A Course in Mathematical Logic by Bell and Machover, Chap 6, sections 1-10.
More information! " # The Logic of Descriptions. Logics for Data and Knowledge Representation. Terminology. Overview. Three Basic Features. Some History on DLs
,!0((,.+#$),%$(-&.& *,2(-$)%&2.'3&%!&, Logics for Data and Knowledge Representation Alessandro Agostini agostini@dit.unitn.it University of Trento Fausto Giunchiglia fausto@dit.unitn.it The Logic of Descriptions!$%&'()*$#)
More informationSoftware Verification and Testing. Lecture Notes: Temporal Logics
Software Verification and Testing Lecture Notes: Temporal Logics Motivation traditional programs (whether terminating or non-terminating) can be modelled as relations are analysed wrt their input/output
More informationThe composition of Mappings in a Nautural Interface
Composing Schema Mappings: Second-Order Dependencies to the Rescue Ronald Fagin IBM Almaden Research Center fagin@almaden.ibm.com Phokion G. Kolaitis UC Santa Cruz kolaitis@cs.ucsc.edu Wang-Chiew Tan UC
More informationSo let us begin our quest to find the holy grail of real analysis.
1 Section 5.2 The Complete Ordered Field: Purpose of Section We present an axiomatic description of the real numbers as a complete ordered field. The axioms which describe the arithmetic of the real numbers
More informationcalculating the result modulo 3, as follows: p(0) = 0 3 + 0 + 1 = 1 0,
Homework #02, due 1/27/10 = 9.4.1, 9.4.2, 9.4.5, 9.4.6, 9.4.7. Additional problems recommended for study: (9.4.3), 9.4.4, 9.4.9, 9.4.11, 9.4.13, (9.4.14), 9.4.17 9.4.1 Determine whether the following polynomials
More informationLecture 13 of 41. More Propositional and Predicate Logic
Lecture 13 of 41 More Propositional and Predicate Logic Monday, 20 September 2004 William H. Hsu, KSU http://www.kddresearch.org http://www.cis.ksu.edu/~bhsu Reading: Sections 8.1-8.3, Russell and Norvig
More informationAikaterini Marazopoulou
Imperial College London Department of Computing Tableau Compiled Labelled Deductive Systems with an application to Description Logics by Aikaterini Marazopoulou Submitted in partial fulfilment of the requirements
More information(LMCS, p. 317) V.1. First Order Logic. This is the most powerful, most expressive logic that we will examine.
(LMCS, p. 317) V.1 First Order Logic This is the most powerful, most expressive logic that we will examine. Our version of first-order logic will use the following symbols: variables connectives (,,,,
More informationINTRODUCTORY SET THEORY
M.Sc. program in mathematics INTRODUCTORY SET THEORY Katalin Károlyi Department of Applied Analysis, Eötvös Loránd University H-1088 Budapest, Múzeum krt. 6-8. CONTENTS 1. SETS Set, equal sets, subset,
More informationFirst-Order Theories
First-Order Theories Ruzica Piskac Max Planck Institute for Software Systems, Germany piskac@mpi-sws.org Seminar on Decision Procedures 2012 Ruzica Piskac First-Order Theories 1 / 39 Acknowledgments Theories
More informationSummary Last Lecture. Automated Reasoning. Outline of the Lecture. Definition sequent calculus. Theorem (Normalisation and Strong Normalisation)
Summary Summary Last Lecture sequent calculus Automated Reasoning Georg Moser Institute of Computer Science @ UIBK Winter 013 (Normalisation and Strong Normalisation) let Π be a proof in minimal logic
More informationPredicate Logic Review
Predicate Logic Review UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane 1 Grammar A term is an individual constant or a variable. An individual constant is a lowercase letter from the beginning
More informationTHE BANACH CONTRACTION PRINCIPLE. Contents
THE BANACH CONTRACTION PRINCIPLE ALEX PONIECKI Abstract. This paper will study contractions of metric spaces. To do this, we will mainly use tools from topology. We will give some examples of contractions,
More informationScalable Automated Symbolic Analysis of Administrative Role-Based Access Control Policies by SMT solving
Scalable Automated Symbolic Analysis of Administrative Role-Based Access Control Policies by SMT solving Alessandro Armando 1,2 and Silvio Ranise 2, 1 DIST, Università degli Studi di Genova, Italia 2 Security
More informationOn the generation of elliptic curves with 16 rational torsion points by Pythagorean triples
On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples Brian Hilley Boston College MT695 Honors Seminar March 3, 2006 1 Introduction 1.1 Mazur s Theorem Let C be a
More informationBindings, mobility of bindings, and the -quantifier
ICMS, 26 May 2007 1/17 Bindings, mobility of bindings, and the -quantifier Dale Miller, INRIA-Saclay and LIX, École Polytechnique This talk is based on papers with Tiu in LICS2003 & ACM ToCL, and experience
More informationMatrix Representations of Linear Transformations and Changes of Coordinates
Matrix Representations of Linear Transformations and Changes of Coordinates 01 Subspaces and Bases 011 Definitions A subspace V of R n is a subset of R n that contains the zero element and is closed under
More informationCMPSCI 250: Introduction to Computation. Lecture #19: Regular Expressions and Their Languages David Mix Barrington 11 April 2013
CMPSCI 250: Introduction to Computation Lecture #19: Regular Expressions and Their Languages David Mix Barrington 11 April 2013 Regular Expressions and Their Languages Alphabets, Strings and Languages
More informationTHE SEARCH FOR NATURAL DEFINABILITY IN THE TURING DEGREES
THE SEARCH FOR NATURAL DEFINABILITY IN THE TURING DEGREES ANDREW E.M. LEWIS 1. Introduction This will be a course on the Turing degrees. We shall assume very little background knowledge: familiarity with
More information1 if 1 x 0 1 if 0 x 1
Chapter 3 Continuity In this chapter we begin by defining the fundamental notion of continuity for real valued functions of a single real variable. When trying to decide whether a given function is or
More informationMatrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.
Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that
More informationPage 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.
Page 331, 38.2 Assignment #11 Solutions Factor the following positive integers into primes. a. 25 = 5 2. b. 4200 = 2 3 3 5 2 7. c. 10 10 = 2 10 5 10. d. 19 = 19. e. 1 = 1. Page 331, 38.4 Suppose a is a
More informationMODELS OF SET THEORY
MODELS OF SET THEORY STEFAN GESCHKE Contents 1. First order logic and the axioms of set theory 2 1.1. Syntax 2 1.2. Semantics 2 1.3. Completeness, compactness and consistency 3 1.4. Foundations of mathematics
More informationMATH 289 PROBLEM SET 4: NUMBER THEORY
MATH 289 PROBLEM SET 4: NUMBER THEORY 1. The greatest common divisor If d and n are integers, then we say that d divides n if and only if there exists an integer q such that n = qd. Notice that if d divides
More informationPredicate Logic. For example, consider the following argument:
Predicate Logic The analysis of compound statements covers key aspects of human reasoning but does not capture many important, and common, instances of reasoning that are also logically valid. For example,
More informationSolutions to Math 51 First Exam January 29, 2015
Solutions to Math 5 First Exam January 29, 25. ( points) (a) Complete the following sentence: A set of vectors {v,..., v k } is defined to be linearly dependent if (2 points) there exist c,... c k R, not
More informationSolutions to In-Class Problems Week 4, Mon.
Massachusetts Institute of Technology 6.042J/18.062J, Fall 05: Mathematics for Computer Science September 26 Prof. Albert R. Meyer and Prof. Ronitt Rubinfeld revised September 26, 2005, 1050 minutes Solutions
More informationTranslation Guide. Not both P and Q ~(P Q) Not either P or Q (neither/nor)
Translation Guide If P, then Q (P Q) P, if Q (Q P) What follows if is the antecedent of a conditional. P, provided that Q (Q P) Provided that means if. Assuming that, given that, etc., work the same way.
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a
More information3515ICT Theory of Computation Turing Machines
Griffith University 3515ICT Theory of Computation Turing Machines (Based loosely on slides by Harald Søndergaard of The University of Melbourne) 9-0 Overview Turing machines: a general model of computation
More informationON SEQUENTIAL CONTINUITY OF COMPOSITION MAPPING. 0. Introduction
ON SEQUENTIAL CONTINUITY OF COMPOSITION MAPPING Abstract. In [1] there was proved a theorem concerning the continuity of the composition mapping, and there was announced a theorem on sequential continuity
More information5544 = 2 2772 = 2 2 1386 = 2 2 2 693. Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1
MATH 13150: Freshman Seminar Unit 8 1. Prime numbers 1.1. Primes. A number bigger than 1 is called prime if its only divisors are 1 and itself. For example, 3 is prime because the only numbers dividing
More informationPropositional Logic. A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both.
irst Order Logic Propositional Logic A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both. Are the following sentences propositions? oronto
More informationSoftware Modeling and Verification
Software Modeling and Verification Alessandro Aldini DiSBeF - Sezione STI University of Urbino Carlo Bo Italy 3-4 February 2015 Algorithmic verification Correctness problem Is the software/hardware system
More informationMAT-71506 Program Verication: Exercises
MAT-71506 Program Verication: Exercises Antero Kangas Tampere University of Technology Department of Mathematics September 11, 2014 Accomplishment Exercises are obligatory and probably the grades will
More informationThe Division Algorithm for Polynomials Handout Monday March 5, 2012
The Division Algorithm for Polynomials Handout Monday March 5, 0 Let F be a field (such as R, Q, C, or F p for some prime p. This will allow us to divide by any nonzero scalar. (For some of the following,
More informationSMALL SKEW FIELDS CÉDRIC MILLIET
SMALL SKEW FIELDS CÉDRIC MILLIET Abstract A division ring of positive characteristic with countably many pure types is a field Wedderburn showed in 1905 that finite fields are commutative As for infinite
More informationGraph Theory Problems and Solutions
raph Theory Problems and Solutions Tom Davis tomrdavis@earthlink.net http://www.geometer.org/mathcircles November, 005 Problems. Prove that the sum of the degrees of the vertices of any finite graph is
More informationI. GROUPS: BASIC DEFINITIONS AND EXAMPLES
I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +
More informationCartesian Products and Relations
Cartesian Products and Relations Definition (Cartesian product) If A and B are sets, the Cartesian product of A and B is the set A B = {(a, b) :(a A) and (b B)}. The following points are worth special
More informationTuring Degrees and Definability of the Jump. Theodore A. Slaman. University of California, Berkeley. CJuly, 2005
Turing Degrees and Definability of the Jump Theodore A. Slaman University of California, Berkeley CJuly, 2005 Outline Lecture 1 Forcing in arithmetic Coding and decoding theorems Automorphisms of countable
More informationEQUATIONAL LOGIC AND ABSTRACT ALGEBRA * ABSTRACT
EQUATIONAL LOGIC AND ABSTRACT ALGEBRA * Taje I. Ramsamujh Florida International University Mathematics Department ABSTRACT Equational logic is a formalization of the deductive methods encountered in studying
More informationMathematical Induction. Lecture 10-11
Mathematical Induction Lecture 10-11 Menu Mathematical Induction Strong Induction Recursive Definitions Structural Induction Climbing an Infinite Ladder Suppose we have an infinite ladder: 1. We can reach
More informationLEARNING OBJECTIVES FOR THIS CHAPTER
CHAPTER 2 American mathematician Paul Halmos (1916 2006), who in 1942 published the first modern linear algebra book. The title of Halmos s book was the same as the title of this chapter. Finite-Dimensional
More informationFormal Languages and Automata Theory - Regular Expressions and Finite Automata -
Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March
More informationFACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z
FACTORING POLYNOMIALS IN THE RING OF FORMAL POWER SERIES OVER Z DANIEL BIRMAJER, JUAN B GIL, AND MICHAEL WEINER Abstract We consider polynomials with integer coefficients and discuss their factorization
More informationArkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan
Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan 3 Binary Operations We are used to addition and multiplication of real numbers. These operations combine two real numbers
More information