certification of proving termination of term rewriting by
play

Certification of proving termination of term rewriting by matrix - PowerPoint PPT Presentation

Certification of proving termination of term rewriting by matrix interpretations Adam Koprowski and Hans Zantema Eindhoven University of Technology Department of Mathematics and Computer Science 21 January 2008 SOFSEM08 Nov Smokovec,


  1. Certification of proving termination of term rewriting by matrix interpretations Adam Koprowski and Hans Zantema Eindhoven University of Technology Department of Mathematics and Computer Science 21 January 2008 SOFSEM’08 Nový Smokovec, High Tatras, Slovakia A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 1 / 24

  2. Outline Background 1 Termination of Term Rewriting Term Rewriting Termination of Term Rewriting Automation of Proving Termination Certification of Termination CoLoR project: Certification of Termination Proofs Certified Competition Formalization of Matrix Interpretations 2 Matrix Interpretations Method Monotone algebras Matrices Matrix interpretations Conclusions & Future Work 3 A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 2 / 24

  3. Outline Background 1 Termination of Term Rewriting Term Rewriting Termination of Term Rewriting Automation of Proving Termination Certification of Termination CoLoR project: Certification of Termination Proofs Certified Competition Formalization of Matrix Interpretations 2 Matrix Interpretations Method Monotone algebras Matrices Matrix interpretations Conclusions & Future Work 3 A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 3 / 24

  4. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  5. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  6. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  7. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) → 3 ∗ fact ( 2 ) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  8. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) → + 3 ∗ ( 2 ∗ fact ( 1 )) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  9. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) → + 3 ∗ ( 2 ∗ ( 1 ∗ fact ( 0 ))) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  10. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) → + 3 ∗ ( 2 ∗ ( 1 ∗ 1 )) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  11. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) → + 3 ∗ ( 2 ∗ (( 0 ∗ 1 ) + 1 )) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  12. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) → + 3 ∗ ( 2 ∗ ( 0 + 1 )) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  13. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) → + 3 ∗ ( 2 ∗ 1 ) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  14. Term Rewriting Term rewriting is a model of computations. Example 0 + y → y s ( x ) + y → s ( x + y ) 0 ∗ y → 0 s ( x ) ∗ y → ( x ∗ y ) + y fact ( 0 ) → s ( 0 ) fact ( s ( x )) → s ( x ) ∗ fact ( x ) fact ( s ( s ( s ( 0 )))) → + 6 A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 4 / 24

  15. Termination of Term Rewriting One of the most important properties of term rewriting is termination. Definition A term rewriting system (TRS) is terminating if it does not admit infinite reductions. In general the problem is undecidable. However, there is a (ever increasing) number of techniques for proving termination of term rewriting. Example A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 5 / 24

  16. Termination of Term Rewriting One of the most important properties of term rewriting is termination. Definition A term rewriting system (TRS) is terminating if it does not admit infinite reductions. In general the problem is undecidable. However, there is a (ever increasing) number of techniques for proving termination of term rewriting. Example A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 5 / 24

  17. Termination of Term Rewriting One of the most important properties of term rewriting is termination. Definition A term rewriting system (TRS) is terminating if it does not admit infinite reductions. In general the problem is undecidable. However, there is a (ever increasing) number of techniques for proving termination of term rewriting. Example A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 5 / 24

  18. Termination of Term Rewriting One of the most important properties of term rewriting is termination. Definition A term rewriting system (TRS) is terminating if it does not admit infinite reductions. In general the problem is undecidable. However, there is a (ever increasing) number of techniques for proving termination of term rewriting. Example A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 5 / 24

  19. Termination of Term Rewriting One of the most important properties of term rewriting is termination. Definition A term rewriting system (TRS) is terminating if it does not admit infinite reductions. In general the problem is undecidable. However, there is a (ever increasing) number of techniques for proving termination of term rewriting. Example a ( a ( x )) → a ( b ( a ( x ))) A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 5 / 24

  20. Termination of Term Rewriting One of the most important properties of term rewriting is termination. Definition A term rewriting system (TRS) is terminating if it does not admit infinite reductions. In general the problem is undecidable. However, there is a (ever increasing) number of techniques for proving termination of term rewriting. Example aa → aba A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 5 / 24

  21. Automation of Proving Termination Recently the emphasis is on automation. There is a number of tools for proving termination automatically. (AProVE, Cariboo, Cime, JamBox, MatchBox, MultumNonMulta, MuTerm, Teparla, Torpa, TPA, TTT, TTTbox, . . . ) An annual termination competition is organized where those tools compete on a number of problems. Both the tools and proofs produced by them are getting more and more complex. Reliability of such tools is a challenge and indeed every year we observe some disqualifications due to erroneous proofs. A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 6 / 24

  22. Automation of Proving Termination Recently the emphasis is on automation. There is a number of tools for proving termination automatically. (AProVE, Cariboo, Cime, JamBox, MatchBox, MultumNonMulta, MuTerm, Teparla, Torpa, TPA, TTT, TTTbox, . . . ) An annual termination competition is organized where those tools compete on a number of problems. Both the tools and proofs produced by them are getting more and more complex. Reliability of such tools is a challenge and indeed every year we observe some disqualifications due to erroneous proofs. A.Koprowski, H.Zantema (TU/e) Certification of proving termination ... SOFSEM’08 6 / 24

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend