arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Adam Koprowski

16 papers · 2004–2012

2004: 12005: 22006: 32007: 22008: 42009: 22010: 02011: 12012: 1
2004peak 4 in 20082012

Frequent co-authors

Papers

showing 1–16 of 16 RSS

CoLoR: a Coq library on well-founded rewrite relations and its application to the automated verification of termination certificates

Frédéric Blanqui, Adam Koprowski

cs.LO · · cited 67× · arXiv ↗ · more like this ·

Termination is an important property of programs; notably required for programs formulated in proof assistants. It is a very active subject of research in the Turing-complete formalism of term rewriting systems, where many methods and tools have been developed over the years to address this problem. Ensuring reliability of those tools is therefore an important issue. In this paper we present a library formalizing important results of the theory of well-founded (rewrite) relations in the proof assistant Coq. We also present its application to the automated verification of termination certificates, as produced by termination tools.

TRX: A Formally Verified Parser Interpreter

Adam Koprowski, Henri Binsztok

cs.LO · · cited 53× · arXiv ↗ · more like this ·

Parsing is an important problem in computer science and yet surprisingly little attention has been devoted to its formal verification. In this paper, we present TRX: a parser interpreter formally developed in the proof assistant Coq, capable of producing formally correct parsers. We are using parsing expression grammars (PEGs), a formalism essentially representing recursive descent parsing, which we consider an attractive alternative to context-free grammars (CFGs). From this formalization we can extract a parser for an arbitrary PEG grammar with the warranty of total correctness, i.e., the resulting parser is terminating and correct with respect to its grammar and the semantics of PEGs; both properties formally proven in Coq.

CoLoR : a Coq library on rewriting and termination

Frédéric Blanqui, Solange Coupet-Grimal, William Delobel +2 more

Artificial Intelligence · TU/e Research Portal (Eindhoven University of Technology) · · cited 38× · OpenAlex ↗ · more like this ·

Abstract. Coq is a tool allowing to certify proofs. This paper describes a Coq library for certifying termination proofs. Termination is an important and difficult problem. Many criteria have been developed over the last years. They are more and more complex and applied on larger and larger systems. For these tools to be used in the certification of critical systems and proof assistants, their results must be certified.

Termination of rewriting and its certification

Adam Koprowski

Artificial Intelligence · Data Archiving and Networked Services (DANS) · · cited 37× · DOI ↗ · more like this ·

In programming, termination of a program/algorithm means that its evaluation will eventually terminate, regardless of the input it receives. It is an important property and is required for total correctness. In general the problem is undecid- able. Term rewriting is a formal way of specifying computation and as such it can be seen as a generic model for programming languages. Termination, here meaning lack of infinite sequences, is a well-studied concept in this context. There exist a number of methods for proving termination as well as a number of tools for doing that automatically. There is an on-going work on application of this methodology and tools to proving termination of programs in actual programming languages. In this thesis we first give a short introduction to term rewriting and to termination of rewriting. Subsequently we present a number of contributions to this field…

Max/plus tree automata for termination of term rewriting

Adam Koprowski, Johannes Waldmann

Artificial Intelligence · Acta Cybernetica · · cited 19× · OpenAlex ↗ · more like this ·

We use weighted tree automata as certificates for termination of term rewriting systems. The weights are taken from the arctic semiring: natural numbers extended with −∞, with the operations “max ” and “plus”. In order to find and validate these certificates automatically, we restrict their transition functions to be representable by matrix operations in the semiring. The resulting class of weighted tree automata is called path-separated. This extends the matrix method for term rewriting and the arctic matrix method for string rewriting. In combination with the dependency pair method, this allows for some conceptually simple termination proofs in cases where only much more involved proofs were known before. We further generalize to arctic numbers “below zero”: integers extended with −∞. This allows to treat some termination problems with symbols that require a predecessor semantics.…

Coq formalization of the higher-order recursive path ordering

Adam Koprowski

Artificial Intelligence · Applicable Algebra in Engineering Communication and Computing · · cited 5× · DOI ↗ · more like this ·

The recursive path ordering (RPO) is a well-known reduction ordering introduced by Dershowitz, that is useful for proving termination of term rewriting systems (TRSs). Jouannaud and Rubio generalized this ordering to the higher-order case thus creating the higher-order recursive path ordering (HORPO). They proved that this ordering can be used for proving termination of higher-order TRSs, which essentially comes down to proving well-foundedness of HORPO. This result entails well-foundedness of RPO and termination of simply typed lambda calculus (as the β-reduction relation is included in HORPO). This paper describes our undertaking of providing a complete, axiom-free, fully constructive formalization of those results in the proof assistant Coq. The formalization can be divided into three parts:

Recursive path ordering for infinite labelled rewrite systems

Adam Koprowski, Hans Zantema

Artificial Intelligence · TU/e Research Portal · · cited 4× · OpenAlex ↗ · more like this ·

Semantic labelling is a transformational technique for proving termination of Term Rewriting Systems (TRSs).Only its variant with finite sets of labels was used so far in tools for automatic termination proving and variants with infinite sets of labels were considered not to be suitable for automation.We show that such automation can be achieved for semantic labelling with natural numbers, in combination with recursive path ordering (RPO).In order to do so we developed algorithms to deal with recursive path ordering for these infinite labelled systems.Using these techniques, our tool, TPA, is the only current tool that can prove termination of the SUBST system automatically.min

Certification of proving termination of term rewriting by matrix interpretations

Adam Koprowski, Hans Zantema

Artificial Intelligence · TU/e Research Portal (Eindhoven University of Technology) · · cited 1× · OpenAlex ↗ · more like this ·

Abstract. We develop a Coq formalization of the matrix interpretation method, which is a recently developed, powerful approach to proving termination of term rewriting. Our formalization is a contribution to the CoLoR project and allows to automatically certify matrix interpretation proofs produced by tools for proving termination. Thanks to this development the combination of CoLoR and our tool, TPA, was the winner in

Certified Higher-Order Recursive Path Ordering

Adam Koprowski

Artificial Intelligence · TU/e Research Portal (Eindhoven University of Technology) · · cited 1× · OpenAlex ↗ · more like this ·

Abstract. Recursive path ordering (RPO) is a well-known reduction ordering introduced by Dershowitz [6], that is useful for proving termination of term rewriting systems (TRSs). Jouannaud and Rubio generalized this ordering to the higher-order case thus creating the higher-order recursive path ordering (HORPO) [8]. They proved that this ordering can be used for proving termination of higher-order TRSs which essentially comes down to proving well-foundedness of the union of HORPO and βreduction relation of simply typed lambda calculus (λ →), [1]. This result entails well-foundedness of RPO and termination of λ →. This paper describes author’s undertaking of providing a complete, axiomfree, fully constructive formalization of those results in the theorem prover Coq. Formalization is complete and hence it contains all the dependant results for λ → , multisets and multiset extension of the…

1 CoLoR: a Coq Library on Rewriting and termination

Solange Coupet-grimal, William Delobel, Adam Koprowski

Artificial Intelligence · · cited 0× · OpenAlex ↗ · more like this ·

Abstract. Coq is a tool allowing to certify proofs. This paper describes a Coq library for certifying termination proofs. 1.1 Introduction Termination is an important and difficult problem. Many criteria have been developed over the last years. They are more and more complex and applied on larger and larger systems. For these tools to be used in the certification of critical systems and proof assistants, their results must be certified. There are two ways for doing this. First, by certifying the tool itself by proving that every result produced by the tool is correct. It is a very hard and time-consuming task. Moreover, every change in the tool requires to redo some proofs. The second way is to certify what is produced by the tool. This is simpler, does not depend on the way the tool is implemented and, indeed, can be used for certifying the results of other tools. This however requires…

Recursive Path Ordering for Infinite Labelled

Rewrite Systems Adam, Adam Koprowski, Hans Zantema

Computational Theory and Mathematics · · cited 0× · OpenAlex ↗ · more like this ·

Semantic labelling is a transformational technique for proving termination of Term Rewriting Systems (TRSs). Only its variant with finite sets of labels was used so far in tools for automatic termination proving and variants with infinite sets of labels were considered not to be suitable for automation. We show that such automation can be achieved for semantic labelling with natural numbers, in combination with recursive path ordering (RPO). In order to do so we developed algorithms to deal with recursive path ordering for these infinite labelled systems. Using these techniques, our tool, TPA, is the only current tool that can prove termination of the SUBST system automatically.

A Formalization of the Simply Typed Lambda Calculus In Coq

Adam Koprowski

Anthropology · · cited 0× · OpenAlex ↗ · more like this ·

Abstract. In this paper we present a formalization of the simply typed lambda calculus with constants and with typing `a la Church. It has been accomplished using the theorem prover Coq. The formalization includes, among other results, definitions of typed terms over arbitrary many-sorted signature, a substitution operating on typing judgements, an equivalence relation generalizing the concept of ff-convertibility to free variables and a proof of strong normalization of fi-reduction. The formalization has been used in a bigger project of certification of the higher-order recursive path ordering where well-foundedness of the union of the higher-order recursive path ordering and fi-reduction was the main result. 1 Introduction Simply typed lambda calculus (*!), introduced by Church in 1940 [9], is awell-known computational model and a base for typed functional programming languages, such…

Certification of matrix interpretations in Coq

Adam Koprowski, Hans Zantema

Artificial Intelligence · · cited 0× · OpenAlex ↗ · more like this ·

Abstract. We describe how to certify the matrix interpretation method for proving termination of term rewriting in the theorem prover Coq. Certification requires both the formalization of the underlying theory of monotone algebras and their instantiation to vectors and matrices as they are used in the matrix method; as well as a mechanism to deal with concrete examples, based on those theoretical results. 1

Application of rewriting techniques to verification problems

Adam Koprowski

Artificial Intelligence · Data Archiving and Networked Services (DANS) · · cited 0× · OpenAlex ↗ · more like this ·

Abstract. The goal of the project is to employ techniques from term rewriting to verification problems. The relationship between liveness properties and termination of term rewrite systems (TRSs) is of particular interest. The emphasis is on the investigation of such properties for infinite state space systems where standard model checking techniques fail. Next to developing the necessary underlying theory and performing a case study analysis, the possibility to automate this approach is of great importance. In this paper we discuss the motivation of such work, present the results obtained so far, discuss related work and present plans for the further research. 1

Proving liveness with fairness using rewriting

Adam Koprowski, Hans Zantema

Artificial Intelligence · Munich Personal RePEc Archive (Ludwig Maximilian University of Munich) · · cited 0× · OpenAlex ↗ · more like this ·

Abstract. In this paper we combine rewriting techniques with verification issues. More precisely, we show how techniques for proving relative termination of term rewrite systems (TRSs) can be applied to prove liveness properties in fair computations. We do this using a new transformation which is stronger than the sound transformation from [5] but still is suitable for automation. On the one hand we show completeness of this approach under some mild conditions. On the other hand we show how this approach applies to some examples completely automatically, using the TPA tool designed for proving relative termination of TRSs. In particular we succeed in proving liveness in the classical readers-writers synchronization problem. 1

Well-foundedness of the Recursive Path Ordering in Coq

N. de Kleijn, Adam Koprowski, Femke van Raamsdonk

Artificial Intelligence · Data Archiving and Networked Services (DANS) · · cited 0× · OpenAlex ↗ · more like this ·

The recursive path ordering due to Dershowitz is one of the important methods to prove termination of first-order term rewriting. The generalization to the higher-order case is due to Jouannaud and Rubio. This work is concerned with a formalization in Coq of the proof of wellfoundedness of both the first- and the higher-order version of the recursive path ordering. The proof does not rely on Kruskal’s tree theorem. 1