Enhancing the Expressiveness of Spider Diagram Systems - PowerPoint PPT Presentation

1 / 44
About This Presentation
Title:

Enhancing the Expressiveness of Spider Diagram Systems

Description:

Constant spider labelling. s. s. s s. 18. Generalizing Spiders ... Spider labels. label square feet (not just used once/one per c. spider) Logical Connectives ... – PowerPoint PPT presentation

Number of Views:62
Avg rating:3.0/5.0
Slides: 45
Provided by: ges89
Category:

less

Transcript and Presenter's Notes

Title: Enhancing the Expressiveness of Spider Diagram Systems


1
Enhancing the Expressiveness of Spider Diagram
Systems
  • Gem Stapleton and John Howse
  • Visual Modelling Group
  • University of Brighton, UK
  • Supported by the Leverhulme Trust

2
Constraint Diagrams Example
Introduced by Kent (OOPSLA 1997)
3
Reasoning
  • To reason about specifications.
  • Sound and complete fragments.
  • Automated TP to provide practical support.
  • Spider diagrams fragment.

4
Spider Diagrams
A
B
There is an element in A and everything that is
in B is also in A.
5
Spider Diagrams
B
A
There are exactly two elements in B and
everything that is in A is also in B.
6
Spider Diagrams with Constants
There exists x in B that is not in A.
A
B
c
d1
The individual c is not in A or B.
7
Compound Diagrams
Connectives. and or
U
C
B
A
8
Building Blocks of Spider Diagrams
  • Euler Diagrams with shading
  • Feet (represent objects)
  • round
  • square
  • Lines (represent disjunction)
  • connect feet BUT only feet of the same type
  • Spider labels
  • label square feet BUT only one label per
    spider...
  • Logical Connectives

s,t,
9
Expressiveness
Theorem All unitary spider diagrams are
satisfiable.
  • Theorem
  • The spider diagram language is equivalent to
    MFOLe.

10
The Expressiveness of Unitary Diagrams
Can express there are at least n elements in
A, there are at most m elements in A, the
individual c is in A, the individuals c and d
are distinct etc. Exact expressiveness later

11
The Expressiveness of Unitary Diagrams
No semantically equivalent unitary diagram
12
The Expressiveness of Unitary Diagrams
No semantically equivalent unitary diagram
13
The Expressiveness of Unitary Diagrams
No semantically equivalent unitary diagram
A
A
s
t
14
The Expressiveness of Unitary Diagrams
How do we express there are two distinct
individuals, one is s in A or t outside A and the
other is t in A or u outside A.
15
Observations
  • More concise than compound diagrams.
  • Many simple statements cannot be made.
  • Unnatural ways of making statements.
  • Automated unitary reasoning is easier to control
    (D2K4, VLC 04).
  • Easier to automatically draw unitary than
    compound (D2K2, VL/HCC 04).
  • Increase expressiveness Generalizations.

16
Generalizing Spiders
Constant spider labelling
17
Generalizing Spiders
Constant spider labelling
18
Generalizing Spiders

Multiple typed spiders
There is an element in U-A or s is in A and A is
a subset of s
A
s
19
Generalizing Spiders

Placing of feet
A
s is in A or t is in A and A1
s
t
20
Generalizing Spiders
How do we express there are two distinct
individuals, one is s in A or t outside A and the
other is t in A or u outside A.

A
A
u
A
s
s
t
u
t
21
Efficiency
22
Flexibility
23
Previously...
  • Euler Diagrams with shading
  • Feet (represent objects)
  • round
  • square
  • Lines (represent disjunction)
  • connect feet BUT only feet of the same type
  • Spider labels
  • label square feet BUT only one label per
    spider...
  • Logical Connectives

s,t,
24
Now
  • Euler Diagrams with shading
  • Feet (represent objects)
  • round
  • square
  • Lines (represent disjunction)
  • connect ANY feet (not just same type/different
    zones)
  • Spider labels
  • label square feet (not just used once/one per
    c. spider)
  • Logical Connectives

s,t,
25
Generalizing Spiders

Theorem The generalizations increase the
expressiveness of the unitary system. How much?
26
Non-generalized Expressiveness
27
Non-generalized Expressiveness
  • one for each spider

28
Non-generalized Expressiveness
  • one for each spider
  • describes the set xi
  • belongs to and, if
  • necessary, identifies xi with a constant.

29
Non-generalized Expressiveness
  • one for each spider
  • describes the set xi
  • belongs to and, if
  • necessary, identifies xi with a constant.

each spider denotes a distinct element
30
Non-generalized Expressiveness
  • one for each spider
  • describes the set xi
  • belongs to and, if
  • necessary, identifies xi with a constant.

each spider denotes a distinct element
places an upper bound on set cardinality
31
Example
A
s
32
Example
A
s
P1
33
Example
A
s
P2
34
Example
35
Generalized Expressiveness
  • one for each spider

each spider denotes a distinct element
places an upper bound on set cardinality
36
Generalized Expressiveness
  • one for each spider
  • a disjunction of
  • Pis that assert which
  • set xi belongs to and,
  • if necessary, identifies xi with a constant.

each spider denotes a distinct element
places an upper bound on set cardinality
37
Example
A
s
t
38
Example
A
s
t
R1
39
Example
A
s
t
R2
40
Further Limitations
41
Further Limitations

42
Further Limitations
43
Conclusion and further work
  • By generalizing spiders we have increased the
    expressiveness of the unitary system
  • -- efficiency
  • -- flexibility.
  • There are still simple statements that cannot be
    made.
  • Can we make the unitary system as expressive as
    the whole system?
  • When do the generalizations help ATP?
  • What is a good choice of strand and tie
    semantics?
  • When do the generalizations help people?
  • Constraint diagram expressiveness.

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