### Abstract

Original language | English |
---|---|

Publication status | Published - 30 Oct 2016 |

Event | 13th ICTAC International Colloquium on Theoretical Aspects of Computing - Taipei, Taiwan, Province of China Duration: 24 Oct 2016 → 30 Oct 2016 |

### Conference

Conference | 13th ICTAC International Colloquium on Theoretical Aspects of Computing |
---|---|

Country | Taiwan, Province of China |

City | Taipei |

Period | 24/10/16 → 30/10/16 |

### Fingerprint

### Cite this

*Unifying heterogeneous state-spaces with lenses.*. Paper presented at 13th ICTAC International Colloquium on Theoretical Aspects of Computing, Taipei, Taiwan, Province of China.

}

**Unifying heterogeneous state-spaces with lenses.** / Foster, Simon; Zeyda, Frank; Woodcock, Jim.

Research output: Contribution to conference › Paper

TY - CONF

T1 - Unifying heterogeneous state-spaces with lenses.

AU - Foster, Simon

AU - Zeyda, Frank

AU - Woodcock, Jim

PY - 2016/10/30

Y1 - 2016/10/30

N2 - Most verification approaches embed a model of program state into their semantic treatment. Though a variety of heterogeneous state- space models exists, they all possess common theoretical properties one would like to abstractly capture, such as the laws of programming. In this paper, we propose lenses as a universal state-space modelling solution. Lenses provide an abstract interface for manipulating data types through spatially-separated views. We dene a lens algebra that allow their composition and comparison. We show how this algebra can be used to model variables and alphabets in Hoare and He's Unifying Theories of Programming. The combination of lenses and relational algebra gives rise to a model for UTP in which its fundamental laws can be verified. Moreover, we illustrate how they can be used to model more state complex notions such as memory stores and parallel states. We provide a mechanisation in Isabelle/HOL that validates our theory, and facilitates its use in program verification.

AB - Most verification approaches embed a model of program state into their semantic treatment. Though a variety of heterogeneous state- space models exists, they all possess common theoretical properties one would like to abstractly capture, such as the laws of programming. In this paper, we propose lenses as a universal state-space modelling solution. Lenses provide an abstract interface for manipulating data types through spatially-separated views. We dene a lens algebra that allow their composition and comparison. We show how this algebra can be used to model variables and alphabets in Hoare and He's Unifying Theories of Programming. The combination of lenses and relational algebra gives rise to a model for UTP in which its fundamental laws can be verified. Moreover, we illustrate how they can be used to model more state complex notions such as memory stores and parallel states. We provide a mechanisation in Isabelle/HOL that validates our theory, and facilitates its use in program verification.

M3 - Paper

ER -