Positive Semantics of Projections in Venn-Euler Diagrams Joseph Gil – Technion Elena Tulchinsky – Technion.

Slides:



Advertisements
Similar presentations
Algebra Problems… Solutions
Advertisements

The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case.
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Sets Lecture 11: Oct 24 AB C. This Lecture We will first introduce some basic set theory before we do counting. Basic Definitions Operations on Sets Set.
Discrete Mathematics Lecture 5 Alexander Bukharovich New York University.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Approximation Algorithms
3.6 Systems with Three Variables
Linear Systems The definition of a linear equation given in Chapter 1 can be extended to more variables; any equation of the form for real numbers.
Unit 10 – Logic and Venn Diagrams
Solve Systems of Equations & Graph Inequalities
Mathematics.
Survey of Mathematical Ideas Math 100 Chapter 2
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2011 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems: College Algebra.
Linear Equations and Functions
Graphs of Linear Inequalities When the equal sign in a linear equation is replaced with an inequality sign, a linear inequality is formed. Solutions of.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Decision Procedures An Algorithmic Point of View
Slide Chapter 7 Systems and Matrices 7.1 Solving Systems of Two Equations.
Matrix Representations of Knot and Link Groups Jess May 2006 Knot Theory Knot Theory is the study of mathematical knots. A knot is a simple closed polygonal.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Solving Linear Systems by Elimination Math Tech II Everette Keller.
DECIDABILITY OF PRESBURGER ARITHMETIC USING FINITE AUTOMATA Presented by : Shubha Jain Reference : Paper by Alexandre Boudet and Hubert Comon.
This presentation shows how the tableau method is used to solve a simple linear programming problem in two variables: Maximising subject to two  constraints.
Chapter 3 – Set Theory  .
Systems of Inequalities in Two Variables Sec. 7.5a.
Chapter 7 Logic, Sets, and Counting Section 2 Sets.
Equations, Inequalities, and Mathematical Models 1.2 Linear Equations
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
1 ENM 503 Block 1 Algebraic Systems Lesson 2 – The Algebra of Sets The Essence of Sets What are they?
CS201: Data Structures and Discrete Mathematics I
CompSci 102 Discrete Math for Computer Science
Copyright © Cengage Learning. All rights reserved.
Section 2.2 Subsets and Set Operations Math in Our World.
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
Sets Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Definition of Set A set is a collection of objects called elements.
Set Operations Chapter 2 Sec 3. Union What does the word mean to you? What does it mean in mathematics?
2.1 Sets 2.2 Set Operations –Set Operations –Venn Diagrams –Set Identities –Union and Intersection of Indexed Collections 2.3 Functions 2.4 Sequences and.
Chapter 2 With Question/Answer Animations. Section 2.1.
(CSC 102) Lecture 13 Discrete Structures. Previous Lectures Summary  Direct Proof  Indirect Proof  Proof by Contradiction  Proof by Contra positive.
1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Objectives 2 3 Linear Inequalities in Two Variables Graph linear inequalities in two variables.
Chapter 3 Examples Section 5 Solving System of Equations Algebraically with 3 variables.
Chapter 8: Relations. 8.1 Relations and Their Properties Binary relations: Let A and B be any two sets. A binary relation R from A to B, written R : A.
1 CS 140 Discrete Mathematics Combinatorics And Review Notes.
Welcome to Form 4 Mathematics Topic for the day SETS.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Set Operations Section 2.2.
Use graphing to solve this system. 1. y = 2x y = -x + 3 Use substitution to solve this system. 2. y = x-2 -2x -4y = 4 Use elimination to solve this system.
3.5 Solving Linear Systems in Three Variables 10/4/13.
Basic Probability. Introduction Our formal study of probability will base on Set theory Axiomatic approach (base for all our further studies of probability)
Thinking Mathematically Venn Diagrams and Set Operations.
The Basic Concepts of Set Theory. Chapter 1 Set Operations and Cartesian Products.
Venn Diagrams.
GOOD MORNING CLASS! In Operation Research Class, WE MEET AGAIN WITH A TOPIC OF :
1.7 – Day 1 Inequalities. 2 Objectives ► Solving Linear Inequalities ► Solving Nonlinear Inequalities ► Absolute Value Inequalities ► Modeling with Inequalities.
Slide 4- 1 Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Copyright © 2010 Pearson Education, Inc. Publishing.
An Introduction to Linear Programming
The Language of Sets If S is a set, then
Unions and Intersections of Sets
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
Operations with Sets A = { 1, 2, 3 ,4, 5} B = { 2, 4, 6, 8, 10}
Chapter 3 Section 4.
Systems of Linear Equations
ALGEBRA I - SETS : UNION and INTERSECTION
Chapter 7 Logic, Sets, and Counting
2.1 – Symbols and Terminology
AND.
Multivariable Linear Systems
Presentation transcript:

Positive Semantics of Projections in Venn-Euler Diagrams Joseph Gil – Technion Elena Tulchinsky – Technion

Venn-Euler diagrams Case for projections Positive semantics of projections Different approach : negative semantics of projections Seminar Structure

contour - simple closed plane curve district - set of points in the plane enclosed by a contour region - union, intersection or difference of districts zone - region having no other region contained within it shading - denote the empty set projection, context - another way of showing the intersection of sets Terminology

A B C n contours 2 n zones shading to denote empty set Venn Diagrams

Venn Diagrams (cont.) The simple and symmetrical Venn diagrams of four and five contours Venn diagram disadvantages: – Difficult to draw – Most regions take some pondering before it is clear which combination of contours they represent

Venn-Euler Diagrams A B C D The notation of Venn-Euler diagram is obtained by a relaxation of a demand that all contours in Venn diagrams must intersect The interpretation of this diagram includes: D  (C - B) - A and ABC =  9 zones instead of 2 4 =16 in Venn diagram of 4 contours

Projections Company Employees Women Company EmployeesWomen Denoting the set of all women employees using projections without projections A projection is a contour, which is used to denote an intersection of a set with a context Dashed iconic representation is used to distinguish projections from other contours Use of projections potentially reduces the number of zones

Case for Projections A Venn diagram with six contours constructed using More’s algorithm A Venn diagram with six contours using projections shows the same 64 zones

Case for Projections in Constraint Diagrams The sets Kings and Queens are disjoint The set Kings has an element named Henry VIII All women that Henry VIII married were queens There was at least one queen Henry VIII married who was executed Divides the plane into 5 disjoint areas ( zones ) Kings Queens Executed Henry VIII married

Case for Projections in Constraint Diagrams (cont.) Kings Queens Executed Henry VIII married Kings Queens Executed Henry VIII married Executed contour must also intersect the King contour State that Henry VIII was not executed Divides the plane into 8 disjoint areas Using of spider to refrain from stating whether or not Henry VIII was executed Draws the attention of the reader to irrelevant point

Questions Context What is the context with which a projection intersects? Interacting Projections What if two or more projections intersect? Multi-Projections Can the same set be projected more than once into a diagram? Can these two projections intersect?

Intuitive Context of Projection B C D B D A B D C Projection into an area defined by multiple contours D~ = D ( B + C ) To make the strongest possible constraint we choose the minimal possible context D~ = D B with B  A Multiple minimal contexts D~ = D ( B C )

Intuitive Context of Projection (cont.) B2 C2 B1 C1 D B D E AD Generalization of previous examples D~ = D ( ( B1 + C1 ) ( B2 + C2 ) ) Contours disjoint to projection can not take part in the context D~ = D B The context of a contour can not comprise of the contour itself An illegal projection

B C z1z2z3 z 1 = B - C z 2 = B C z 3 = C - B z 1 = { B } z 2 = { B, C } z 3 = { C } Each zone is represented by the set of contours that contain it Main idea: To define a formal mathematical representation for a diagram Mathematical Representation

Example z 1 = { A } z 4 = { A, B, D } z 7 = { A, B, C } z 2 = { A, B } z 5 = { A, C, D } z 8 = { A, E } z 3 = { A, C } z 6 = { A, B, C, D } z 9 = { E } z1 z2z3 z7 z4z5z6 z8 z9 A B C D E

Dually: The district of a contour c is d ( c ) = { z  Z | c  z }. The district of a set of contours S is the union of the districts of its contours d ( S ) =  c  S d ( c ). Definition A diagram is a pair of a finite set C of objects, which we will call contours, and a set Z of non- empty subsets of C, which we will call zones, such that  c  C,  z  Z, c  z. Mathematical Representation (cont.)

Covering Definition We say that X is covered by Y if d ( X )  d ( Y ). We say that X is strictly covered by Y if the set containment in the above is strict. (X and Y can be sets) Definition A set of contours S is a reduced cover of X if S strictly covers X, X S = , and there is no S’  S such that S’ covers X. Covering is basically containment of the set of zones A cover by a set of contours is reduced, if all “ redundant ” contours are remove from it

Territory and Context Definition The territory of X is the set of all of its reduced covers  ( X ) = { S  C | S is a reduced cover of X }. Definition The context of X,  ( X )   is the maximal information that can be inferred from what covers it, i.e., its territory  ( X ) =  S   ( X ) d ( S ) =  S   ( X )  c  S d ( S ). If on the other hand  ( X ) = , we say that X is context free.

Definition A projections diagram is a diagram, with some set P  C of contours which are marked as projections. A projections diagram is legal only if all of its projections have a context. Projections Diagram

Interacting Projections H E I H~ = H I E~ = E H~ = E H I I U H E H~ = H ( I + E~ ) E~ = E ( U + H~ ) H~ = H ( I + E ( U + H~ ) ) = H I + H E U + H E H~ =  H~ +   = H E  = H I + H E U = H ( I + E U )

Lemma Let  and  be two given sets. Then, the equation x =  x +  holds if and only if   x   + ; . The minimal solution must be taken In the example: H~ =  = H ( I + E U ) E~ = E ( U + H~) = E ( U + H ( I + E U ) = = E U + E H I + E H U = E ( U + H I ) Solving a Linear Set Equation

Dealing with Interacting Projections Main problem: the context of one projection includes other projections and vice versa. System of equations: –Unknowns and constants: sets –Operations: union and intersect, “polynomial equations” Technique: use Gaussian like elimination

System of Equations x 1 = P 1 (  1,...,  m, x 2,..., x n )... x n = P n (  1,...,  m, x 1,..., x n-1 ) where x 1,..., x n are the values of p  P ( unknowns ),  1,...,  m are the values of c  C ( constants ), P 1,..., P n are multivariate positive set polynomial over  1,...,  m and x 1,..., x n. Lemma Every multivariate set polynomial P over variables  1,...,  k, x can be rewritten in a “linear” form P (  1,...,  k, x ) = P 1 (  1,...,  k ) x + P 2 (  1,...,  k ).

Procedure for Interacting Projections Solve the first equation for the first variable Solution is in term of the other variables Substitute the solution into the remaining equations Repeat until the solution is free of projections Substitute into all other solutions Repeat until all the solutions are free of projections

Multi-Projections f g B C D D f g B C D D D f = D B D g = D C D f = D B D g = D C D B C = 

Noncontiguous Contours Problem Main idea: unify the multi-projections –Instead of having multiple projections of the same set, we will allow the projection to be a noncontiguous contour –The mathematical representation does not know that contours are noncontiguous –Only the layout is noncontiguous. fg B C D D D f = D B D g = D ( B C )  = D f D g = D B C = D g

Noncontiguous Layout May have noncontiguous contours and noncontiguous zones z9 z1 z2z3 z7 z8 z9 z8 z4 z5 z6 A B C E E E DD D

B C D D D~ = D B The interpretation of this diagram does not include:  = D f D g Noncontiguous Projection

Summary Context: the collection of minimal reduced covers Semantics: computed by the intersection with the context Interaction: solve a system of set equations Multi-projections: basically a matter of layout

Related Work Negative semantics: compute the semantics of a projection based also on the contours it does not intersect with. (Gil, Howse, Kent, Taylor) Different approach. Not clear which is more intuitive

B DE Negative Semantics : D~ = D ( B - E ) Positive Semantics : D~ = D B D~ E =  Difference between Positive and Negative Semantics