Ramified Structural Recursion and Corecursion

Computer Science – Logic in Computer Science

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

We investigate feasible computation over a fairly general notion of data and codata. Specifically, we present a direct Bellantoni-Cook-style normal/safe typed programming formalism, RS1, that expresses feasible structural recursions and corecursions over data and codata specified by polynomial functors. (Lists, streams, finite trees, infinite trees, etc. are all directly definable.) A novel aspect of RS1 is that it embraces structure-sharing as in standard functional-programming implementations. As our data representations use sharing, our implementation of structural recursions are memoized to avoid the possibly exponentially-many repeated subcomputations a naive implementation might perform. We introduce notions of size for representations of data (accounting for sharing) and codata (using ideas from type-2 computational complexity) and establish that type-level 1 RS1-functions have polynomial-bounded runtimes and satisfy a polynomial-time completeness condition. Also, restricting RS1 terms to particular types produces characterizations of some standard complexity classes (e.g., omega-regular languages, linear-space functions) and some less-standard classes (e.g., log-space streams).

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

Ramified Structural Recursion and Corecursion 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 Ramified Structural Recursion and Corecursion, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Ramified Structural Recursion and Corecursion will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-482964

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