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

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

Lecture 7. Logic. Section1: Statement Logic.

Sets and Motivation for Boolean algebra

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

Boolean Algebras. Chapter 2

2MA105 Algebraic Structures I

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

Universal Algebra for Logics

Class Notes on Poset Theory Johan G. Belinfante Revised 1995 May 21

Equational Logic and Term Rewriting: Lecture I

Boolean Algebra CHAPTER 15

The Logic of Partitions

2. Introduction to commutative rings (continued)

Structure of R. Chapter Algebraic and Order Properties of R

Equational Logic. Chapter Syntax Terms and Term Algebras

Logic Synthesis and Verification

3 Boolean Algebra 3.1 BOOLEAN ALGEBRA

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

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

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

3. Abstract Boolean Algebras

Propositional Logics and their Algebraic Equivalents

Boolean Algebra and Propositional Logic

Foundations of algebra

Lecture 1: Lattice(I)

Mathematical Foundations of Logic and Functional Programming

Introduction to Quantum Logic. Chris Heunen

Relations on Hypergraphs

A Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries

Propositional and Predicate Logic - VII

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

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

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

03 Review of First-Order Logic

Lab 1 starts this week: go to your session

In N we can do addition, but in order to do subtraction we need to extend N to the integers

An Introduction to the Theory of Lattice

Properties of Boolean Algebras

Stone Duality. An application in the theory of formal languages. A Master thesis by Mirte Dekkers Under supervision of Prof. dr.

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only

Lattice Theory Lecture 4. Non-distributive lattices

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

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

Chapter 4: Classical Propositional Semantics

Stipulations, multivalued logic, and De Morgan algebras

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

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Section Summary. Relations and Functions Properties of Relations. Combining Relations

Boolean Algebra and Propositional Logic

Closure operators on sets and algebraic lattices

Unit 1. Propositional Logic Reading do all quick-checks Propositional Logic: Ch. 2.intro, 2.2, 2.3, 2.4. Review 2.9

Foundations of Mathematics

M17 MAT25-21 HOMEWORK 6

Lattice Theory Lecture 5. Completions

ELEC Digital Logic Circuits Fall 2014 Boolean Algebra (Chapter 2)

Basic Algebraic Logic

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

Lecture 7: Relations

Logics above S4 and the Lebesgue measure algebra

Truth-Functional Logic

1. Foundations of Numerics from Advanced Mathematics. Mathematical Essentials and Notation

Chapter One. The Real Number System

DR.RUPNATHJI( DR.RUPAK NATH )

1. Introduction to commutative rings and fields

GENERALIZED DIFFERENCE POSETS AND ORTHOALGEBRAS. 0. Introduction

COMPLETE LATTICES. James T. Smith San Francisco State University

Relational semantics for a fragment of linear logic

1 Alphabets and Languages

3.4 Set Operations Given a set A, the complement (in the Universal set U) A c is the set of all elements of U that are not in A. So A c = {x x / A}.

Stone and Heyting duality for classical and intuitionistic propositional logic

CHAPTER THREE: RELATIONS AND FUNCTIONS

Math 13, Spring 2013, Lecture B: Midterm

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall Set-builder notation (a more precise way of describing a set)

Chapter 1. Sets and Numbers

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +

Foundations of Mathematics

Topology Proceedings. COPYRIGHT c by Topology Proceedings. All rights reserved.

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

MATH 318 Mathematical Logic Class notes

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

Commutative Algebra Lecture 3: Lattices and Categories (Sept. 13, 2013)

Semantics of intuitionistic propositional logic

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall

ClC (X ) : X ω X } C. (11)

A Logician s Toolbox

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Boolean Algebra. Sungho Kang. Yonsei University

Unit 2 Boolean Algebra

On the Structure of Rough Approximations

Axioms of Kleene Algebra

Lattices and Orders in Isabelle/HOL

In mathematics there are endless ways that two entities can be related

2. Prime and Maximal Ideals

Chapter 1 The Real Numbers

Theorem. For every positive integer n, the sum of the positive integers from 1 to n is n(n+1)

Chapter 1. Sets and Mappings

The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees

CHAPTER 6. Copyright Cengage Learning. All rights reserved.

Lecture 6: Finite Fields

1.2 Posets and Zorn s Lemma

Transcription:

V. Borschev and B. Partee, September 21-26, 2006 p. 1 Lecture 4. Algebra, continued Section 2: Lattices and Boolean algebras CONTENTS 1. Lattices.... 1 1.0. Why lattices?... 1 1.1. Posets... 1 1.1.1. Upper and lower bounds. Duality... 1 1.1.2. Diagrams of posets.... 2 1.2. Lattices and semilattices... 3 1.2.1. Lattices.... 3 1.2.2. Semilattices... 4 2. Boolean algebras.... 4 Homework 5 for Sept 28.... 5 Reading: Chapter 11: 11.1 11.2 of PtMW, pp. 275-281; Chapter 12: 12.1 12.2 of PtMW, pp.295 299. Supplementary material on Boolean algebra in xeroxed extract from: Partee (1979) Fundamentals of Mathematics for Linguists. Stamford, CT: Greylock Publishers. Reprinted by D.Reidel, Dordrecht. (III.D. Boolean algebras. 127-136.) Some aspects of what s covered in both readings will make more sense after we have looked at logic, but if you know a little logic already you can probably make sense of it. When we look at logic, we ll come back to this so that we can see how useful quotient algebras are for showing how propositional logic can be a Boolean algebra. 1. Lattices. 1.0. Why lattices? There is a special class of algebraic structures, called lattices, which are used widely in many fields, and it is useful to be familiar with their basic properties. Lattices can be defined as algebras and they will be our first example of a specific kind of algebra. In this lecture we will also consider Boolean algebras, which are a special case of lattices. We will just be introducing the basic structure of lattices and Boolean algebras with some examples; there are many directions one can go from here, both in algebraic studies and in applications. 1.1. Posets. In Lecture 1 we considered the relation of weak order (reflexive, anti-symmetric and transitive). Such a relation is also called a partial order (because it is not obligatorily a total order). Any set A on which a partial order is defined is called a partially ordered set or poset and write it as <A, > or just A assuming the intended order. 1.1.1. Upper and lower bounds. Duality. Elements a and b of a poset A are called comparable if a b or b a. If they are not comparable, they are called incomparable.

V. Borschev and B. Partee, September 21-26, 2006 p. 2 In an arbitrary poset A we define an upper bound of B A [note 1 ] as an element a A, if it exists, such that for all b B, b a. An upper bound a of B is the least upper bound of B or the supremum of B (abbreviated to sup B) if, for any upper bound c of B, we have a c. We write a = sup B, since by antisymmetry of the ordering we know that if B has a least upper bound, this is a unique least bound. It is easy to see that the inverse relation of the partial order is also a partial order. We write a b for b a, call the order the dual order to and call the poset <A, > with a dual order the dual poset to the poset <A, >. Many notions on posets and other structures will have their dual versions when we replace all the occurrences of the order in definitions on the order. The first examples will be lower bound and the greatest lower bound. We define the dual of an upper bound of B A, called a lower bound of B A, as an element a A, such that for all b B, b a which is equivalent to a b. A lower bound a of B is the greatest lower bound of B or the infimum of B (abbreviated to inf B) if, for any lower bound c of B, we have a c. We write a = inf B. 1.1.2. Diagrams of posets. Partial ordering may be represented visually by so called Hasse diagrams. The diagram of poset A represents the elements of the set A as points on the plane and the ordering relation pictured as a line reflecting the order from the bottom to top in the representation. Assuming reflexivity and transitivity of the order, only lines for immediate successors are pictured. See examples of diagrams below (examples are extracted from PtMW). In the Figure 11-1 below 0 a, 0 b, a 1, b 1 and corresponding reflexive and transitive pairs also belong to the order. 1 o a o o b o 0 Figure 11-1: the diagram of a poset A = <{0,a,b,1}, >. 1 A note on terminology. When we write an upper bound of B A, that is a shortcut way of writing an upper bound of a subset B in a set A, i.e. an upper bound in A of some subset B of elements of A.

1.2. Lattices and semilattices. Ling 726: Mathematical Linguistics, Algebra, Section 2 V. Borschev and B. Partee, September 21-26, 2006 p. 3 1.2.1. Lattices. There is a special class of posets, called lattices. On the other hand, lattices can also be defined as algebras. We consider both definitions. Definition 1. A poset <A, > is a lattice if sup{a,b} and inf{a,b} exist for all a,b A. In order to develop the second definition, we introduce two new operations on A: (Op) a b = inf{a,b} and a b = sup{a,b}, calling a b the meet and a b the join of a and b. In lattices these operations are binary. So we can consider a lattice as an algebra in a signature {, }. But not every algebra in that signature is a lattice. To be a lattice, its operations should have some properties. It is easy to see that operations defined by (Op) have the properties (L1) (L4): (L1) a a = a, a a = a idempotent law (L2) a b = b a, a b = b a commutative law (L3) (a b) c = a (b c) associative law (a b) c = a (b c) (L4) a (a b) = a absorption law a (a b) = a With the help of these properties we can give another definition of lattices: Definition 2. An algebra A in the signature {, } on the carrier A is a lattice if properties (L1) (L4) hold for its operations. It is not very difficult to show that these two definitions are equivalent. Indeed, as we have seen for the lattice A with the order from definition 1, the operations and given by (Op) define on A the algebra A and have the properties (L1) (L4). If we consider the order 1 defined by these operations by the condition (Ord) a 1 b iff a b = a we will get the same order that we have in the lattice A. On the other hand, if we begin from definition 2 and define on the carrier A of the algebra A the order corresponding to the condition (Ord), the conditions of the definition 1 will be satisfied. The operations defined by this order by the conditions (Op) will coincide with the operations of algebra A. You can try to figure out the full proof by yourself, or you can look in PtMW, pp. 280-281. Examples. 1) It is easy to verify that the poset A in the Figure 11-1 above is a lattice. 2) For every nonempty set A the set (A) of all its subsets is a lattice with the order defined as the relation on subsets and the operations and defined as intersection and union.

V. Borschev and B. Partee, September 21-26, 2006 p. 4 1.2.2. Semilattices. We can weaken our definitions and get the notion of semilattice. A poset <A, > is a join semilattice if sup{a,b} exists for all a,b A. A poset <A, > is a meet semilattice if inf{a,b} exists for all a,b A. The notion of meet semilattice was used by Godehard Link to model the semantics of plurals and mass nouns in natural language. 2. Boolean algebras. Boolean algebras are an important and well-known example of algebras closely related to logic. In a way, they were introduced by John Boole to investigate Statement Logic. Boolean algebras are a special case of lattices but we define them here from scratch. Let us consider the signature Ω BA = {0, 1,,, } where 0 and 1 are 0-ary symbols (constants), is a unary one 2, and are binary. Definition 1. An algebra in a signature Ω BA is called a Boolean algebra if properties (B1) (B5) hold for its operations. (B1) (a b) c = a (b c) associative laws (a b) c = a (b c) (B2) a b = b a and a b = b a commutative laws (B3) a (b c) = (a b) (a c) distributive laws a (b c) = (a b) (a c) (B4) a 1 = a and a 0 = 0 top and bottom laws a 0 = a and a 1 = 1 (B5) a ( a) = 0 and a ( a) = 1 complementation laws == Examples. 1) Let A be a nonempty set. We know that the set (A) of all its subsets is a lattice with the order defined as the relation on subsets and the operations and defined as intersection and union. But (A) is a specific lattice. It is a classical example of Boolean algebra with constants 1 and 0 defined as the set A and the empty set respectively and the operation defined as a complement to A. It is not difficult to verify that properties (B1) (B5) hold for operations defined in this way. 2) The algebra T defined on the set of truth-values {0,1}. Constants 0 and 1 represent truth- values 0 and 1 (False and True; we can consider constants as names of truth- 2 The book PtMW uses * for the complement operation rather than. The book Partee 1979 uses,,, rather than,,.

V. Borschev and B. Partee, September 21-26, 2006 p. 5 values or can identify constants with truth-values). Other operations are given by well known tables: 0 = 1 1 1 = 1 1 1 = 1 1 = 0 1 0 = 0 1 0 = 1 0 1 = 0 0 1 = 1 0 0 = 0 0 0 = 0 Homework 5 for Sept 28. Suggested priorities: Do at least one Claim and one Example from question 1, and all of questions 2 and 3, and 5. If you have time, do 4 or part of it. Number 8 (in PtMW) would be good if you d like more examples of posets and practice seeing which posets are lattices. If you have more time, try one or two of the ones listed as 6. Number 7 is completely optional. We certainly don t expect you to do all, or even most, of these. 1) Show that the claims given in connection with Definitions 1 and 2 of lattices in section 1.2.1 above hold. [For each of these, you need its context in the text of 1.2.1] Claim 1: The operations and defined by (Op) have the properties (L1)-(L4). Claim 2: If we consider the order 1 defined by these operations by the condition (Ord) a 1 b iff a b = a we will get the same order that in we have in the lattice A. Claim 3: On the other hand, if we begin from definition 2 and define on the carrier A of the algebra A the order corresponding to the condition (Ord), the conditions of the definition 1 will be satisfied. Claim 4: The operations defined by this order by the conditions (Op) will coincide with the operations of algebra A. Example 1: Show that the Poset in Figure 11-1 is a lattice. Example 2: Verify that the power set algebra given in Example 2 is always a lattice. [Optional addition: Can t the claim in Example 2 be strengthened by dropping the restriction to starting with a nonempty set A? Doesn t the power set of the empty set also produce a lattice?] 2) Define algebras corresponding to join and meet semilattices. [answer in text p.282] 3) Define the notion of sublattice, using the algebraic definition of lattice (not the poset definition) and give examples. 4) [optional] a. The notion of subposet is not defined in the text or in these notes, although it is used in the text on p. 281 and in Fig. 11-4 on p. 282. Let us define it as follows: <B, B > is a subposet of a poset <A, A > iff (i) B A and (ii) B = A B. Given that definition, let s look at the question about whether the interdefinability of lattices as a kind of poset and lattices as a kind of algebra extends also to the sub

V. Borschev and B. Partee, September 21-26, 2006 p. 6 concepts. I.e. are subposets as defined above equivalent to sublattices on the algebraic definition? The answer turns out to be no. To show it, can you find an example of a subposet of a lattice such that the subposet fits the poset definition of a lattice, but which is not a sublattice of the original lattice according to the algebraic definition? (There is an example given in the text of PtMW, p. 281, diagram p. 282. If you look it up, then find a different one.) NB These are good examples of something that came up in class on Thursday Sept 20: namely that the third condition in the definition of subalgebra is not redundant! Note: this result does not threaten the equivalence of the poset definition and the algebraic definition of lattices, but it does underscore the fact that posets are not algebras (why?), so the sub-x definitions that apply uniformly to algebras don t apply in the same way to posets. b. Under Figure 11-4 on p.282 it says The subposet L = <{a,c,d,e}, } is a lattice and a subalgebra, but not a sublattice. I (BHP) think that it s false that it s a subalgebra. Yes, VB confirms it. Show that the given subposet, which is indeed a lattice, is neither a subalgebra nor a sublattice. (In fact I suspect, without having tried to prove it, that it s impossible for a subset of a lattice together with the original lattice operation to be a lattice and a subalgebra without being a sublattice. Is that right?) 5) Prove that (A) and T are Boolean algebras (verify that properties (B1) (B5) hold). What subalgebras do these algebras have? 6) and more: See homework problems for the xeroxed handout IIID of Partee (1979), and try some of them. Postpone the ones about the propositional logic model (1,2, and 7; in fact don t read section 5 about the propositional logic model itself we ll return to it later. I didn t know then that what I presented there has a name, the Lindenbaum algebra corresponding to propositional logic). But you can try any of 1 (any one or more of 1a-d; these are good to do), 4 (highly recommended), and the starred problem (= more challenging) 5 (similar to 4 but harder). You can do 6 but it s less interesting. Number 7 is interesting but should be postponed. 7) We defined Boolean algebras from scratch. How might the definition be shortened if we defined Boolean algebras in terms of lattices plus additional properties? (The answer is given in a possibly cryptic form at the beginning of 12.1 in PtMW; cryptic because we haven t asked you to read 11.5, where complemented and distributive lattices are defined. But you can get an idea from that paragraph what axioms you would have to write down in addition to saying that <B,, > forms a lattice.) 8) Try part or all of exercise 2 in PtMW, p. 293. Those are good examples for playing with posets and seeing which posets are and aren t lattices.