Some Programming Languages for Logspace and Ptime

We propose two characterizations of complexity classes by means of programming languages. The first concerns Logspace while the second leads to Ptime. This latter characterization shows that adding a choice command to a Ptime language (the language WHILE of Jones [1]) may not necessarily provide NPtime computations. The result is close to Cook in [2] who used “auxiliary push-down automata”. Logspace is obtained through a decidable mechanism of tiering. It is based on an analysis of deforestation due to Wadler in [3]. We get also a characterization of NLogspace.

[1]  Stephen A. Cook,et al.  A new recursion-theoretic characterization of the polytime functions , 1992, STOC '92.

[2]  Yuri Gurevich,et al.  Tailoring Recursion for Complexity , 1995, J. Symb. Log..

[3]  Neil D. Jones,et al.  Computability and complexity - from a programming perspective , 1997, Foundations of computing series.

[4]  Isabel Oitavem Characterizing NC with tier 0 pointers , 2004, Math. Log. Q..

[5]  Martin Hofmann,et al.  The strength of non-size increasing computation , 2002, POPL '02.

[6]  Philip Wadler,et al.  Deforestation: Transforming Programs to Eliminate Trees , 1990, Theor. Comput. Sci..

[7]  Daniel Leivant,et al.  A characterization of alternating log time by ramified recurrence , 2000, Theor. Comput. Sci..

[8]  Daniel Leivant,et al.  Predicative Functional Recurrence and Poly-space , 1997, TAPSOFT.

[9]  Guillaume Bonfante,et al.  Quasi-interpretations and Small Space Bounds , 2005, RTA.

[10]  Stephen A. Cook,et al.  Characterizations of Pushdown Machines in Terms of Time-Bounded Computers , 1971, J. ACM.

[11]  Peter Møller Neergaard A Functional Language for Logarithmic Space , 2004, APLAS.

[12]  Jean-Yves Marion,et al.  Efficient First Order Functional Program Interpreter with Time Bound Certifications , 2000, LPAR.

[13]  Daniel Leivant,et al.  Lambda Calculus Characterizations of Poly-Time , 1993, Fundam. Informaticae.

[14]  Kazushige Terui,et al.  Light types for polynomial time computation in lambda-calculus , 2004, LICS 2004.

[15]  Neil D. Jones,et al.  LOGSPACE and PTIME Characterized by Programming Languages , 1999, Theor. Comput. Sci..

[16]  Isabel Oitavem A term rewriting characterization of the functions computable in polynomial space , 2002, Arch. Math. Log..

[17]  Guillaume Bonfante,et al.  On Lexicographic Termination Ordering with Space Bound Certifications , 2001, Ershov Memorial Conference.

[18]  Martin Hofmann,et al.  Linear types and non-size-increasing polynomial time computation , 1999, Proceedings. 14th Symposium on Logic in Computer Science (Cat. No. PR00158).