Skip to main content
QUICK REVIEW

[Paper Review] Certification of Confluence Proofs using CeTA

Julian Nagele, René Thiemann|arXiv (Cornell University)|May 6, 2015
Logic, programming, and type systemsComputer Science7 references5 citations
TL;DR

This paper presents an extension of the CeTA tool to certify confluence and non-confluence proofs in term rewrite systems, leveraging formalized proof techniques from IsaFoR. It supports termination-based confluence certification, weak orthogonality, strong closure with bounded breadth-first search, and non-confluence via non-joinable forks, with formal correctness ensured through Isabelle/HOL verification and executable checks.

ABSTRACT

CeTA was originally developed as a tool for certifying termination proofs which have to be provided as certificates in the CPF-format. Its soundness is proven as part of IsaFoR, the Isabelle Formalization of Rewriting. By now, CeTA can also be used for certifying confluence and non-confluence proofs. In this system description, we give a short overview on what kind of proofs are supported, and what information has to be given in the certificates. As we will see, only a small amount of information is required and so we hope that CSI will not stay the only confluence tool which can produce certificates.

Motivation & Objective

  • To extend CeTA, originally designed for termination certification, to support formal certification of confluence and non-confluence proofs in term rewrite systems.
  • To enable trustable, machine-checkable certificates for confluence using formalized proof techniques from IsaFoR.
  • To support diverse confluence criteria, including weak orthogonality, strong closure, and tree automata-based methods, with minimal certificate overhead.
  • To formalize and certify modular non-confluence reasoning via disjoint unions of TRSs under specific variable conditions.
  • To promote tool interoperability by enabling confluence tools like CSI to generate certificates compatible with CeTA.

Proposed method

  • Certification of confluence via termination: CeTA uses a provided termination proof to automatically generate and check critical pair joinability by rewriting to normal forms.
  • Certification of confluence via weak orthogonality: The certificate only needs to assert that the TRS is weakly orthogonal, a syntactic condition easily verified by CeTA.
  • Certification of confluence via strong closure: The certificate includes a bound on derivation depth for a breadth-first search to ensure totality, with CeTA checking joinability within that bound.
  • Certification of non-confluence via non-joinable forks: The certificate must include explicit derivations from a common term to two non-joinable terms, plus a proof of non-joinability.
  • Certification using tree automata: CeTA supports membership, intersection, and emptiness checks on tree automata, with closure under TRSs verified via compatibility or state-compatibility conditions.
  • Modular non-confluence certification: CeTA certifies non-confluence of disjoint unions of TRSs when one component is non-confluent, under variable condition constraints.

Experimental results

Research questions

  • RQ1Can CeTA be extended to certify confluence proofs beyond termination-based techniques, with formal correctness guarantees?
  • RQ2What minimal certificate format is sufficient to enable efficient and trustworthy certification of confluence for non-terminating TRSs?
  • RQ3How can non-confluence be formally certified using explicit derivations and non-joinability proofs in a trusted framework?
  • RQ4What formalization techniques are required to support strong closure and tree automata methods in a proof assistant like Isabelle/HOL?
  • RQ5To what extent can modularity theorems for confluence be formalized and used to certify non-confluence in a compositional way?

Key findings

  • CeTA now supports certification of confluence proofs using weak orthogonality, strong closure with bounded search, and tree automata-based methods, extending beyond its original termination focus.
  • For non-terminating TRSs like the Ackermann-based example, rewriting to normal forms fails to certify confluence, but strong closure with bounded search succeeds.
  • The use of a bounded depth in breadth-first search ensures totality in Isabelle, enabling formal verification of non-terminating confluence proofs.
  • Non-confluence can be certified via explicit derivations to non-joinable terms and formal proofs of non-joinability, even for complex TRSs.
  • The modularity result for non-confluence is formalized and certified: if one component of a disjoint union is non-confluent and satisfies variable conditions, the whole system is non-confluent.
  • The formalization in IsaFoR ensures that all CeTA checks are correct by construction, with executable verification functions and code generation from Isabelle.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.