behaviours are dual to events - university of edinburghintro functional reactive animation of c of...

23
Behaviours are Dual to Events Philip Wadler University of Edinburgh Hudak Symposium, 29 April 2016

Upload: others

Post on 15-Mar-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle

Behaviours are Dualto Events

Philip WadlerUniversity of Edinburgh

Hudak Symposium, 29 April 2016

Page 2: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 3: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 4: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 5: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 6: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 7: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 8: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 9: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 10: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 11: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 12: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 13: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 14: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 15: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 16: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 17: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 18: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 19: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 20: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle
Page 21: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle

�, A ` � ⇤-L�, ⇤A ` �

⇤� ` A, ⌃� ⇤-R⇤� ` ⇤A, ⌃�

⇤�, A ` ⌃� ⌃-L⇤�, ⌃A ` ⌃�� ` A, � ⌃-R

� ` ⌃A, �

Page 22: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle

⇤A = Time ! A

⌃A = Time⇥ A

¬A = A! ?

¬⇤¬A

= (Time ! (A! ?))! ?= ((Time⇥ A)! ?)! ?= ¬¬⌃A

= ⌃A

¬⌃¬A

= (Time⇥ (A! ?))! ?= Time ! ((A! ?)! ?)

= ⇤¬¬A

= ⇤A

Page 23: Behaviours are Dual to Events - University of EdinburghIntro Functional Reactive Animation of c of Modeling d el ion . patOrbitsChar10tte — stretch wiggle charlotte moveXY wiggle