Title: Corresponding Regions in Euler Diagrams
1Corresponding Regions in Euler Diagrams
- John Howse, Gem Stapleton, Jean Flower
- and John Taylor
- Visual Modelling Group
- University of Brighton, UK.
- http//www.it.brighton.ac.uk/research/vmg/
2Overview
- What is a correspondence relation.
- Why a correspondence relation needed.
- What has been done before.
- Informal syntax and semantics of Euler diagrams.
- Corresponding regions in Venn diagrams.
- Corresponding regions in Euler diagrams.
3An Euler Diagram
4Example
- The shaded regions are corresponding.
5Example
- The shaded regions are corresponding.
6Example
- The shaded regions are corresponding.
7Example
- The shaded regions are not corresponding.
8Why do we need a correspondence relation?
- So we can reason diagrammatically
- Practical applications
- Some UML notations.
- Constraint diagrams.
- Development of software tools
- must work at the diagrammatic level.
9Previous Work
- Shin
- Counterpart relation on regions in Venn diagrams.
- Sound and complete reasoning rules in Venn-Peirce
diagrams. - Hammer
- Counterpart relation on minimal regions in Euler
diagrams with same label sets. - Sound and complete reasoning rules for a simple
Euler system.
10Example
Shin identifies the shaded regions as
corresponding.
11Example
- Hammer identifies the shaded regions as
corresponding.
12Informal Syntax and Semantics
- Unitary Euler diagrams
- Syntax
- Labels, denoted L(d).
A
13Informal Syntax and Semantics
- Unitary Euler diagrams
- Syntax
- Labels, denoted L(d).
- Zones.
A
Zone 2
Zone 1
14Informal Syntax and Semantics
- Unitary Euler diagrams
- Syntax
- Labels, denoted L(d).
- Zones.
- Regions.
A
Zone 2
Zone 1
15Informal Syntax and Semantics
- Unitary Euler diagrams
- Syntax
- Labels, denoted L(d).
- Zones.
- Regions.
- A Venn diagram is an Euler diagram containing all
possible zones.
A
Zone 2
Zone 1
16Informal Syntax and Semantics
- Semantics
- Regions denote, possibly empty, sets.
- missing zones denote the empty set.
17Example
- This diagram has one missing zone, .
- The diagram asserts that
18Informal Syntax and Semantics
- Compound diagrams
- A compound diagram is a set of unitary diagrams
taken in disjunction.
19Informal Syntax and Semantics
- Multi-diagrams
- A multi-diagram is a set of compound diagrams
taken in conjunction.
20Informal Syntax and Semantics
- In disjunction cannot deduce B is empty.
21Informal Syntax and Semantics
- In disjunction cannot deduce B is empty.
- In conjunction B is empty.
22Venn Diagram Case
The shaded regions correspond
- Zonal regions they have representation
which we call a split.
23Algebra of Splits
- A split is a pair of sets, , such that
-
24Algebra of Splits
A split is a pair of sets, , such that
Splits for the two shaded zones in d1 are
and . The split for the shaded
zone in d2 is .
25Algebra of Splits
- We want and to be the same as .
26Algebra of Splits
27Algebra of Splits
- Introduction of a label
- We wanted
28Algebra of Splits
- Introduction of a label
- We wanted
- Set and , introduce C to obtain
29Algebra of Splits
- Addition
- Commutative.
- Associative.
- Each element is idempotent
30Mapping Regions to Splits
- Define a function from regions to splits
- zones
-
31Corresponding Zonal Regions
Define a function from regions to
splits zones regions
32Corresponding Zonal Regions
- Zonal regions zr1 and zr2 are corresponding if
and only if - Corresponding zonal regions represent the same
set.
33Example
- The two shaded zonal regions are corresponding
34Corresponding Regions
- Two regions, r1 and r2, are corresponding iff
- Corresponding regions represent the same set.
35Example
- These regions are corresponding
36Corresponding Regions
- Theorem The correspondence
relation is an equivalence relation on regions
of Venn diagrams.
37Euler Diagrams
- The shaded zone in d2 is missing from d1. in
the context of d1.
38Context of a Unitary Diagram
39Example
- Which regions in d2 correspond to the shaded
region?
40Suggested Solutions
- Which is correct?
- Are both correct?
41Disjunction
- We can only deduce that the shaded zone in the
bottom diagram represents the empty set.
42Disjunction
-
- The first solution is correct.
This zone may be non-empty
43The Context of a Compound Diagram
- The set of splits associated with the
intersection of the shaded zones in the component
diagrams is called the context of the compound
diagram.
Any split in the context is zero.
44Conjunction
- We can deduce that all missing zones represent
the empty set.
45Conjunction
This zone is empty
- Both solutions are correct.
46The Context of a Multi-diagram
- The set of splits associated with the union of
the shaded zones in the component diagrams is
called the context of the multi-diagram. - Any split in the context of a multi-diagram is
zero.
47Algebra of Splits
48Algebra of Splits
introducing C
49Algebra of Splits
With context
adding zero
50Example
These sums of splits are equal in context
51Corresponding Regions
- Two regions, r1 and r2, are corresponding in
context if and only if
modulo the context.
52Example
- This multi-diagram has context
- The shaded regions correspond
53Example
- However, removing d2 affects the context.
- This multi-diagram has an empty context.
- The shaded regions no longer correspond.
54Euler Diagrams
- Theorem Given a fixed context, the
correspondence relation is an equivalence
relation on regions of Euler diagrams.
55Summary
- Correspondence relation on regions in Euler
diagrams with different label sets. - Shown this relation is an equivalence relation.
- Generalises work by Shin and Hammer.