Sets

Similar documents
LIN1032 Formal Foundations for Linguistics

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

Chapter 4. Basic Set Theory. 4.1 The Language of Set Theory

2030 LECTURES. R. Craigen. Inclusion/Exclusion and Relations

Introduction to Set Operations

Any Wizard of Oz fans? Discrete Math Basics. Outline. Sets. Set Operations. Sets. Dorothy: How does one get to the Emerald City?

Models of Computation. by Costas Busch, LSU

Set Theory History. Martin Bunder. September 2015

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram.

Finite Math Section 6_1 Solutions and Hints

RELATION ALGEBRAS. Roger D. MADDUX. Department of Mathematics Iowa State University Ames, Iowa USA ELSEVIER

SWER ENG 2DM3 Tutorial 2

Outline. Introduction, or what is fuzzy thinking? Fuzzy sets Linguistic variables and hedges Operations of fuzzy sets Fuzzy rules Summary.

(2) Generalize De Morgan s laws for n sets and prove the laws by induction. 1

Proving simple set properties...

Fuzzy and Rough Sets Part I

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

CS 173: Discrete Structures. Eric Shaffer Office Hour: Wed. 1-2, 2215 SC

Discrete Basic Structure: Sets

1 Alphabets and Languages

Chapter Summary. Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2.

Chapter 1 : The language of mathematics.

Notes on Sets for Math 10850, fall 2017

Math Fall 2014 Final Exam Solutions

Study skills for mathematicians

Chapter 2 - Basics Structures

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

1 Chapter 1: SETS. 1.1 Describing a set

Exclusive Disjunction

PREFACE. Synergy for Success in Mathematics 7 is designed for Grade 7 students. The textbook

A set is an unordered collection of objects.

Uncertainty and Rules

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

Axiomatic set theory. Chapter Why axiomatic set theory?

CISC 1100: Structures of Computer Science

ICS141: Discrete Mathematics for Computer Science I

Artificial Intelligence

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability

Foundations Revision Notes

CSCE 222 Discrete Structures for Computing

Formal Languages, Automata and Models of Computation

Functions and relations

Maximal Symmetric Difference-Free Families of Subsets of [n]

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

1. Let g(x) and h(x) be polynomials with real coefficients such that

Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation

Homework 1 2/7/2018 SOLUTIONS Exercise 1. (a) Graph the following sets (i) C = {x R x in Z} Answer:

Equivalence and Implication

EQUIVALENCE RELATIONS (NOTES FOR STUDENTS) 1. RELATIONS

CS 341 Homework 16 Languages that Are and Are Not Context-Free

Phil Introductory Formal Logic

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

The Real Number System

1-1. Expressions and Formulas. Lesson 1-1. What You ll Learn. Active Vocabulary

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets

CSE 140: Components and Design Techniques for Digital Systems

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS

Sets McGraw-Hill Education

Discrete Mathematics: Midterm Test with Answers. Professor Callahan, section (A or B): Name: NetID: 30 multiple choice, 3 points each:

Notes on counting. James Aspnes. December 13, 2010

MAGIC Set theory. lecture 1

An Introduction to Mathematical Reasoning

MTHSC 3190 Section 2.9 Sets a first look

INDEPENDENCE OF THE CONTINUUM HYPOTHESIS

With Question/Answer Animations. Chapter 2

Theory of Computation

1. SET 10/9/2013. Discrete Mathematics Fajrian Nur Adnan, M.CS

EECS 1028 M: Discrete Mathematics for Engineers

CSCE 551: Chin-Tser Huang. University of South Carolina

n = p 1 p 2 p r = q 1 q 2 q m, then r = m (i.e. the number of primes in any prime decomposition

On some Metatheorems about FOL

A Logician s Toolbox

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

Complete Partial Orders, PCF, and Control

Chapter Five: Nondeterministic Finite Automata

Logic, Sets, and Proofs

Theory of Computation CS3102 Spring 2014

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006

Chapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, }

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

Computability Crib Sheet

The Semantics of Definite DPs 1. b. Argument Position: (i) [ A politician ] arrived from Washington. (ii) Joe likes [ the politician ].

Contexts for Quantification

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

Number Theory and Graph Theory. Prime numbers and congruences.

Sets. Introduction to Set Theory ( 2.1) Basic notations for sets. Basic properties of sets CMSC 302. Vojislav Kecman

Truth and Logic. Brief Introduction to Boolean Variables. INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder

Pragmatics assignment solution

Logicality of Operators

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

MATH 2200 Final Review

INCOMPLETENESS I by Harvey M. Friedman Distinguished University Professor Mathematics, Philosophy, Computer Science Ohio State University Invitation

Nondeterministic Finite Automata

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

We ll start today by learning how to change a decimal to a fraction on our calculator! Then we will pick up our Unit 1-5 Review where we left off!

Transcription:

Sets http://gawron.sdsu.edu/semantics Jean Mark Gawron San Diego State University, Department of Linguistics 2010-08-19 Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 1 / 25

Overview 1 Sets 2 Subsets and powersets 3 Operations on sets Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 2 / 25

Outline 1 Sets 2 Subsets and powersets 3 Operations on sets Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 3 / 25

Sets A set is a collection of things. A = {a, b, c} B = {1, 2, 3} C = {The Amazon River, Donald Trump s left eyebrow, 3} Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 4 / 25

Membership A = {a, b, c} B = {1, 2, 3} C = {The Amazon River, Donald Trump s left eyebrow, 3} set membership: a A The opposite: Donald Trump C Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 5 / 25

Cardinality A = {a, b, c} B = {1, 2, 3} C = {The Amazon River, Donald Trump s left eyebrow, 3} The size of a set, called its cardinality, is written A : A = B = C = 3 Which is true? A A A B B B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 6 / 25

Sets with cardinality 0 We allow sets with nothing in them, that is, sets with cardinality 0. We call such sets empty sets and write them as. For any x, it is true that x Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 7 / 25

Principle of extensionality Two sets A and B are equal if they have the same members. That is if A B and B A An immediate consequence is that we need to stop talking about an emptyset. There is only one: the empty set. ( 1 2 & 2 1 ) 1 = 2 Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 8 / 25

The domain of discourse The domain of discourse is the collection of things we re talking about. ℵ = {1, 2, 3,...} ℵ is called the set of Natural Numbers. In arithmetic we call ℵ the universe of discourse. This is sometimes called the set of atoms. The term atom contrasts with the term set. In set theory we talk mostly about sets, but the things we talk about that aren t sets are atoms. Atoms don t have members. Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 9 / 25

Semantics: domains of discourse In semantics the domains of discourse is the things that language can be about, and language can be about everything. We will come up with a very special domain of discourse when we talk about possible worlds. Meanwhile, here are some sets that might naturally come up in semantics. See if you can guess what meanings they might be relevant for: [[dog]] = the set of all dogs [[toothbrush]] = the set of all toothbrushes [[hope]] = the set of all hopes [[walk]] t = the set of all individuals that are walking at time t [[unicorn]] = the set of all unicorns [[goblin]] = the set of all goblins [[even odd]] = the set of all odd numbers exactly divisible by 2 Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 10 / 25

Semantics: Principle of extensionality [[dog]] = the set of all dogs [[unicorn]] = the set of all unicorns [[goblins]] = the set of all goblins [[even odds]] = the set of all odd numbers exactly divisible by 2 Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 11 / 25

Outline 1 Sets 2 Subsets and powersets 3 Operations on sets Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 12 / 25

Subset D B Every D is a B! B = {1, 2, 3} D = {1, 2, } If we want to include sets that are equal to B, we write. So D B and B B, but B B (compare <,, and for numbers). Note that the emptyset is a subset of every set, so in particular B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 13 / 25

Power sets When we collect all the sets that are subsets of or equal to ( ) some given set S we get a new set, a set of sets (more properly a collection of sets), called the power set of S, written P(S): S = {a, b, c} P(S) = {, {a}, {b}, {c}, {a,b}, {b,c}, {a,c}, {a,b,c}} 0 element sets {a}, {b}, {c} 1 element sets {a,b}, {b,c}, {a,c} 2 element sets {a,b,c} 3 element sets Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 14 / 25

Outline 1 Sets 2 Subsets and powersets 3 Operations on sets Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 15 / 25

Two overlapping sets Universe of discourse is U. Neither set is a subset of the other. U A B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 16 / 25

Complement of A A U A Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 17 / 25

Set Intersection A B the set of things in both A and B U A B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 18 / 25

Set Union A B the set of things in either A or B U A B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 19 / 25

Set Difference A\B the set of things in A that are not in B U A B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 20 / 25

Complement of Union A B the set of things that are neither in A nor in B U A B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 21 / 25

Two non-overlapping sets A B = A\B = A U A B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 22 / 25

Two overlapping sets A B A\B A U A B Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 23 / 25

Subsets A B A B =? U B A Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 24 / 25

Bibliography Allwood, Jens S., Lars-Gunnar Andersson, and Östen Dahl. 1977. Logic in linguistics. Cambridge Eng. ; New York: Cambridge University Press. Jens Allwood, Lars-Gunnar Andersson, Östen Dahl. Cambridge textbooks in linguistics. Translation of Logik für lingvister. Includes index. Bibliography: p. 172-174. Jean Mark Gawron ( SDSU ) Gawron: Sets 2010-08-19 25 / 25