Title: Formal Issues in Languages Based on Closed Curves
1Formal Issues in Languages Based on Closed Curves
- Andrew Fish and Gem Stapleton
- University of Brighton
- Supported by the Leverhulme Trust
2Important questions
- Given some information, can we represent it?
- Can we reliably interpret statements?
- Can we reason about information?
3Closed 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
4Closed 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
5Closed curves
- Euler diagram application areas
- Visualizing genetic set relations (Kestler et al)
6Closed curves
- Euler diagram application areas
- Visualizing statistical data (Artes et al)
7Closed curves
- Euler diagram application areas
- Robot Trajectory data (Quick et al)
8Closed 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
9Information representation
- Given some information, can we represent it?
- Information lt-gt which minimal regions are be
present
10Information representation
A
B
11Information representation
A
B
12Information representation
A
B
13Information representation
A
B
14Information representation
A
B
15Information representation
A
B
16Information representation
A
B
A
B
17Information representation
A
B
A
B
18Information representation
A
B
A
B
19Information representation
- A diagram description is a pair
- where W is a subset of
- Given a description can we represent/draw it?
20Information representation
- Theorem All descriptions are drawable.
21Information representation
- Theorem All descriptions are drawable.
22Semantic consequences
softwareEngineers
jobSeekers
23Semantic consequences
softwareEngineers
jobSeekers
24Semantic consequences
softwareEngineers
jobSeekers
25Semantic consequences
softwareEngineers
jobSeekers
26Semantic consequences
softwareEngineers
jobSeekers
27Semantic consequences
softwareEngineers
jobSeekers
28Semantic consequences
softwareEngineers
jobSeekers
29Semantic consequences
softwareEngineers
jobSeekers
PowerPoints version!
30Semantic consequences
softwareEngineers
jobSeekers
31Semantic consequences interiors
- How do we determine inside?
path
softwareEngineers
p
32Semantic consequences interiors
- How do we determine inside?
path
softwareEngineers
p
33Semantic consequences interiors
- How do we determine inside?
Each bounded component
softwareEngineers
34Semantic consequences interiors
- How do we determine inside?
Each bounded component
softwareEngineers
35Semantic consequences interiors
- How do we determine inside?
- Two methods, two different interiors
- Must specify method
- Usability
36Reasoning 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 -
37Reasoning consequences
- Everything drawable -gt can always reason
A
d1
Swoboda and Allwein
38Reasoning consequences
- Everything drawable -gt can always reason
A
d1
d2
Swoboda and Allwein
39Reasoning consequences
- Everything drawable -gt can always reason
A
A
d1
d2
d3
Swoboda and Allwein
40Reasoning consequences
- Everything drawable -gt can always reason
A
A
d1
d2
d3
A
Swoboda and Allwein
d4
41Reasoning consequences
- Everything drawable -gt can always reason
A
A
d1
d2
d3
A
Proof
Swoboda and Allwein
d4
42Reasoning consequences
- Can reason nicely mental map preservation
43Reasoning consequences
- Can reason nicely mental map preservation
shrink to a point
44Reasoning consequences
- Can reason nicely mental map preservation
shrink to a point
Theorem Any minimal region can be removed by
shrinking.
45Reasoning consequences
- Can shrink, but not to a point
46Allowing any closed curves
The Hilbert Space Filling Curve
See eg http//www.cut-the-knot.org/do_you_know/hi
lbert.shtml
47Answers
- 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
48Simple 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.
49Information 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
50Information representation
- Theorem Every Venn diagram description is
drawable with simple closed curves. - (A Venn diagram description has )
51Semantic consequences
52Semantic consequences
- What does this mean?
- Interior Obvious (Jordan Curve Theorem).
- Can reliably interpret.
53Reasoning consequences
- Shrinking minimal regions sometimes produces
non-simple curves.
shrink to a point
54Reasoning 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
55Answers 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
56Inductive 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).
57Inductive definitions
- The inductive definition does not allow minimal
regions to be disconnected these are banned
A
B
B
A
C
58Information 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?
59Inductive definitions Venn(5)
- This symmetric drawing of Venn (5) is not
inductive
No minimal region is disconnected Removing
any contour disconnects
60Reasoning consequences
Can we delete contours and retain connectedness
of minimal regions?
Venn(4)
Try deleting A or D.
REDRAW?
Try deleting C or D.
61Answers 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
62Conclusion 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.
63Thank you
- www.cmis.brighton.ac.uk/research/vmg