Lecture 7. Logic III. Axiomatic description of properties of relations.

Similar documents
Lecture 4. Algebra. Section 1:. Signature, algebra in a signature. Isomorphisms, homomorphisms, congruences and quotient algebras.

Lecture 12. Statement Logic as a word algebra on the set of atomic statements. Lindenbaum algebra.

Spring Based on Partee, ter Meulen, & Wall (1993), Mathematical Methods in Linguistics

Lecture 4. Algebra, continued Section 2: Lattices and Boolean algebras

Relations. Relations. Definition. Let A and B be sets.

b. N/kerF = { {x x is an even number}, {x x is an odd number} } This will be the carrier set of the algebra.

Completeness of Star-Continuity

Lecture 9. Model theory. Consistency, independence, completeness, categoricity of axiom systems. Expanded with algebraic view.

Foundations of Mathematics Worksheet 2

Relations. Carl Pollard. October 11, Department of Linguistics Ohio State University

Today. Binary relations establish a relationship between elements of two sets

Lecture 7. Logic. Section1: Statement Logic.

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

Definitions: A binary relation R on a set X is (a) reflexive if x X : xrx; (f) asymmetric if x, x X : [x Rx xr c x ]

Relations. P. Danziger. We may represent a relation by a diagram in which a line is drawn between two elements if they are related.

CHAPTER THREE: RELATIONS AND FUNCTIONS

Mathematics for linguists

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)

MATH 433 Applied Algebra Lecture 14: Functions. Relations.

An Introduction to Modal Logic V

1 Initial Notation and Definitions

Preservation of graded properties of fuzzy relations by aggregation functions

Modal logics: an introduction

EQUIVALENCE RELATIONS (NOTES FOR STUDENTS) 1. RELATIONS

1. Let r, s, t, v be the homogeneous relations defined on the set M = {2, 3, 4, 5, 6} by

Properties of Binary Relations

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Properties of the Integers

Reading 11 : Relations and Functions

Equivalence Relations and Partitions, Normal Subgroups, Quotient Groups, and Homomorphisms

Lecture 1: Overview. January 24, 2018

Mathematical Logics Modal Logic: Introduction*

Generating Permutations and Combinations

Discrete Mathematics

Equational Logic and Term Rewriting: Lecture I

Relations to first order logic

Lecture 7.3: Ring homomorphisms

.. Discrete Mathematics. Yi Li. June 9, Software School Fudan University. Yi Li (Fudan University) Discrete Mathematics June 9, / 15

Week 4-5: Generating Permutations and Combinations

Lecture Notes: Selected Topics in Discrete Structures. Ulf Nilsson

Lecture 4: Constructing the Integers, Rationals and Reals

Algebraic structures I

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

CS156: The Calculus of Computation

Equational Logic. Chapter 4

HOMOLOGY THEORIES INGRID STARKEY

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

Equational Logic. Chapter Syntax Terms and Term Algebras

Homework Problems Some Even with Solutions

Modal and temporal logic

Section 18 Rings and fields

Exercises for the Logic Course

Outline. We will now investigate the structure of this important set.

Herbrand Theorem, Equality, and Compactness

Axioms of Kleene Algebra

Week 4-5: Binary Relations

127: Lecture notes HT17. Week 8. (1) If Oswald didn t shoot Kennedy, someone else did. (2) If Oswald hadn t shot Kennedy, someone else would have.

Math 3000 Section 003 Intro to Abstract Math Final Exam

CS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati

Boolean Algebra and Propositional Logic

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Boolean Algebra and Propositional Logic

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

Philosophy 240: Symbolic Logic

Propositional and Predicate Logic - VII

Lecture 7: Relations

Properties of Boolean Algebras

Joseph Muscat Universal Algebras. 1 March 2013

Categories and functors

A Journey through the Possible Worlds of Modal Logic Lecture 1: Introduction to modal logics

Handout #6 INTRODUCTION TO ALGEBRAIC STRUCTURES: Prof. Moseley AN ALGEBRAIC FIELD

9 RELATIONS. 9.1 Reflexive, symmetric and transitive relations. MATH Foundations of Pure Mathematics

CMPSCI 250: Introduction to Computation. Lecture #11: Equivalence Relations David Mix Barrington 27 September 2013

Foundations of Mathematics

Today s topics. Binary Relations. Inverse Relations. Complementary Relations. Let R:A,B be any binary relation.

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Notes on ordinals and cardinals

Universal Algebra for Logics

Math.3336: Discrete Mathematics. Chapter 9 Relations

Foundations of Mathematics

Foundations of algebra

Discrete Mathematics. 2. Relations

Relations. Binary Relation. Let A and B be sets. A (binary) relation from A to B is a subset of A B. Notation. Let R A B be a relation from A to B.

MATH 145 LECTURE NOTES. Zhongwei Zhao. My Lecture Notes for MATH Fall

Relations. Definition 1 Let A and B be sets. A binary relation R from A to B is any subset of A B.

Week 4-5: Binary Relations

Chapter 6. Relations. 6.1 Relations

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω

Cylindrical Algebraic Decomposition in Coq

Final Exam (100 points)

CS156: The Calculus of Computation Zohar Manna Winter 2010

COMP 409: Logic Homework 5

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

Discrete Structures (2IT50)

Relations MATH Relations. Benjamin V.C. Collins, James A. Swenson MATH 2730

CS2013: Relations and Functions

Math 309 Notes and Homework for Days 4-6

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

Definition List Modern Algebra, Fall 2011 Anders O.F. Hendrickson

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

Transcription:

V. Borschev and B. Partee, October 11, 2001 p. 1 Lecture 7. Logic III. Axiomatic description of properties of relations. CONTENTS 1. Axiomatic description of properties and classes of relations... 1 1.1. Properties of relations... 1 1.1.1. Reflexivity, etc... 1 1.1.2. Symmetry, etc.... 1 1.1.3. Transitivity, etc.... 2 1.1.4. Connectedness:... 2 1.2. Classes of relations... 2 1.2.1. Equivalence relations... 2 1.2.2. Tolerance relations... 2 1.2.3. Orderings... 2 2. Algebra, continued. Section 3: Homomorphisms, congruences and quotient algebras.... 3 2.1. Congruences... 3 2.2. Quotient algebras.... 4 Homework 7... 5 Reading: Chapter 8: 8.5, Chapter 9: 9.1 9.4 of PMW, pp. 206 211, 247-253. 1. Axiomatic description of properties and classes of relations We can use PL to define properties and classes of relations which we studied in Lectures 1-3. Below we will write axioms for different relations using the same binary predicate symbol R. Models in which these axioms (or sets of axioms) will be true will represent corresponding relations. In all cases below, the domain of quantification is the set A on which the relation is defined. 1.1. Properties of relations 1.1.1. Reflexivity, etc. Reflexivity: "xr(x, x) It is easy to see that in every model in which this axiom holds the relation R will be reflexive. Nonreflexivity: $xÿr(x, x) Irreflexivity: "xÿr(x, x) 1.1.2. Symmetry, etc. Symmetry: "x"y(r(x, y) Æ R(y, x)) Nonsymmetry: Asymmetry: $x$y(r(x, y) & ÿr(y, x)) "x"y(r(x, y) Æ ÿr(y, x))

V. Borschev and B. Partee, October 11, 2001 p. 2 Antisymmetry: "x"y((r(x, y) & R(y, x))æ (x = y)) Note. In Lecture 6 we considered Predicate Logic without equality (we did not introduce the predicate = ). To deal with it we need additional syntactic and semantic rules. The syntactic rule simply introduces formulas of the type (x = y) for any pair of variables x, y Œ Var. The natural infix notation is used. The corresponding semantic rule is also natural: _(x = y)_ M,g = 1 iff g(x) = g(y) (or in the terms of operations on D t, _(x = y)_ M,g = _x_ M,g _y_ M,g ). 1.1.3. Transitivity, etc. Transitivity: "x"y"z((r(x, y) & R(y, z)) Æ R(x, z)) Nontransitivity: Intransitivity: 1.1.4. Connectedness: "x"y(r(x, y) R(y, x)) 1.2. Classes of relations $x$y$z(r(x, y) & R(y, z) & ÿr(x, z)) "x"y"z((r(x, y) & R(y, z)) Æ ÿr(x, z)) 1.2.1. Equivalence relations We know that this property of relations needs three axioms together: reflexivity, symmetry and transitivity: 1) "xr(x, x) 2) "x"y(r(x, y) Æ R(y, x)) 3) "x"y"z((r(x, y) & R(y, z)) Æ R(x, z)) 1.2.2. Tolerance relations Here we need only two first ones from equivalence: reflexivity and symmetry: 1) "xr(x, x) 2) "x"y(r(x, y) Æ R(y, x)) 1.2.3. Orderings A relation R is a weak order iff it is transitive, reflexive and antisymmetric: 3) "x"y((r(x, y) & R(y, x))æ (x = y))

V. Borschev and B. Partee, October 11, 2001 p. 3 A strict order is transitive, irreflexive and asymmetric: 2) "xÿr(x, x) 3) "x"y(r(x, y) Æ ÿr(y, x)) For a linear ordering (strict or weak) we need the connectedness axiom to be added, so, for example, linear weak order is defined by the following four axioms: 3) "x"y((r(x, y) & R(y, x))æ (x = y)) 4) "x"y(r(x, y) R(y, x)) A preorder or quasi-order is a relation which is not an order because it violates antisymmetry. For instance, is at least as old as is a weak order on the domain of ages, but it is not a weak order on the domain of people, because John as at least as old as Peter and Peter is at least as old as John do not together entail that John = Peter, only that John and Peter are the same age. (We can transform this preorder into an order by grouping people of the same age into equivalence classes; the relation is at least as old as on these equivalence classes is a weak linear order.) We can derive the axiomatic definition of weak preorder from the definition of weak order by throwing out the condition of antisymmetry. So we have: Thought question: Why isn t is older than on the set of people a strong preorder? What kind of relation is it? 2. Algebra, continued. Section 3: Homomorphisms, congruences and quotient algebras. [Repetition, from Lecture 4, sections 2.2 (here 2.1) and 2.3 (here 2.2), with added examples] 2.1. Congruences. We will say that any equivalence relation on the carrier of an W-algebra holds on the algebra. Some equivalence relations on W-algebras are in close relations with homomorphisms. Given an W-algebra A with the carrier A, we say that an equivalence relation Q on A agrees with the operation w Œ W(n) when for any n-tuples <a 1,..., a n >, <b 1,..., b n > Œ A n we have <w(a 1,..., a n ), w(b 1,..., b n )> Œ Q if < a i, b i > Œ Q for i = 1,, n. Definition. We say that equivalence relation Q on W-algebra A is a congruence on A if it agrees with every operation w Œ W(n).

V. Borschev and B. Partee, October 11, 2001 p. 4 In Lecture 3 we considered notions of a quotient set of the equivalence relations, natural mapping, kernel of a mapping, etc. We will use these notions now. Theorem1. The kernel of a homomorphism is a congruence. Examples. Algebras in the signature W Numb = { zero, one, +, } Let us return to algebras the signature W Numb = { zero, one, +, }: Nat, Parity, Mod4, Mod2 and their homomorphisms that we considered in the Lecture 4. (1) The algebra Nat with the carrier N = {0,1,2,3, }. In this algebra binary operators + and define respectively operations of addition and multiplication in the usual way and 0-ary operators zero and one mark 0 and 1. (2) The algebra Parity with the set {even, odd} as a carrier, 0-ary operators zero and one marking even and odd respectively (zero = even and one = odd) and binary operations + and with obvious tables, that is even + even = even and so on. (3) The homomorphism h: Nat Parity (the function h: N {even, odd} mapping even numbers to even and odd numbers to odd). The quotient set ker h of its kernel equivalence consists of two classes, which we will call Even and Odd : Even = [[0]] = [[36]] (etc) ={0,2,4, } and Odd = [[17]] = [[1]] ={1,3,5, }. It is easy to verify that ker h is a congruence on the algebra Nat, i.e. it agrees with operations of the signature W Numb. For example, if x, y Œ Even and z,w Œ Odd then both (x + z) and (y + w) are odd. (4) The algebras Mod4 and Mod2 and the homomorphism f: Mod4 Æ Mod2 considered in Lecture 4. The quotient set Q = ker f of its kernel equivalence consists of two classes: {0,2} and {1,3}. It is easy to verify that ker h is a congruence on the algebra Mod4. 2.2. Quotient algebras. Theorem 2. Let A be an W-algebra and Q a congruence on A. Then there exists a unique W- algebra on the quotient set A/Q of the carrier A of A such that the natural mapping A Æ A/Q is a homomorphism. We will denote such an algebra as A/Q and will call it a quotient algebra of an algebra A by the congruence Q. In this case we have a natural homomorphism A Æ A/Q. Given W-algebras A and B and a homomorphism f: A Æ B, consider the equivalence Q = ker f. By Theorem 1 the equivalence Q is a congruence on A and the natural mapping nat(q): A Æ A/Q is the natural homomorphism A Æ A/Q. Consider the one-to-one mapping f 1 : A/Q Æ B such that f 1 ([[x]]) = f(x). We can show that mapping f 1 : A/Q Æ B is a monomorphism and the diagram below is commutative. A -------- f --------> B nat(q) f 1 A/Q

V. Borschev and B. Partee, October 11, 2001 p. 5 Example. Consider the homomorphism f: Mod4 Æ Mod2 from the earlier example. The quotient set Q = ker f of its kernel equivalence consists of two classes: {0,2} and {1,3}. The operations of the quotient algebra Mod4/Q are defined in a natural way: zero = {0,2} one = {1,3} {0,2}+ {0,2} = {0,2}, {0,2}+ {1,3} = {1,3},,{0,2} {0,2} = {0,2}, {0,2} {1,3} = {0,2}, etc. And it is easy to see that there exists a monomorphism f 1 : Mod4/Q Æ Mod2, such that f = f 1 nat(q), so the following diagram is commutative: Mod4 -------- f --------> Mod2 nat(q) f 1 Mod4/Q Homework 7 Do at least one of the following exercises. 1. Problem 1 from Homework 4 (Lecture 4), repeated here. Do it now if you didn t do it before. Consider the homomorphism from the algebra on the set N of natural numbers with addition and multiplication to Parity (see example above). Write down (a) the kernel equivalence of this homomorphism, (b) the corresponding quotient algebra, and (c) the commutative diagram. 2. There are some questions interspersed in the handout; answer some of them (the more, the better).