Second-Order Matching via Explicit Substitutions

نویسندگان

  • Flávio L. C. de Moura
  • Fairouz Kamareddine
  • Mauricio Ayala-Rincón
چکیده

Matching is a basic operation extensively used in computation. Second-order matching, in particular, provides an adequate environment for expressing program transformations and pattern recognition for automated deduction. The past few years have established the benefit of using explicit substitutions for theorem proving and higher-order unification. In this paper, we will make use of explicit substitutions to facilitate matching: we develop a second-order matching algorithm via the λσ-style of explicit substitutions. We introduce a convenient notation for matching in the λσ-calculus. This notation keeps the matching equations separated from the incremental graftings. We characterise an important class of second-order matching problems which is essential to prove termination of the algorithm. In addition, we illustrate how the algorithm works through some examples.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A ρ-calculus of explicit constraint application

Theoretical presentations of the ρ-calculus often treat the matching constraint computations as an atomic operation although matching constraints are explicitly expressed. Actual implementations have to take a more realistic view: computations needed in order to find the solutions of a matching equation can have an important impact on the (efficiency of the) calculus for some matching theories ...

متن کامل

Higher-Order Rewriting via Conditional First-Order Rewriting in the Open Calculus of Constructions

Although higher-order rewrite systems (HRS) seem to have a first-order flavor, the direct translation into first-order rewrite systems, using e.g. explicit substitutions, is by no means trivial. In this paper, we explore a two-stage approach, by showing how higher-order pattern rewrite systems, and in fact a somewhat more general class, can be expressed by conditional first-order rewriting in t...

متن کامل

Higher-Order Equational Unification via Explicit Substitutions

We show how to reduce the uniication problem modulo-conversion and a rst-order equational theory E, into a rst-order uni-cation problem in a union of two non-disjoint equational theories including E and a calculus of explicit substitutions. A rule-based uniica-tion procedure in this combined theory is described and may be viewed as an extension of the one initially designed by G. Dowek, T. Hard...

متن کامل

Higher-Order Unification via Explicit Substitutions (Extended Abstract)

Higher-order uniication is equational uniication for-conversion. But it is not rst-order equational uniication, as substitution has to avoid capture. In this paper higher-order uniication is reduced to rst-order equational uniication in a suitable theory: the-calculus of explicit substitutions.

متن کامل

Uni cation via Explicit Substitutions : The Case of Higher - Order PatternsGilles

Following the general method and related completeness results on using explicit substitutions to perform higher-order uniication proposed in 5], we investigate in this paper the case of higher-order patterns as introduced by Miller. We show that our general algorithm specializes in a very convenient way to patterns. We also sketch an eecient implementation of the abstract algorithm and its gene...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004