Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

A Formalization of the Knuth---Bendix(---Huet) Critical Pair Theorem

Published: 01 October 2010 Publication History

Abstract

A mechanical proof of the Knuth---Bendix Critical Pair Theorem in the higher-order language of the theorem prover PVS is described. This well-known theorem states that a Term Rewriting System is locally confluent if and only if all its critical pairs are joinable. The formalization of this theorem follows Huet's well-known structure of proof in which the restriction on strong normalization or Noetherian was dropped and the result presented as a lemma. In order to formalize the Knuth---Bendix Critical Pair Theorem we rely on previously developed PVS theories for a bstract r eduction s ystems, named ars, and t erm r ewriting s ystems, named trs, which were built upon the PVS libraries for finite sequences and sets. On the one hand, the theory trs is composed of subtheories for dealing with the structure of terms, for replacements of subterms and substitutions and jointly with the theory ars it allows for adequate specifications of elaborate notions of term rewriting systems such as the one of critical pairs. On the other hand, ars specifies basic definitions and notions of abstract reduction systems such as reduction, termination, normal forms, and confluence as well as non basic concepts such as strong normalization.

References

[1]
Altenkirch, T.: A formalization of the strong normalization proof for system F in LEGO. In: Bezem, M., Groote, J.F. (eds.) Proceedings of the International Conference on Typed Lambda Calculi and Applications, TLCA'93. Lecture Notes in Computer Science, vol. 664, pp. 13-28. Springer, Utrecht (1993).
[2]
Altenkirch, T.: Proving strong normalization of CC by modifying realizability semantics. In: Barendregt, H.P., Nipkow, T. (eds.) Types for proofs and programs. Lecture Notes in Computer Science, vol. 806, pp. 3-18. Springer, New York (1994).
[3]
Altenkirch, T., Dybjer, P., Hofmann, M., Scott, P.: Normalization by evaluation for typed lambda calculus with coproducts. In: Halpern, J. (ed.) Proceedings of the Sixteenth Annual IEEE Symposium on Logic in Computer Science, pp. 303-310. IEEE Computer Society, Boston (2001).
[4]
Ayala-Rincón, M., Llanos, C.H., Jacobi, R.P., Hartenstein, R.W.: Prototyping time- and spaceefficient computations of algebraic operations over dynamically reconfigurable systems modeled by rewriting-logic. ACM Transact. Des. Automat. Electron. Syst. 11 (2), 251-281 (2006).
[5]
Ayala-Rincón, M., Sant'Ana, T.M.: SAEPTUM: verification of ELAN hardware specifications using the proof assistant PVS. In: 19th Symp. on Integrated Circuits and System Design, pp. 125-130. ACM Press (2006).
[6]
Baader, F., Nipkow, T.: Term Rewriting and All That . Cambridge University Press, Cambridge (1998).
[7]
Barras, B.: Auto-validation d'un système de preuves avec familles inductives. Thèse de doctorat, Université Paris 7 (1999).
[8]
Bezem, M., Coquand, T.: Neman's lemma--a case study in proof automation and geometric logic. Bull. Eur. Assoc. Theor. Comput. Sci. 79 , 86-100 (2003).
[9]
Bezem, M., Klop, J.W., de Vrijer, R. (eds.): Term Rewriting Systems by TeReSe. Cambridge Tracts in Theoretical Computer Science, no. 55. Cambridge University Press, Cambridge (2003).
[10]
Blanqui, F., Coupet-Grimal, S., Delobel, W., Hinderer, S., Koprowski, A.: CoLoR, a Coq library on rewriting and termination. In: 8th International Workshop on Termination (WST '06) (2006).
[11]
Boyer, R.S., Moore, J.S.: A Computational Logic Handbook. Academic Press Professional, San Diego (1988).
[12]
Contejean, E., Courtieu, P., Forest, J., Pons, O., Urbain, X.: Certification of automated termination proofs. In: Konev, B., Wolter, F. (eds.) 6th International Symposium on Frontiers of Combining Systems (FroCos 07). Lecture Notes in Artificial Intelligence, vol. 4720, pp. 148-162. Springer, Liverpool (2007).
[13]
Ford, J.M., Mason, I.A.: Operational techniques in PVS--a preliminary evaluation. In: Proceedings of the Australasian Theory Symposium, CATS'01 (2001).
[14]
Galdino, A.L., Ayala-Rincón, M.: A formalization of Newman's and Yokouchi lemmas in a higher-order language. J. Formal. Reasoning 1 (1), 39-50 (2008).
[15]
Galdino, A.L., Ayala-Rincón, M.: A theory for abstract reduction systems in PVS. CLEI Electr. J. 11 (2), 12 pp. (2008) (Special Issue of Best Papers preented at CLEI'07).
[16]
Galdino, A.L., Ayala-Rincón, M.: A PVS theory for term rewriting systems. In: Pimentel, E., Benevides, M. (eds.) Proceedings of the Third Workshop on Logical and Semantic Frameworks, with Applications--LSFA 2008. Electronic Notes in Theoretical Computer Science, vol. 247, pp. 67-83. Elsevier, Amsterdam (2009).
[17]
Huet, G.: Confluent reductions: abstract properties and applications to term rewriting systems. J. Assoc. Comput. Mach. 27 (4), 797-821 (1980).
[18]
Huet, G.: Residual theory in ¿-calculus: a formal development. J. Funct. Program. 4 (3), 371-394 (1994).
[19]
Kapur, D., Zhang, H.: An overview of Rewrite Rule Laboratory (RRL). In: Dershowitz, N. (ed.) Proc. Third Int. Conf. on Rewriting techniques and Applications, Chapel-Hill, NC. Lecture Notes in Computer Science, vol. 355, pp. 559-563. Springer, New York (1989).
[20]
Knuth, D.E., Bendix, P.B.: Simple word problems in universal algebra. Computational problems in abstract algebra, pp. 263-297 (1970).
[21]
Koprowski, A.: A formalization of the simply typed lambda in Coq (2006). http://citeseer.ist. psu.edu/742197.html
[22]
McKinna, J., Pollack, R.: Some lambda calculus and type theory formalized. J. Autom. Reason. 23 (3-4), 373-409 (1999).
[23]
Morra, C., Becker, J., Ayala-Rincón, M., Hartenstein, R.W.: FELIX: using rewriting-logic for generating functionally equivalent implementations. In: 15th Int. Conference on Field Programmable Logic and Applications--FPL 2005, pp. 25-30. IEEE CS (2005).
[24]
Nipkow, T.: More Church-Rosser proofs (in Isabelle/HOL). In: McRobbie, M., Slaney, J. (eds.) Proceedings of the 13th International Conference on Automated Deduction (CADE-13). Lecture Notes in Artificial Intelligence, vol. 1104, pp. 733-747. Springer, New Brunswick (1996).
[25]
Nipkow, T.: More Church-Rosser proofs. J. Autom. Reason. 26 (1), 51-66 (2001).
[26]
van Oostrom, V.: Development closed critical pairs. In: Selected Papers from the Second International Workshop on Higher-Order Algebra, Logic, and Term Rewriting--HOA'95. Lecture Notes in Computer Science, vol. 1074, pp. 185-200. Springer, London (1996).
[27]
Pfenning, F.: A proof of the Church-Rosser theorem and its representation in a logical framework. A preliminary version is available as Carnegie Mellon technical report CMU-CS-92-186. http://citeseer.ist.psu.edu/pfenning92proof.html (1992).
[28]
Rasmussen, O.: The Church-Rosser theorem in Isabelle: a proof porting experiment. Tech. Rep. UCAM-CL-TR-364, Computer Laboratory, University of Cambridge, Cambridge (1995).
[29]
Ruiz-Reina, J.L., Alonso, J.A., Hidalgo, M.J., Martín-Mateos, F.J.: Formal proofs about rewriting using ACL2. Ann. Math. Artif. Intell. 36 (3), 239-262 (2002).
[30]
Saïbi, A.: Formalization of a lamda-calculus with explicit substitutions in Coq. In: TYPES'94: Selected Papers from the International Workshop on Types for Proofs and Programs. Lecture Notes in Computer Science, vol. 996, pp. 183-202. Springer, London (1995).
[31]
Shankar, N.: A mechanical proof of the Church-Rosser theorem. J. Assoc. Comput. Mach. 35 , 475-522 (1988).

Cited By

View all
  • (2023)A Formalization of the Development Closedness Criterion for Left-Linear Term Rewrite SystemsProceedings of the 12th ACM SIGPLAN International Conference on Certified Programs and Proofs10.1145/3573105.3575667(197-210)Online publication date: 11-Jan-2023
  • (2016)Completeness in PVS of a Nominal Unification AlgorithmElectronic Notes in Theoretical Computer Science (ENTCS)10.1016/j.entcs.2016.06.005323:C(57-74)Online publication date: 11-Jul-2016
  • (2016)Checking Overlaps of Nominal Rewriting RulesElectronic Notes in Theoretical Computer Science (ENTCS)10.1016/j.entcs.2016.06.004323:C(39-56)Online publication date: 11-Jul-2016
  • Show More Cited By

Index Terms

  1. A Formalization of the Knuth---Bendix(---Huet) Critical Pair Theorem
            Index terms have been assigned to the content through auto-classification.

            Recommendations

            Comments

            Information & Contributors

            Information

            Published In

            cover image Journal of Automated Reasoning
            Journal of Automated Reasoning  Volume 45, Issue 3
            October 2010
            112 pages

            Publisher

            Springer-Verlag

            Berlin, Heidelberg

            Publication History

            Published: 01 October 2010

            Author Tags

            1. Abstract reduction systems
            2. Critical pair theorem
            3. Formalization of theorems
            4. PVS
            5. Term rewriting systems

            Qualifiers

            • Article

            Contributors

            Other Metrics

            Bibliometrics & Citations

            Bibliometrics

            Article Metrics

            • Downloads (Last 12 months)0
            • Downloads (Last 6 weeks)0
            Reflects downloads up to 12 Sep 2024

            Other Metrics

            Citations

            Cited By

            View all
            • (2023)A Formalization of the Development Closedness Criterion for Left-Linear Term Rewrite SystemsProceedings of the 12th ACM SIGPLAN International Conference on Certified Programs and Proofs10.1145/3573105.3575667(197-210)Online publication date: 11-Jan-2023
            • (2016)Completeness in PVS of a Nominal Unification AlgorithmElectronic Notes in Theoretical Computer Science (ENTCS)10.1016/j.entcs.2016.06.005323:C(57-74)Online publication date: 11-Jul-2016
            • (2016)Checking Overlaps of Nominal Rewriting RulesElectronic Notes in Theoretical Computer Science (ENTCS)10.1016/j.entcs.2016.06.004323:C(39-56)Online publication date: 11-Jul-2016
            • (2010)Verification of the completeness of unification algorithms à la RobinsonProceedings of the 17th international conference on Logic, language, information and computation10.5555/1886790.1886800(110-124)Online publication date: 6-Jul-2010

            View Options

            View options

            Get Access

            Login options

            Media

            Figures

            Other

            Tables

            Share

            Share

            Share this Publication link

            Share on social media