Formal Issues in Languages Based on Closed Curves - PowerPoint PPT Presentation

1 / 63
About This Presentation
Title:

Formal Issues in Languages Based on Closed Curves

Description:

Can reason nicely: mental map preservation. A. B. C. D. d1. 43 ... Interior: Obvious (Jordan Curve Theorem). Can reliably interpret. softwareEngineers ... – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 64
Provided by: agf
Category:

less

Transcript and Presenter's Notes

Title: Formal Issues in Languages Based on Closed Curves


1
Formal Issues in Languages Based on Closed Curves
  • Andrew Fish and Gem Stapleton
  • University of Brighton
  • Supported by the Leverhulme Trust

2
Important questions
  • Given some information, can we represent it?
  • Can we reliably interpret statements?
  • Can we reason about information?

3
Closed curves
  • An Euler diagrams is a finite collection of
    closed curves

A
B
C
D
lots of people use this definition see the paper
for some references
4
Closed curves
  • An Euler diagrams is a finite collection of
    closed curves

A
B
Book
C
D
lots of people use this definition see the paper
for some references
5
Closed curves
  • Euler diagram application areas
  • Visualizing genetic set relations (Kestler et al)

6
Closed curves
  • Euler diagram application areas
  • Visualizing statistical data (Artes et al)

7
Closed curves
  • Euler diagram application areas
  • Robot Trajectory data (Quick et al)

8
Closed curves
  • Euler diagram application areas
  • Others include
  • displaying the results of data base queries
  • representing non-hierarchical file systems
  • various UML diagrams
  • constraint diagrams lots of others

9
Information representation
  • Given some information, can we represent it?
  • Information lt-gt which minimal regions are be
    present

10
Information representation
  • Diagram descriptions

A
B
11
Information representation
  • Diagram descriptions

A
B
12
Information representation
  • Diagram descriptions

A
B
13
Information representation
  • Diagram descriptions

A
B
14
Information representation
  • Diagram descriptions

A
B
15
Information representation
  • Diagram descriptions

A
B
16
Information representation
  • Diagram descriptions

A
B
A
B
17
Information representation
  • Diagram descriptions

A
B
A
B
18
Information representation
  • Diagram descriptions

A
B
A
B
19
Information representation
  • A diagram description is a pair
  • where W is a subset of
  • Given a description can we represent/draw it?

20
Information representation
  • Theorem All descriptions are drawable.

21
Information representation
  • Theorem All descriptions are drawable.

22
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
23
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
24
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
25
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
26
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
27
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
28
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
29
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
PowerPoints version!
30
Semantic consequences
  • What does this mean?

softwareEngineers
jobSeekers
31
Semantic consequences interiors
  • How do we determine inside?

path
softwareEngineers
p
32
Semantic consequences interiors
  • How do we determine inside?

path
softwareEngineers
p
33
Semantic consequences interiors
  • How do we determine inside?

Each bounded component
softwareEngineers
34
Semantic consequences interiors
  • How do we determine inside?

Each bounded component
softwareEngineers
35
Semantic consequences interiors
  • How do we determine inside?
  • Two methods, two different interiors
  • Must specify method
  • Usability

36
Reasoning consequences
  • Rules -- pre/post specification.
  • Eg Remove a curve, A, from a diagram
  • pre The curve A is in the diagram
  • post The resulting diagram is identical to the
    original with the exception that A is deleted

37
Reasoning consequences
  • Everything drawable -gt can always reason

A
d1
Swoboda and Allwein
38
Reasoning consequences
  • Everything drawable -gt can always reason

A
d1
d2
Swoboda and Allwein
39
Reasoning consequences
  • Everything drawable -gt can always reason

A
A
d1
d2
d3
Swoboda and Allwein
40
Reasoning consequences
  • Everything drawable -gt can always reason

A
A
d1
d2
d3
A
Swoboda and Allwein
d4
41
Reasoning consequences
  • Everything drawable -gt can always reason

A
A
d1
d2
d3
A
Proof
Swoboda and Allwein
d4
42
Reasoning consequences
  • Can reason nicely mental map preservation

43
Reasoning consequences
  • Can reason nicely mental map preservation

shrink to a point
44
Reasoning consequences
  • Can reason nicely mental map preservation

shrink to a point
Theorem Any minimal region can be removed by
shrinking.
45
Reasoning consequences
  • Can shrink, but not to a point

46
Allowing any closed curves
The Hilbert Space Filling Curve
See eg http//www.cut-the-knot.org/do_you_know/hi
lbert.shtml
47
Answers
  • Given some information, can we represent it? Yes
  • Can we reliably interpret statements? No
  • Can we reason about information? Yes
  • Overcoming interpretation problem enforce
    well-formedness conditions

48
Simple closed curves
  • Lots of people enforce simplicity (see paper)
  • What is a simple closed curve?

Simple, but not closed.
Closed and simple
Closed, but not simple.
49
Information representation
  • Cannot draw some descriptions.
  • eg. one with dual graph
  • This example is due to Lemon and Pratt, 1997.
  • Unknown Which descriptions can be drawn.

def
ghi
abc
beh
cfi
adg
50
Information representation
  • Theorem Every Venn diagram description is
    drawable with simple closed curves.
  • (A Venn diagram description has )

51
Semantic consequences
  • What does this mean?

52
Semantic consequences
  • What does this mean?
  • Interior Obvious (Jordan Curve Theorem).
  • Can reliably interpret.

53
Reasoning consequences
  • Shrinking minimal regions sometimes produces
    non-simple curves.

shrink to a point
54
Reasoning consequences
  • Not everything drawable -gt when can we reason?
  • Does the proof pass through a diagram with
    non-simple curves?
  • Pre and Post condition problem.

premise diagram
conclusion diagram
apply rules to write a proof
55
Answers Simple case
  • Given some information, can we represent it? Not
    always
  • Can we reliably interpret statements? Yes
  • Can we reason about information? Sometimes
    general result unknown

56
Inductive Definitions
  • A rectangle is a Euler diagram so is anything
    which is obtained by adding any closed curve (to
    an Euler diagram) which splits minimal regions
    into at most two components.
  • This is another type of well-formedness condition
    (also frequently enforced).

57
Inductive definitions
  • The inductive definition does not allow minimal
    regions to be disconnected these are banned

A
B
B
A
C
58
Information representation
  • Theorem Every Venn diagram description is
    drawable as an inductive diagram (More, 1959).
  • Unknown Which Euler diagram descriptions are
    drawable.
  • What can be represented?

59
Inductive definitions Venn(5)
  • This symmetric drawing of Venn (5) is not
    inductive

No minimal region is disconnected Removing
any contour disconnects
60
Reasoning consequences
Can we delete contours and retain connectedness
of minimal regions?
Venn(4)
Try deleting A or D.
REDRAW?
Try deleting C or D.
61
Answers Inductive case
  • Given some information, can we represent it?
    Unknown
  • Can we reliably interpret statements? No (we used
    closed curves here)
  • Can we reason about information? Sometimes
    general result unknown

62
Conclusion and further work
  • Using closed curves brings semantic consequences
  • Enforcing wfcs also has consequences
  • Identify subdivisions of the well-formedness
    conditions to answer Yes
  • Identify which descriptions are drawable under
    various wfcs.

63
Thank you
  • www.cmis.brighton.ac.uk/research/vmg
Write a Comment
User Comments (0)
About PowerShow.com