Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-8bhkd Total loading time: 0 Render date: 2024-11-18T08:57:39.106Z Has data issue: false hasContentIssue false

6 - Confluence

Published online by Cambridge University Press:  05 June 2012

Franz Baader
Affiliation:
Rheinisch-Westfälische Technische Hochschule, Aachen, Germany
Tobias Nipkow
Affiliation:
Technische Universität München
Get access

Summary

This chapter studies the problem of determining whether a TRS is confluent. After a brief look at the (undecidable) decision problem, the rest of the chapter divides neatly into two parts:

The first part deals with terminating systems, for which confluence turns out to be decidable. This is a key result in our search for decidable equational theories: if E constitutes a terminating TRS, we can decide if it is also confluent, in which case we know by Theorem 4.1.1 that ≈E is decidable.

The second part deals with those systems not covered by the first part, namely (potentially) nonterminating ones. The emphasis here is not on deciding ≈E by rewriting, which requires termination, but on the computational content of a TRS. Viewing a TRS as a program, confluence simply means that the program is deterministic. We show that for the class of so-called orthogonal systems, where no two rules interfere with each other, confluence holds irrespective of termination. This result has immediate consequences for the theory and design of functional programming languages.

The decision problem

Just as for termination and most other interesting properties (of term rewriting systems or otherwise), confluence is in general undecidable:

Theorem 6.1.1The following problem is undecidable:

Instance: A finite TRS R.

Question: Is R confluent?

Proof Given a set of identities E such that Var(l) = Var(r) and neither l nor r is a variable for all lrE, we can reduce the ground word problem for E to the confluence problem of a related TRS as follows.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 1998

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Confluence
  • Franz Baader, Rheinisch-Westfälische Technische Hochschule, Aachen, Germany, Tobias Nipkow, Technische Universität München
  • Book: Term Rewriting and All That
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172752.007
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Confluence
  • Franz Baader, Rheinisch-Westfälische Technische Hochschule, Aachen, Germany, Tobias Nipkow, Technische Universität München
  • Book: Term Rewriting and All That
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172752.007
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Confluence
  • Franz Baader, Rheinisch-Westfälische Technische Hochschule, Aachen, Germany, Tobias Nipkow, Technische Universität München
  • Book: Term Rewriting and All That
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139172752.007
Available formats
×