Abstraction and Invariance for Algebraically Indexed Types
- đ¤ Speaker: Andrew Kennedy, Microsoft Research Cambridge
- đ Date & Time: Friday 09 November 2012, 14:00 - 15:00
- đ Venue: Room FW11, Computer Laboratory, William Gates Building
Abstract
The best way we know of describing the semantics of parametric polymorphism is relational parametricity, whose central result is Reynolds’ Abstraction Theorem. It has many striking consequences, including “free theorems”, non-inhabitation results, and encodings of algebraic datatypes.
Relational parametricity is a principle of invariance: the behaviour of polymorphic code is invariant under changes of data representation. Invariance results also abound in mathematics and physics. The area of a triangle is invariant with respect to rotations and reflections; the determinant of a matrix is invariant under changes of basis; and Newton’s laws are the same in all inertial frames.
In this talk, I will talk about recent work inspired by this connection, in which types are indexed by attributes with algebraic structure, and polymorphism over such attributes expresses invariance results. I will describe in detail its application to computational geometry, in which polymorphic types reflect that the behaviour of a program is invariant under varieties of affine transformation. This generalises earlier work on types for units of measure. I will also describe applications to information-flow security and continuity analysis.
This is joint work with Robert Atkey and Patricia Johann of the University of Strathclyde.
Series This talk is part of the Logic and Semantics Seminar (Computer Laboratory) series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge talks
- Computing and Mathematics
- Department of Computer Science and Technology talks and seminars
- Interested Talks
- Logic and Semantics Seminar (Computer Laboratory)
- Martin's interesting talks
- Room FW11, Computer Laboratory, William Gates Building
- School of Technology
- tcw57âs list
- Trust & Technology Initiative - interesting events
- yk373's list
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)


Friday 09 November 2012, 14:00-15:00