Skip to Main content Skip to Navigation

Reachability Analysis of Innermost Rewriting

Thomas Genet 1 Yann Salmon 1
1 CELTIQUE - Software certification with semantic analysis
IRISA-D4 - LANGAGE ET GÉNIE LOGICIEL, Inria Rennes – Bretagne Atlantique
Abstract : Approximating the set of terms reachable by rewriting finds more and more applications ranging from termination proofs of term rewriting systems, cryp- tographic protocol verification to static analysis of programs. However, since approximation techniques do not take rewriting strategies into account, they build very coarse approximations when rewriting is constrained by a specific strategy. In this work, we propose to adapt the Tree Automata Completion algorithm to accurately approximate the set of terms reachable by rewriting under the inner- most strategy. We prove that the proposed technique is sound and precise w.r.t. innermost rewriting. The proposed algorithm has been implemented in the Timbuk reachability tool. Experiments shows that it noticeably improves the accuracy of static analysis for functional programs using the call-by-value evaluation strategy. In particular, for some functional programs needing lazy evaluation to terminate, the computed approximations are precise enough to prove the absence of innermost normal forms, i.e. prove non termination of the program with call-by-value.
Complete list of metadata

Cited literature [22 references]  Display  Hide  Download
Contributor : Yann Salmon <>
Submitted on : Monday, February 10, 2014 - 11:28:38 PM
Last modification on : Tuesday, June 15, 2021 - 4:26:28 PM
Long-term archiving on: : Sunday, April 9, 2017 - 10:42:18 AM


Files produced by the author(s)


  • HAL Id : hal-00848260, version 5


Thomas Genet, Yann Salmon. Reachability Analysis of Innermost Rewriting. [Research Report] 2013. ⟨hal-00848260v5⟩



Record views


Files downloads