Binding Logic: Proofs and Models

نویسندگان

  • Gilles Dowek
  • Thérèse Hardin
  • Claude Kirchner
چکیده

We define an extension of predicate logic, called Binding Logic, where variables can be bound in terms and in propositions. We introduce a notion of model for this logic and prove a soundness and completeness theorem for it. This theorem is obtained by encoding this logic back into predicate logic and using the classical soundness and completeness theorem there. In predicate logic, only a quantifier can bind a variable. Function and predicate symbols cannot. In contrast, in the informal language of mathematics and in languages used in computer science, binders are pervasive, as they are used to express functions, relations, definite descriptions, fix-points, sums, products, integrals, derivatives, etc. There are many ways to express such constructions without explicit binding symbols using, for instance, combinators [7], de Bruijn indices [4], higher-order abstract syntax [18, 21], . . . However, as binders are everywhere in mathematics and in computer science, we believe that they should be studied as a basic notion, and not just encoded. The first contribution of this paper is to define a logic with binders, called Binding Logic, that is a simple extension of predicate logic: proof rules are the same and no extra axiom is added. A first question, about binding logic, is that of the provability of the extensionality scheme (∀x (t = u)) ⇒ Λx t = Λx u where Λ is a unary function symbol binding one variable in its argument. This scheme cannot be derived in a simple way from the axiom of equality [15]: ∀y ∀z (y = z ⇒ Λx y = Λx z) because substituting t for y and u for z renames the variable x to avoid captures. We shall prove that this scheme is indeed independent. Thus, if we want binders to be extensional, we must add this scheme, but Binding logic can also be used, if we do not, for instance, when we define weak reduction in λ-calculus or when we want to distinguish various algorithms that implement the same function. To prove such independence results, we want to construct counter-models. Thus the notion of model of predicate logics needs to be extended to Binding logic. The last and main contribution of this paper is to define such a notion of model, and prove that is sound and complete with respect to deduction. In predicate logic, a term t that contains a free variable x does not have a unique denotation in a given modelM. Instead, for each element a of the domain M of this model, we can define a denotation JtKa/x. It is tempting to define the absolute denotation of the term t as the function from M to M mapping a to JtKa/x. Then, we would obtain the denotation of Λx t by applying the denotation of the symbol Λ to the function denoted by the term t. The denotation of the symbol Λ would then be a functional Λ̂. However, with such a notion of model, some non provable propositions are valid in all models, e.g. the extensionality scheme. Indeed, if t and u are two terms containing the free variable x such that ∀x (t = u) is valid, then JtKa/x and JuKa/x are always equal. Hence the terms t and u denote the same function, and thus the terms Λx t and Λx u have the same denotation. As we want to have the choice to take this extensionality scheme or not, it should be valid in some models, but not all. In other words, extensionality should not be wired in the notion of model. Thus we need to consider a more general notion of model, leaving room to interpret a term containing a free variable as an “intensional function”. When, in the term Λx t, the body t contains other free variables than x, we interpret it as an intensional function of several arguments. Thus, to be able to define the denotation of the term Λx t, we must be able to apply the functional Λ̂ to intensional functions of various arities. Hence, we shall define the denotation of Λ as a family of functionals Λ̂0, Λ̂1, Λ̂2, . . . each of these taking as arguments functions of some arity. Once the notion of model is defined, we enter the proof of the completeness theorem. The proof proceeds by giving a provability preserving translation from binding logic to a formulation of predicate logic, called Deduction modulo. This translation is based on de Bruijn indices and explicit substitutions. Then, we relate the models of a theory in binding logic with those of its translation in Deduction modulo. It should be noticed that de Bruijn indices and explicit substitutions are used in the proof of the completeness theorem, but not in the definition of the notion of model itself. Hence we can imagine other completeness proofs using other methods such as a translation to higher-order logic, based on higher-order abstract syntax or a direct construction of a model à la Henkin. A potential difficulty in such a direct proof is to construct the elements of the model, that have to be intensional, and thus must differ from the functions used in Henkin’s construction [14, 2].

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

ثبت نام

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

منابع مشابه

Truth Values and Connectives in Some Non-Classical Logics

The question as to whether the propositional logic of Heyting, which was a formalization of Brouwer's intuitionistic logic, is finitely many valued or not, was open for a while (the question was asked by Hahn). Kurt Gödel (1932) introduced an infinite decreasing chain of intermediate logics, which are known nowadays as Gödel logics, for showing that the intuitionistic logic is not finitely (man...

متن کامل

Named Models in Coalgebraic Hybrid Logic

Hybrid logic extends modal logic with support for reasoning about individual states, designated by so-called nominals. We study hybrid logic in the broad context of coalgebraic semantics, where Kripke frames are replaced with coalgebras for a given functor, thus covering a wide range of reasoning principles including, e.g., probabilistic, graded, default, or coalitional operators. Specifically,...

متن کامل

A Semantic View of Classical Proofs: Type-Theoretic, Categorical, and Denotational Characterizations (Preliminary Extended Abstract)

Classical logic is one of the best examples of a mathematical theory that is truly useful to computer science. Hardware and software engineers apply the theory routinely. Yet from a foundational standpoint, there are aspects of classical logic that are problematic. Unlike intuitionistic logic, classical logic is often held to be non-constructive, and so, is said to admit no proof semantics. To ...

متن کامل

A machine-checked constructive metatheory of computation tree logic

This thesis presents a machine-checked constructive metatheory of computation tree logic (CTL) and its sublogics K and K∗ based on results from the literature. We consider models, Hilbert systems, and history-based Gentzen systems and show that for every logic and every formula s the following statements are decidable and equivalent: s is true in all models, s is provable in the Hilbert system,...

متن کامل

Formal Grammars as Models of Logic Derivations

Context-free at t r ibute grammars are proposed as derivational models for proofs in the predicate calculus. The new representation is developed and i t s correspondence to resolution-based clause i n terconnectivity graphs is established. The new representation may be used to transform a predicate calculus characterization of a problem into a regular algebra characterization of the solutions. ...

متن کامل

Classical Logic of Bunched Implications

We consider a classical (propositional) version, CBI, of O’Hearn and Pym’s logic of bunched implications (BI) from a modeland prooftheoretic perspective. We present a class of classical models of BI which extend the usual BI-models, based on partial commutative monoids, with an algebraic notion of “resource negation”. This class of models gives rise to natural definitions of multiplicative fals...

متن کامل

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


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

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

دوره   شماره 

صفحات  -

تاریخ انتشار 2002