Corresponding Regions in Euler Diagrams - PowerPoint PPT Presentation

1 / 55
About This Presentation
Title:

Corresponding Regions in Euler Diagrams

Description:

Informal syntax and semantics of Euler diagrams. ... Practical applications. Some UML notations. Constraint diagrams. Development of software tools ... – PowerPoint PPT presentation

Number of Views:130
Avg rating:3.0/5.0
Slides: 56
Provided by: ges89
Category:

less

Transcript and Presenter's Notes

Title: Corresponding Regions in Euler Diagrams


1
Corresponding 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/

2
Overview
  • 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.

3
An Euler Diagram
  • This diagram asserts

4
Example
  • The shaded regions are corresponding.

5
Example
  • The shaded regions are corresponding.

6
Example
  • The shaded regions are corresponding.

7
Example
  • The shaded regions are not corresponding.

8
Why 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.

9
Previous 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.

10
Example
Shin identifies the shaded regions as
corresponding.
11
Example
  • Hammer identifies the shaded regions as
    corresponding.

12
Informal Syntax and Semantics
  • Unitary Euler diagrams
  • Syntax
  • Labels, denoted L(d).

A
13
Informal Syntax and Semantics
  • Unitary Euler diagrams
  • Syntax
  • Labels, denoted L(d).
  • Zones.

A
Zone 2
Zone 1
14
Informal Syntax and Semantics
  • Unitary Euler diagrams
  • Syntax
  • Labels, denoted L(d).
  • Zones.
  • Regions.

A
Zone 2
Zone 1
15
Informal 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
16
Informal Syntax and Semantics
  • Unitary Euler diagrams
  • Semantics
  • Regions denote, possibly empty, sets.
  • missing zones denote the empty set.

17
Example
  • This diagram has one missing zone, .
  • The diagram asserts that

18
Informal Syntax and Semantics
  • Compound diagrams
  • A compound diagram is a set of unitary diagrams
    taken in disjunction.

19
Informal Syntax and Semantics
  • Multi-diagrams
  • A multi-diagram is a set of compound diagrams
    taken in conjunction.

20
Informal Syntax and Semantics
  • In disjunction cannot deduce B is empty.

21
Informal Syntax and Semantics
  • In disjunction cannot deduce B is empty.
  • In conjunction B is empty.

22
Venn Diagram Case
The shaded regions correspond
  • Zonal regions they have representation
    which we call a split.

23
Algebra of Splits
  • A split is a pair of sets, , such that

24
Algebra 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 .
25
Algebra of Splits
  • We want and to be the same as .

26
Algebra of Splits
  • Introduction of a label

27
Algebra of Splits
  • Introduction of a label
  • We wanted

28
Algebra of Splits
  • Introduction of a label
  • We wanted
  • Set and , introduce C to obtain

29
Algebra of Splits
  • Addition
  • Commutative.
  • Associative.
  • Each element is idempotent

30
Mapping Regions to Splits
  • Define a function from regions to splits
  • zones

31
Corresponding Zonal Regions
Define a function from regions to
splits zones regions
32
Corresponding Zonal Regions
  • Zonal regions zr1 and zr2 are corresponding if
    and only if
  • Corresponding zonal regions represent the same
    set.

33
Example
  • The two shaded zonal regions are corresponding

34
Corresponding Regions
  • Two regions, r1 and r2, are corresponding iff
  • Corresponding regions represent the same set.

35
Example
  • These regions are corresponding

36
Corresponding Regions
  • Theorem The correspondence
    relation is an equivalence relation on regions
    of Venn diagrams.

37
Euler Diagrams
  • The shaded zone in d2 is missing from d1. in
    the context of d1.

38
Context of a Unitary Diagram
  • The context of d1 is

39
Example
  • Which regions in d2 correspond to the shaded
    region?

40
Suggested Solutions
  • Which is correct?
  • Are both correct?

41
Disjunction
  • We can only deduce that the shaded zone in the
    bottom diagram represents the empty set.

42
Disjunction
  • The first solution is correct.

This zone may be non-empty
43
The 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.
44
Conjunction
  • We can deduce that all missing zones represent
    the empty set.

45
Conjunction
This zone is empty
  • Both solutions are correct.

46
The 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.

47
Algebra of Splits
  • The context is

48
Algebra of Splits
  • With context

introducing C
49
Algebra of Splits
With context
adding zero
50
Example
These sums of splits are equal in context
51
Corresponding Regions
  • Two regions, r1 and r2, are corresponding in
    context if and only if

modulo the context.
52
Example
  • This multi-diagram has context
  • The shaded regions correspond

53
Example
  • However, removing d2 affects the context.
  • This multi-diagram has an empty context.
  • The shaded regions no longer correspond.

54
Euler Diagrams
  • Theorem Given a fixed context, the
    correspondence relation is an equivalence
    relation on regions of Euler diagrams.

55
Summary
  • Correspondence relation on regions in Euler
    diagrams with different label sets.
  • Shown this relation is an equivalence relation.
  • Generalises work by Shin and Hammer.
Write a Comment
User Comments (0)
About PowerShow.com