Coinductive big-step operational semantics for type soundness of Java-like languages

  • Authors:
  • Davide Ancona

  • Affiliations:
  • DISI, University of Genova, Italy

  • Venue:
  • Proceedings of the 13th Workshop on Formal Techniques for Java-Like Programs
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

We define a coinductive semantics for a simple Java-like language by simply interpreting coinductively the rules of a standard big-step operational semantics. We prove that such a semantics is sound w.r.t. the usual small-step operational semantics, and then prove soundness of a conventional nominal type system w.r.t. the coinductive semantics. From these two results, soundness of the type system w.r.t. the small-step semantics can be easily deduced. This new proposed approach not only opens up new possibilities for proving type soundness, but also provides useful insights on the connection between coinductive big-step operational semantics and type systems.