Propositional and Predicate Logic - VII

Similar documents
Propositional and Predicate Logic - II

Propositional and Predicate Logic - IV

Propositional and Predicate Logic - XIII

Propositional and Predicate Logic - V

Propositional Logics and their Algebraic Equivalents

Basic Algebraic Logic

Propositional Logic Language

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

03 Review of First-Order Logic

PRESERVATION THEOREMS IN LUKASIEWICZ MODEL THEORY

VAUGHT S THEOREM: THE FINITE SPECTRUM OF COMPLETE THEORIES IN ℵ 0. Contents

Syntactic Characterisations in Model Theory

Lecture 2: Syntax. January 24, 2018

On expansions of the real field by complex subgroups

Qualifying Exam Logic August 2005

CHAPTER 11. Introduction to Intuitionistic Logic

Some consequences of compactness in Lukasiewicz Predicate Logic

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

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

Propositional Logic: Models and Proofs

AMS regional meeting Bloomington, IN April 1, 2017

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

2.2 Lowenheim-Skolem-Tarski theorems

Forcing in Lukasiewicz logic

A MODEL-THEORETIC PROOF OF HILBERT S NULLSTELLENSATZ

Equational Logic. Chapter Syntax Terms and Term Algebras

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.

Gödel s Completeness Theorem

An Introduction to Modal Logic III

Part II. Logic and Set Theory. Year

CMPS 217 Logic in Computer Science. Lecture #17

Boolean Algebra and Propositional Logic

The Countable Henkin Principle

Informal Statement Calculus

Boolean Algebra and Propositional Logic

Logic via Algebra. Sam Chong Tay. A Senior Exercise in Mathematics Kenyon College November 29, 2012

Introduction to Model Theory

Logic Synthesis and Verification

Löwenheim-Skolem Theorems, Countable Approximations, and L ω. David W. Kueker (Lecture Notes, Fall 2007)

First Order Logic: Syntax and Semantics

A STUDY OF TRUTH PREDICATES IN MATRIX SEMANTICS

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang

185.A09 Advanced Mathematical Logic

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Neighborhood Semantics for Modal Logic Lecture 3

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates

Classical First-Order Logic

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

More Model Theory Notes

CSE 1400 Applied Discrete Mathematics Definitions

March 3, The large and small in model theory: What are the amalgamation spectra of. infinitary classes? John T. Baldwin

A Little Logic. Propositional Logic. Satisfiability Problems. Solving Sudokus. First Order Logic. Logic Programming

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2

INF3170 Logikk Spring Homework #8 For Friday, March 18

Abstract model theory for extensions of modal logic

Propositional Logic: Part II - Syntax & Proofs 0-0

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University

Final Exam (100 points)

First Order Logic (FOL) 1 znj/dm2017

Tutorial on Universal Algebra, Mal cev Conditions, and Finite Relational Structures: Lecture I

Positive provability logic

MATH 770 : Foundations of Mathematics. Fall Itay Ben-Yaacov

1. Propositional Calculus

CHAPTER 2. FIRST ORDER LOGIC

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Logics for Compact Hausdorff Spaces via de Vries Duality

1. Propositional Calculus

ECE473 Lecture 15: Propositional Logic

AN EXTENSION OF THE PROBABILITY LOGIC LP P 2. Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018

3 Propositional Logic

Comp487/587 - Boolean Formulas

Logic Part I: Classical Logic and Its Semantics

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS

COMP 409: Logic Homework 5

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

Relations to first order logic

A Tableau Calculus for Minimal Modal Model Generation

3. Abstract Boolean Algebras

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Boolean Algebra CHAPTER 15

Handout: Proof of the completeness theorem

Introduction. Itaï Ben-Yaacov C. Ward Henson. September American Institute of Mathematics Workshop. Continuous logic Continuous model theory

Scott Sentences in Uncountable Structures

UNIT-I: Propositional Logic

Introduction to Sets and Logic (MATH 1190)

Methods of AI. Practice Session 7 Kai-Uwe Kühnberger Dec. 13 th, 2002

Automata, Logic and Games: Theory and Application

Truth-Functional Logic

Disjoint n-amalgamation

DISJOINT-UNION PARTIAL ALGEBRAS

Predicate Logic: Sematics Part 1

UNIVERSITY OF EAST ANGLIA. School of Mathematics UG End of Year Examination MATHEMATICAL LOGIC WITH ADVANCED TOPICS MTH-4D23

Propositional logic (revision) & semantic entailment. p. 1/34

A DISCUSSION OF KEISLER S ORDER

Part I: Propositional Calculus

LINDSTRÖM S THEOREM SALMAN SIDDIQI

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

Modal logics and their semantics

Transcription:

Propositional and Predicate Logic - VII Petr Gregor KTIML MFF UK WS 2015/2016 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 1 / 11

Theory Validity in a theory A theory of a language L is any set T of formulas of L (so called axioms). A model of a theory T is an L-structure A such that A = ϕ for every ϕ T. Then we write A = T and we say that A satisfies T. The class of models of a theory T is M(T ) = {A M(L) A = T }. A formula ϕ is valid in T (true in T ), denoted by T = ϕ, if A = ϕ for every model A of T. Otherwise, we write T = ϕ. ϕ is contradictory in T if T = ϕ, i.e. ϕ is contradictory in all models of T. ϕ is independent in T if it is neither valid nor contradictory in T. If T =, we have M(T ) = M(L) and we omit T, eventually we say in logic. Then = ϕ means that ϕ is (logically) valid (a tautology). A consequence of T is the set θ L (T ) of all sentences of L valid in T, i.e. θ L (T ) = {ϕ Fm L T = ϕ and ϕ is a sentence}. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 2 / 11

Theory Example of a theory The theory of orderings T of the language L = with equality has axioms x x (reflexivity) x y y x x = y (antisymmetry) x y y z x z (transitivity) Models of T are L-structures S, S, so called ordered sets, that satisfy the axioms of T, for example A = N, or B = P(X ), for X = {0, 1, 2}. The formula ϕ: x y y x is valid in A but not in B since B = ϕ[e] for the assignment e(x) = {0}, e(y) = {1}, thus ϕ is independent in T. The sentence ψ : ( x)( y)(y x) is valid in B and contradictory in A, hence it is independent in T as well. We write B = ψ, A = ψ. The formula χ: (x y y z z x) (x = y y = z) is valid in T, denoted by T = χ, the same holds for its universal closure. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 3 / 11

Theory Properties of theories A theory T of a language L is (semantically) inconsistent if T =, otherwise T is consistent (satisfiable), complete if it is consistent and every sentence of L is valid in T or contradictory in T, an extension of a theory T of language L if L L and θ L (T ) θ L (T ), we say that an extension T of a theory T is simple if L = L ; and conservative if θ L (T ) = θ L (T ) Fm L, equivalent with a theory T if T is an extension of T and vice-versa, Structures A, B for a language L are elementarily equivalent, denoted by A B, if they satisfy the same sentences of L. Observation Let T and T be theories of a language L. T is (semantically) (1) consistent if and only if it has a model, (2) complete iff it has a single model, up to elementarily equivalence, (3) an extension of T if and only if M(T ) M(T ), (4) equivalent with T if and only if M(T ) = M(T ). Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 4 / 11

Theory Unsatisfiability and validity The problem of validity in a theory can be transformed to the problem of satisfiability of (another) theory. Proposition For every theory T and sentence ϕ (of the same language) T, ϕ is unsatisfiable T = ϕ. Proof By definitions, it is equivalent that (1) T, ϕ is unsatisfiable (i.e. it has no model), (2) ϕ is not valid in any model of T, (3) ϕ is valid in every model of T, (4) T = ϕ. Remark The assumption that ϕ is a sentence is necessary for (2) (3). For example, the theory {P(c), P(x)} is unsatisfiable, but P(c) = P(x), where P is a unary relation symbol and c is a constant symbol. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 5 / 11

Substructure, expansion, reduct Substructures Let A = A, R A, F A and B = B, R B, F B be structures for L = R, F. We say that B is an (induced) substructure of A, denoted by B A, if (i) B A, (ii) R B = R A B ar(r) for every R R, (iii) f B = f A (B ar(f ) B); that is, f B = f A B ar(f ), for every f F. A set C A is a domain of some substructure of A if and only if C is closed under all functions of A. Then the respective substructure, denoted by A C, is said to be the restriction of the structure A to C. A set C A is closed under a function f : A n A if f (x 0,..., x n 1 ) C for every x 0,..., x n 1 C. Example: Z = Z, +,, 0 is a substructure of Q = Q, +,, 0 and Z = Q Z. Furthermore, N = N, +,, 0 is their substructure and N = Q N = Z N. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 6 / 11

Substructure, expansion, reduct Validity in a substructure Let B be a substructure of a structure A for a (fixed) language L. Proposition For every open formula ϕ and assignment e : Var B, A = ϕ[e] if and only if B = ϕ[e]. Proof For atomic ϕ it follows from the definition of the truth value with respect to an assignment. Otherwise by induction on the structure of the formula. Corollary For every open formula ϕ and structure A, A = ϕ if and only if B = ϕ for every substructure B A. A theory T is open if all axioms of T are open. Corollary Every substructure of a model of an open theory T is a model of T. For example, every substructure of a graph, i.e. a model of theory of graphs, is a graph, called a subgraph. Similarly subgroups, Boolean subalgebras, etc. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 7 / 11

Substructure, expansion, reduct Generated substructure, expansion, reduct Let A = A, R A, F A be a structure and X A. Let B be the smallest subset of A containing X that is closed under all functions of the structure A (including constants). Then the structure A B is denoted by A X and is called the substructure of A generated by the set X. Example: for Q = Q, +,, 0, Z = Z, +,, 0, N = N, +,, 0 it is Q {1} = N, Q { 1} = Z, and Q {2} is the substructure on all even natural numbers. Let A be a structure for a language L and L L. By omitting realizations of symbols that are not in L we obtain from A a structure A called the reduct of A to the language L. Conversely, A is an expansion of A into L. For example, N, + is a reduct of N, +,, 0. On the other hand, the structure N, +, c i i N with c i = i for every i N is the expansion of N, + by names of elements from N. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 8 / 11

Substructure, expansion, reduct Theorem on constants Theorem Let ϕ be a formula in a language L with free variables x 1,..., x n and let T be a theory in L. Let L be the extension of L with new constant symbols c 1,..., c n and let T denote the theory T in L. Then T = ϕ if and only if T = ϕ(x 1 /c 1,..., x n /c n ). Proof ( ) If A is a model of T, let A be the reduct of A to L. Since A = ϕ[e] for every assignment e, we have in particular A = ϕ[e(x 1 /c A 1,..., x n /c A n )], i.e. A = ϕ(x 1 /c 1,..., x n /c n ). ( ) If A is a model of T and e an assignment, let A be the expansion of A into L by setting c A i = e(x i ) for every i. Since A = ϕ(x 1 /c 1,..., x n /c n )[e ] for every assignment e, we have A = ϕ[e(x 1 /c A 1,..., x n /c A n )], i.e. A = ϕ[e]. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 9 / 11

Boolean algebras Boolean algebras The theory of Boolean algebras has the language L =,,, 0, 1 with equality and the following axioms. x (y z) = (x y) z (asociativity of ) x (y z) = (x y) z (asociativity of ) x y = y x (commutativity of ) x y = y x (commutativity of ) x (y z) = (x y) (x z) (distributivity of over ) x (y z) = (x y) (x z) (distributivity of over ) x (x y) = x, x (x y) = x (absorption) x ( x) = 1, x ( x) = 0 (complementation) 0 1 (non-triviality) The smallest model is 2 = 2, 1, 1, 1, 0, 1. Finite Boolean algebras are (up to isomorphism) exactly n 2 = n 2, n, n, n, 0 n, 1 n for n N +, where the operations (on binary n-tuples) are the coordinate-wise operations of 2. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 10 / 11

Boolean algebras Relations of propositional and predicate logic Propositional formulas over connectives,, (eventually with, ) can be viewed as Boolean terms. Then the truth value of ϕ in a given assignment is the value of the term in the Boolean algebra 2. Lindenbaum-Tarski algebra over P is Boolean algebra (also for P infinite). If we represent atomic subformulas in an open formula ϕ (without equality) with propositional letters, we obtain a proposition that is valid if and only if ϕ is valid. Propositional logic can be introduced as a fragment of predicate logic using nullary relation symbols (syntax) and nullary relations (semantics) since A 0 = { } = 1, so R A A 0 is either R A = = 0 or R A = { } = 1. Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 11 / 11