• Title of article

    Termination Casts: A Flexible Approach to Termination with General Recursion

  • Author/Authors

    Aaron Stump، نويسنده , , Vilhelm Sjoberg، نويسنده , , Stephanie Weirich، نويسنده ,

  • Issue Information
    روزنامه با شماره پیاپی سال 2010
  • Pages
    18
  • From page
    76
  • To page
    93
  • Abstract
    This paper proposes a type-and-effect system called T6q. which distinguishes terminating terms and total functions from possibly diverging terms and partial functions, for a lambda calculus with general recursion and equality types. The central idea is to include a primitive type-form "Terminates t", expressing that term t is terminating; and then allow terms t to be coerced from possibly diverging to total, using a proof of Terminates t. We call such coercions termination casts, and show how to implement terminating recursion using them. For the meta-theory of the system, we describe a translation from T6q to a logical theory of termination for general recursive, simply typed functions. Every typing judgment of T6q is translated to a theorem expressing the appropriate termination property of the computational part of the T6q term
  • Journal title
    Electronic Proceedings in Theoretical Computer Science
  • Serial Year
    2010
  • Journal title
    Electronic Proceedings in Theoretical Computer Science
  • Record number

    680032