Abstract
Quasi-interpretation analysis belongs to the field of implicit computational complexity (ICC) and has shown its interest to deal with resource analysis of first-order functional programs, which are terminating or not. In this paper, we tackle the issue of program decomposition wrt quasi-interpretations analysis. For that purpose, we use the notion of modularity. Firstly, modularity decreases the complexity of the quasi-interpretation search algorithms. Secondly, modularity increases the intentionality of the quasi-interpretation method, that is the number of captured programs. Finally, we take advantage of modularity conditions to extend smoothly quasi-interpretations to higher-order programs.
We study the modularity of quasi-interpretations through the notions of constructor-sharing and hierarchical unions of programs. We show that, in both cases, the existence of quasi-interpretations is no longer a modular property. However, we can still certify the complexity of programs by showing, under some restrictions, that the size of the values computed by a program remains polynomially bounded by the inputs size.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Amadio, R.: Max-plus quasi-interpretations. In: Hofmann, M.O. (ed.) TLCA 2003. LNCS, vol. 2701, pp. 31–45. Springer, Heidelberg (2003)
Amadio, R., Coupet-Grimal, S., Dal-Zilio, S., Jakubiec, L.: A functional scenario for bytecode verification of resource bounds. In: Marcinkowski, J., Tarlecki, A. (eds.) CSL 2004. LNCS, vol. 3210, pp. 265–279. Springer, Heidelberg (2004)
Amadio, R., Dal-Zilio, S.: Resource control for synchronous cooperative threads. In: Gardner, P., Yoshida, N. (eds.) CONCUR 2004. LNCS, vol. 3170, pp. 68–82. Springer, Heidelberg (2004)
Baillot, P., Terui, K.: A feasible algorithm for typing in elementary affine logic. In: Urzyczyn, P. (ed.) TLCA 2005. LNCS, vol. 3461, pp. 55–70. Springer, Heidelberg (2005)
Bonfante, G., Marion, J.-Y., Moyen, J.-Y.: On lexicographic termination ordering with space bound certifications. In: Bjørner, D., Broy, M., Zamulin, A.V. (eds.) PSI 2001. LNCS, vol. 2244, Springer, Heidelberg (2001)
Bonfante, G., Marion, J.-Y., Moyen, J.-Y.: Quasi-interpretation a way to control resources. Theoretical Computer Science (2005) (submitted), http://www.loria.fr/~marionjy
Bonfante, G., Marion, J.-Y., Moyen, J.-Y., Péchoux, R.: Synthesis of quasi-interpretations. In: LCC2005, LICS affiliated Workshop (2005), http://hal.inria.fr/
Coppola, P., Rocca, S.R.D.: Principal typing for lambda calculus in elementary affine logic. Fundamenta Informaticae 65(1-2), 87–112 (2005)
Dal-Zilio, S., Gascon, R.: Resource bound certification for a tail-recursive virtual machine. In: Yi, K. (ed.) APLAS 2005. LNCS, vol. 3780, pp. 247–263. Springer, Heidelberg (2005)
Danvy, O.: An analytical approach to programs as data objects, Doctor Scientarum degree in Computer Science. BRICS. Departement of Computer Science. University of Aarhus (2006)
Dershowitz, N.: Orderings for term-rewriting systems. Theoretical Computer Science 17(3), 279–301 (1982)
Dershowitz, N.: Hierachical termination. In: Lindenstrauss, N., Dershowitz, N. (eds.) CTRS 1994. LNCS, vol. 968, Springer, Heidelberg (1995)
Girard, J.-Y.: Light linear logic. Information and Computation 143(2), 175–204 (1998)
Gramlich, B.: Generalized sufficient conditions for modular termination of rewriting. In: Kirchner, H., Levi, G. (eds.) ALP 1992. LNCS, vol. 632, pp. 53–68. Springer, Heidelberg (1992)
Hofmann, M.: A type system for bounded space and functional in-place update. Nordic Journal of Computing 7(4), 258–289 (2000)
Hofmann, M.: The strength of Non-Size Increasing computation. In: POPL, pp. 260–269 (2002)
Huet, G.: Confluent reductions: Abstract properties and applications to term rewriting systems. Journal of the ACM 27(4), 797–821 (1980)
Jones, N.D.: Computability and complexity, from a programming perspective. MIT Press, Cambridge (1997)
Klop, J.W.: Term rewriting systems. In: Handbook of logic in Computer Science, vol. 2, pp. 1–116. Oxford University Press, Oxford (1992)
Kristiansen, L., Jones, N.D.: The flow of data and the complexity of algorithms. In: Cooper, S.B., Löwe, B., Torenvliet, L. (eds.) CiE 2005. LNCS, vol. 3526, pp. 263–274. Springer, Heidelberg (2005)
Kurihara, M., Ohuchi, A.: Modularity of simple termination of term rewriting systems with shared constructors. Theoretical Computer Science 103, 273–282 (1992)
Lafont, Y.: Soft linear logic and polynomial time. Theoretical Computer Science 318, 163–180 (2004)
Marion, J.-Y., Moyen, J.-Y.: Efficient first order functional program interpreter with time bound certifications. In: Parigot, M., Voronkov, A. (eds.) LPAR 2000. LNCS (LNAI), vol. 1955, pp. 25–42. Springer, Heidelberg (2000)
Marion, J.-Y., Moyen, J.-Y.: Heap analysis for assembly programs. Technical report, Loria (2006)
Middeldorp, A.: Modular properties of term rewriting Systems. PhD thesis, Vrije Universiteit te Amsterdam (1990)
Niggl, K.-H., Wunderlich, H.: Certifying polynomial time and linear/polynomial space for imperative programs. SIAM Journal on Computing 35(5), 1122–1147 (2006)
Ohlebusch, E.: Advanced Topics in Term Rewriting. Springer, Heidelberg (2002)
Krishna Rao, M.R.K.: Modular proofs of completeness of hierarchical term rewriting systems. Theoretical Computer Science 151, 487–512 (1995)
Reynolds, J.C.: Definitional interpreters for higher-order programming languages. In: ACM, pp. 717–740. ACM Press, New York (1972)
Toyama, Y.: Counterexamples for the direct sum of term rewriting systems. Information Processing Letters 25, 141–143 (1987)
Toyama, Y.: On the church-rosser property for the direct sum of term rewriting systems. Journal of the ACM 34(1), 128–143 (1987)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bonfante, G., Marion, JY., Péchoux, R. (2007). Quasi-interpretation Synthesis by Decomposition. In: Jones, C.B., Liu, Z., Woodcock, J. (eds) Theoretical Aspects of Computing – ICTAC 2007. ICTAC 2007. Lecture Notes in Computer Science, vol 4711. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-75292-9_28
Download citation
DOI: https://doi.org/10.1007/978-3-540-75292-9_28
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-75290-5
Online ISBN: 978-3-540-75292-9
eBook Packages: Computer ScienceComputer Science (R0)