Abstract
We describe in this paper an inductive proof method for properties of reduction relations. The reduction trees are simulated with proof trees generated by narrowing and an abstraction mechanism. While narrowing simulates reduction, abstraction relies on the induction principle to replace subterms by variables representing specific reduced forms that trivially satisfy the property to be proved. The induction ordering is not given a priori, but defined with ordering constraints, incrementally set during the proof. Abstraction constraints are used to control the narrowing mechanism, well-known to easily diverge. The proof method is briefly illustrated on various examples of properties.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Arts, T., Giesl, J.: Proving innermost normalisation automatically. In: Comon, H. (ed.) Rewriting Techniques and Applications. LNCS, vol. 1232, pp. 157–171. Springer, Heidelberg (1997)
Baader, F., Nipkow, T.: Term Rewriting and all That. Cambridge University Press, New York, NY, USA (1998)
Balland, E., Brauner, P., Kopetz, R., Moreau, P.-E., Reilles, A.: Tom Manual LORIA, Nancy (France) (version 2.4 edn.) (2006)
Bezem, M., Klop, J.W., de Vrijer, R.: Term Rewriting Systems. In: Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, Cambridge (2003)
Bouhoula, A., Jaquemard, F.: Automatic verification of. sufficient completeness for. specifications of complex data structures. Technical Report RR-LSV-05-17, INRIA (2005)
Bouhoula, A.: Using induction and rewriting to verify and complete parameterized specifications. Theoretical Computer Science 170(1-2), 245–276 (1996)
Bouhoula, A., Jacquemard, F.: Automating sufficient completeness check for conditional and constrained TRS. In: Levy, J (ed): Proceedings of the 20th International Workshop on Unification (UNIF 2006), Seattle, Washington, USA (August 2006)
Caron, A-C., Coquide, J-L., Dauchet, M.: Encompassment properties and automata with constraints. In: Kirchner, C. (ed.) Rewriting Techniques and Applications. LNCS, vol. 690, pp. 328–342. Springer, Heidelberg (1993)
Cirstea, H., Kirchner, C.: The rewriting calculus — Part I and II. Logic Journal of the Interest Group in Pure and Applied Logics 9, 427–498 (2001)
Cirstea, H., Kirchner, C., Liquori, L., Wack, B.: Rewrite strategies in the rewriting calculus. In: Gramlich, B., Lucas, S. (eds.) Electronic Notes in Theoretical Computer Science, vol. 86, Elsevier, North-Holland, Amsterdam (2003)
Clavel, M., Durán, F., Eker, S., Lincoln, P., Martí-Oliet, N., Meseguer, J., Quesada, J.F.: Maude: specification and programming in rewriting logic. Theoretical Computer Science 285(2), 187–243 (2002)
Comon, H.: Sufficient completeness, term rewriting system and anti-unification. In: Siekmann, J.H. (ed.) CADE 1986. LNCS, vol. 230, pp. 128–140. Springer, Heidelberg (1986)
Comon, H., Jacquemard, F.: Ground reducibility is EXPTIME-complete. In: Proc. 12th IEEE Symp. Logic in Computer Science, pp. 26–34. IEEE Comp. Soc. Press, Washington, DC, USA (1997)
Dershowitz, N., Jouannaud, J.-P.: Handbook of Theoretical Computer Science (Also as: Research report 478, LRI). In: Rewrite Systems, vol. B, pp. 244–320. Elsevier Science Publishers, B. V. North-Holland (1990)
Dershowitz, N., Plaisted, D.A.: Rewriting. In: Robinson, A., Voronkov, A. (eds.) Handbook of Automated Reasoning, vol. I, pp. 535–610. Elsevier Science, Amsterdam (2001)
Fernández, M.-L., Godoy, G., Rubio, A.: Orderings for innermost termination. In: Giesl, J. (ed.) RTA 2005. LNCS, vol. 3467, pp. 17–31. Springer, Heidelberg (2005)
Fissore, O., Gnaedig, I., Kirchner, H.: Termination of rewriting with local strategies. In: Bonacina, M.P., Gramlich, B. (eds.) Selected papers of the 4th International Workshop on Strategies in Automated. Deduction. Electronic Notes in Theoretical Computer Science, vol. 58, Elsevier Science Publishers, B. V. North-Holland (2001)
Fissore, O., Gnaedig, I., Kirchner, H.: Cariboo: An induction based proof tool for termination with strategies. In: Fissore, O., Gnaedig, I., Kirchner, H. (eds.) Proceedings of the 4th International Conference on Principles and Practice of Declarative Programming, Pittsburgh (USA), ACM Press, New York (2002)
Fissore, O., Gnaedig, I., Kirchner, H.: Outermost ground termination. In: Proceedings of the 4th International Workshop on Rewriting Logic and Its Applications, Pisa, Italy, September 2002. Electronic Notes in Theoretical Computer Science, vol. 71, Elsevier Science Publishers B. V (North-Holland), Amsterdam (2002)
Fissore, O., Gnaedig, I., Kirchner, H.: A proof of weak termination providing the right way to terminate. In: Liu, Z., Araki, K. (eds.) ICTAC 2004. LNCS, vol. 3407, pp. 356–371. Springer, Heidelberg (2004)
Fissore, O., Gnaedig, I., Kirchner, H., Moussa, L.: Cariboo, a termination proof tool for rewriting-based programming languages with strategies, Version 1.1. Free GPL Licence, APP registration IDDN.FR.001.170013.001.S.P.2005.000.10600 (December 2005), Available at http://protheo.loria.fr/softwares/cariboo/
Giesl, J., Middeldorp, A.: Transforming Context-Sensitive Rewrite Systems. In: Narendran, P., Rusinowitch, M. (eds.) RTA 1999. LNCS, vol. 1631, pp. 271–285. Springer, Heidelberg (1999)
Giesl, J., Middeldorp, A.: Innermost termination of context-sensitive rewriting. In: Ito, M., Toyama, M. (eds.) DLT 2002. LNCS, vol. 2450, pp. 231–244. Springer, Heidelberg (2003)
Giesl, J., Thiemann, R., Schneider-Kamp, P., Falke, S.: Improving dependency pairs. In: Vardi, M.Y., Voronkov, A. (eds.) LPAR 2003. LNCS, vol. 2850, pp. 165–179. Springer, Heidelberg (2003)
Giesl, J., Swiderski, S., Schneider-Kamp, P., Thiemann, R.: Automated Termination Analysis for Haskell: From term rewriting to programming languages. In: Pfenning, F. (ed.) RTA 2006. LNCS, vol. 4098, pp. 297–312. Springer, Heidelberg (2006)
Gnaedig, I., Kirchner, H.: Computing constructor forms with non terminating rewrite programs. In: Maher, M. (ed.) Proceedings of the Eighth ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming, Venice, Italy, pp. 121–132. ACM Press, New York (July 2006)
Gnaedig, I., Kirchner, H.: Termination of rewriting under strategies: a generic approach, Submitted. Also as HAL-INRIA Open Archive Number inria-00113156 (2006)
Gnaedig, I., Kirchner, H., Genet, T.: Induction for Termination. Technical Report 99.R.338, LORIA, Nancy (France) (December 1999)
Goguen, J.A., Jouannaud, J.-P., Meseguer, J.: Operational semantics for order-sorted algebra. In: Brauer, W. (ed.) Automata, Languages and Programming. LNCS, vol. 194, pp. 221–231. Springer, Heidelberg (1985)
Goubault- Larrecq, J.: A proof of weak termination of typed lambda-sigma-calculi. In: Giménez, E. (ed.) TYPES 1996. LNCS, vol. 1512, Springer, Heidelberg (1998)
Gramlich, B.: Relating innermost, weak, uniform and modular termination of term rewriting systems. In: Voronkov, A. (ed.) LPAR 1992. LNCS, vol. 624, pp. 285–296. Springer, Heidelberg (1992)
Gramlich, B.: On proving termination by innermost termination. In: Ganzinger, H. (ed.) Rewriting Techniques and Applications. LNCS, vol. 1103, pp. 93–107. Springer, Heidelberg (1996)
Gramlich, B.: On termination and confluence properties of disjoint and constructor-sharing conditional rewrite systems. Theoretical Computer Science 165(1), 97–131 (1996)
Hendrix, J., Clavel, M., Meseguer, J.: A sufficient completeness reasoning tool for partial specifications. In: Giesl, J. (ed.) RTA 2005. LNCS, vol. 3467, pp. 165–174. Springer, Heidelberg (2005)
Huet, G., Hullot, J.-M.: Proofs by induction in equational theories with constructors. Journal of Computer and System Sciences, 25(2) , 239–266 (1982), In: Preliminary version Proceedings 21st Symposium on Foundations of Computer Science, October 1982, IEEE (1980)
Jouannaud, J.-P., Kounalis, E.: Automatic proofs by induction in theories without constructors. Information and Computation 82, 1–33 (1989)
Kapur, D., Narendran, P., Zhang, H.: Proof by induction using test sets. In: Siekmann, J.H. (ed.) 8th International Conference on Automated Deduction. LNCS, vol. 230, pp. 99–117. Springer, Heidelberg (1986)
Kapur, D., Narendran, P., Zhang, H.: On sufficient completeness and related properties of term rewriting systems. Acta Informatica 24, 395–415 (1987)
Kirchner, C., Kirchner, H., Rusinowitch, M.: Deduction with symbolic constraints. Revue d’Intelligence Artificielle. Special issue on Automatic Deduction 4(3), 9–52 (1990)
Kirchner, C., Kirchner, H., Vittek, M.: Designing constraint logic programming languages using computational systems. In: Van Hentenryck, P., Saraswat, V. (eds.) Principles and Practice of Constraint Programming. The Newport Papers. ch. 8, pp. 131–158. The MIT press, Cambridge, MA (1995)
Kounalis, E.: Completeness in data type specifications. In: Caviness, B.F. (ed.) ISSAC 1985 and EUROCAL 1985. LNCS, vol. 204, pp. 348–362. Springer, Heidelberg (1985)
Kounalis, E.: Testing for the ground (co-)reducibility property in term-rewriting systems. Theoretical Computer Science 106, 87–117 (1992)
Kruskal, J.B.: Well-quasi ordering, the tree theorem and Vazsonyi’s conjecture. Trans. Amer. Math. Soc. 95, 210–225 (1960)
Lazrek, A., Lescanne, P., Thiel, J.-J.: Tools for proving inductive equalities, relative completeness and ω-completeness. Information and Computation 84(1), 47–70 (1990)
Lucas, S.: Termination of context-sensitive rewriting by rewriting. In: Meyer auf der Heide, F., Monien, B. (eds.) ICALP 1996. LNCS, vol. 1099, pp. 122–133. Springer, Heidelberg (1996)
Lucas, S.: Termination of on-demand rewriting and termination of OBJ programs. In: Sondergaard, H. (ed.) PPDP 2001. Proc. of 3rd International ACM SIGPLAN Conference on Principles and Practice of Declarative Programming, Firenze, Italy, pp. 82–93. ACM Press, New York (2001)
Lucas, S.: Termination of rewriting with strategy annotations. In: Voronkov, A., Nieuwenhuis, R. (eds.) LPAR 2001. LNCS (LNAI), vol. 2250, pp. 669–684. Springer, Heidelberg (2001)
Lucas, S.: Context-sensitive rewriting strategies. Information and Computation 178(1), 294–343 (2002)
Martí-Oliet, N., Meseguer, J.: Rewriting logic and its applications: Preface. Theoretical Computer Science 285(2), 119–120 (2002)
Meseguer, J., Thati, P.: Symbolic reachability analysis using narrowing and its application to the verification of cryptographic protocols. In: Marti-Oliet, N., Thati, P., Martí-Oliet, N. (eds.) WRLA 2004. Proceedings of the Fifth International Workshop on Rewriting Logic and Its Applications. Electronic Notes in Theoretical Computer Science, vol. 117, pp. 153–182. 1, 1 (2004)
Middeldorp, A., Hamoen, E.: Completeness results for basic narrowing. Applicable Algebra in Engineering, Communication and Computation 5(3 & 4), 213–253 (1994)
Moreau, P.-E., Ringeissen, C., Vittek, M.: A pattern matching compiler for multiple target languages. In: Hedin, G. (ed.) CC 2003 and ETAPS 2003. LNCS, vol. 2622, pp. 61–76. Springer, Heidelberg (2003)
Nguyen, Q-H.: Compact normalisation trace via lazy rewriting. In: Lucas, S., Gramlich, B. (eds.) WRS 2001. Proc. 1st International Workshop on Reduction Strategies in Rewriting and Programming, vol. 57, Elsevier Science Publishers B. V., North-Holland, Amsterdam (2001)
Nipkow, T., Weikum, G.: A decidability result about sufficient completeness of axiomatically specified abstract data types. In: Cremers, A.B., Kriegel, H.-P. (eds.) Theoretical Computer Science. LNCS, vol. 145, pp. 257–268. Springer, Heidelberg (1983)
Panitz, S.E., Schmidt-Schauss, M.: TEA: Automatically proving termination of programs in a non-strict higher-order functional language. In: Van Hentenryck, P. (ed.) SAS 1997. LNCS, vol. 1302, pp. 345–360. Springer, Heidelberg (1997)
Plaisted, D.: Semantic confluence tests and completion methods. Information and Control 65, 182–215 (1985)
Visser, E.: Stratego: A language for program transformation based on rewriting strategies. System description of Stratego 0.5 (LP:0). In: Middeldorp, A. (ed.) Rewriting Techniques and Applications 2001. LNCS, vol. 2051, pp. 357–361. Springer, Heidelberg (2001)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Gnaedig, I., Kirchner, H. (2007). Narrowing, Abstraction and Constraints for Proving Properties of Reduction Relations. In: Comon-Lundh, H., Kirchner, C., Kirchner, H. (eds) Rewriting, Computation and Proof. Lecture Notes in Computer Science, vol 4600. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73147-4_3
Download citation
DOI: https://doi.org/10.1007/978-3-540-73147-4_3
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-73146-7
Online ISBN: 978-3-540-73147-4
eBook Packages: Computer ScienceComputer Science (R0)