Computer Science – Logic in Computer Science
Scientific paper
2012-01-22
Computer Science
Logic in Computer Science
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).
Danner Norman
Royer James S.
No associations
LandOfFree
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.
Profile ID: LFWR-SCP-O-482964