Ultrametric Semantics of Reactive Programs

  • Authors:
  • Neelakantan R. Krishnaswami;Nick Benton

  • Affiliations:
  • -;-

  • Venue:
  • LICS '11 Proceedings of the 2011 IEEE 26th Annual Symposium on Logic in Computer Science
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe a denotational model of higher-order functional reactive programming using ultra metric spaces and non expansive maps, which provide a natural Cartesian closed generalization of causal stream functions and guarded recursive definitions. We define a type theory corresponding to this semantics and show that it satisfies normalization. Finally, we show how to efficiently implement reactive programs written in this language using an imperatively updated data flow graph, and give a separation logic proof that this low-level implementation is correct with respect to the high-level semantics.