Termination Casts: A Flexible Approach to Termination with General Recursion

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

In Proceedings PAR 2010, arXiv:1012.4555

Scientific paper

10.4204/EPTCS.43.6

This paper proposes a type-and-effect system called Teqt, 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 Teqt to a logical theory of termination for general recursive, simply typed functions. Every typing judgment of Teqt is translated to a theorem expressing the appropriate termination property of the computational part of the Teqt term.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Termination Casts: A Flexible Approach to Termination with General Recursion does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Termination Casts: A Flexible Approach to Termination with General Recursion, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Termination Casts: A Flexible Approach to Termination with General Recursion will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-581950

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.