correctness in causal systems

25
7th Biennial Ptolemy Miniconference Berkeley, CA February 13, 2007 Correctness in Causal Systems Eleftherios Matsikoudis UC Berkeley

Upload: urielle-gould

Post on 31-Dec-2015

36 views

Category:

Documents


0 download

DESCRIPTION

Correctness in Causal Systems. Eleftherios Matsikoudis UC Berkeley. Causality (Informally). … is the constraint that an effect cannot precede its cause. Relevance. Modeling and Simulation Synchronous Programming of Reactive Systems Hardware Description. Correctness. ?. f. f. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Correctness in Causal Systems

7th Biennial Ptolemy Miniconference

Berkeley, CAFebruary 13, 2007

Correctness in Causal Systems

Eleftherios Matsikoudis

UC Berkeley

Page 2: Correctness in Causal Systems

Matsikoudis, Berkeley 2Ptolemy Miniconference, February 13, 2007

Causality (Informally)

… is the constraint that an effect cannot precede its cause.

Page 3: Correctness in Causal Systems

Matsikoudis, Berkeley 3Ptolemy Miniconference, February 13, 2007

Relevance

Modeling and Simulation

Synchronous Programming of Reactive Systems

Hardware Description

Page 4: Correctness in Causal Systems

Matsikoudis, Berkeley 4Ptolemy Miniconference, February 13, 2007

Correctness

?

Page 5: Correctness in Causal Systems

Matsikoudis, Berkeley 5Ptolemy Miniconference, February 13, 2007

Systems..

sC

sSE fAsA

sBfB

fMsM

Page 6: Correctness in Causal Systems

Matsikoudis, Berkeley 6Ptolemy Miniconference, February 13, 2007

Systems..

sC

sSE fAsA

sBfB

fMsM

as Fixed-Point Equations

sA = fA (sM ;sC )

sB = fB (sA ;sC )

sM = fM (sB ;sSE )

Page 7: Correctness in Causal Systems

Matsikoudis, Berkeley 7Ptolemy Miniconference, February 13, 2007

Signals

T

V

Page 8: Correctness in Causal Systems

Matsikoudis, Berkeley 8Ptolemy Miniconference, February 13, 2007

Prefix Order

s1 s2v

Page 9: Correctness in Causal Systems

Matsikoudis, Berkeley 9Ptolemy Miniconference, February 13, 2007

Generalized Ultrametric Distance

d(s1;s2)

s1

s2

Page 10: Correctness in Causal Systems

Matsikoudis, Berkeley 10Ptolemy Miniconference, February 13, 2007

Causal Functions

µ

s1

s2

f (s1)

f (s2)

Page 11: Correctness in Causal Systems

Matsikoudis, Berkeley 11Ptolemy Miniconference, February 13, 2007

Existence of Fixed Points..?

f (s) def=

(fh¿;vig if ¿ 62 doms,; otherwise.

Page 12: Correctness in Causal Systems

Matsikoudis, Berkeley 12Ptolemy Miniconference, February 13, 2007

-Causal Functions

R0

±

¸ ±

s1

s2

f (s1)

f (s2)

Page 13: Correctness in Causal Systems

Matsikoudis, Berkeley 13Ptolemy Miniconference, February 13, 2007

Construction of Fixed Points

limn! 1

f n(s)

Page 14: Correctness in Causal Systems

Matsikoudis, Berkeley 14Ptolemy Miniconference, February 13, 2007

Strictly Causal Functions

s1

s2

f (s1)

f (s2)½

Page 15: Correctness in Causal Systems

Matsikoudis, Berkeley 15Ptolemy Miniconference, February 13, 2007

Zeno

Page 16: Correctness in Causal Systems

Matsikoudis, Berkeley 16Ptolemy Miniconference, February 13, 2007

Construction of Fixed Points

f (f ( ))

f ( )f ( )

f (f ( ))

f (; )

f (f (; ))

Page 17: Correctness in Causal Systems

Matsikoudis, Berkeley 17Ptolemy Miniconference, February 13, 2007

Beyond Strict Causality..

Page 18: Correctness in Causal Systems

Matsikoudis, Berkeley 18Ptolemy Miniconference, February 13, 2007

Algebraic Loops

y(t) =x(t) =

x2(t) +u(t)

K y(t)

Page 19: Correctness in Causal Systems

Matsikoudis, Berkeley 19Ptolemy Miniconference, February 13, 2007

x2(t) +u(t)

K y(t)

Algebraic Loops

y(t) =x(t) =

1:072

0:268

Page 20: Correctness in Causal Systems

Matsikoudis, Berkeley 20Ptolemy Miniconference, February 13, 2007

1:072

0:268

Algebraic Loops

y(t) =x(t) =

14:9282

3:7321

Page 21: Correctness in Causal Systems

Matsikoudis, Berkeley 21Ptolemy Miniconference, February 13, 2007

… in Simulink

Page 22: Correctness in Causal Systems

Matsikoudis, Berkeley 22Ptolemy Miniconference, February 13, 2007

… in Ptolemy II

Page 23: Correctness in Causal Systems

Matsikoudis, Berkeley 23Ptolemy Miniconference, February 13, 2007

Functions Strictly Causal on Orbits

½

s

f (s)

f (f (s))

Page 24: Correctness in Causal Systems

Matsikoudis, Berkeley 24Ptolemy Miniconference, February 13, 2007

Construction of Fixed Points

f (f ( ))

f ( )f ( )

f (f ( ))

f (; )

f (f (; ))

Page 25: Correctness in Causal Systems

Matsikoudis, Berkeley 25Ptolemy Miniconference, February 13, 2007

Conclusion

Proceed with caution..