148,133 research outputs found
Lincx: A Linear Logical Framework with First-class Contexts
Linear logic provides an elegant framework for modelling stateful, imperative and con- current systems by viewing a context of assumptions as a set of resources. However, mech- anizing the meta-theory of such systems remains a challenge, as we need to manage and reason about mixed contexts of linear and intuitionistic assumptions. We present Lincx, a contextual linear logical framework with first-class mixed contexts. Lincx allows us to model (linear) abstract syntax trees as syntactic structures that may depend on intuitionistic and linear assumptions. It can also serve as a foundation for reasoning about such structures. Lincx extends the linear logical framework LLF with first-class (linear) contexts and an equational theory of context joins that can otherwise be very tedious and intricate to develop. This work may be also viewed as a generalization of contextual LF that supports both intuitionistic and linear variables, functions, and assumptions. We describe a decidable type-theoretic foundation for Lincx that only characterizes canonical forms and show that our equational theory of context joins is associative and commu- tative. Finally, we outline how Lincx may serve as a practical foundation for mechanizing the meta-theory of stateful systems.La logique lineĢaire represente une structure eĢleĢgante pour modeler des systeĢmes im- peĢratifs, concurrents et avec des systeĢmes a eĢtats, en repreĢsentant un contexte d'hypotheĢses comme une collection de ressources. Cependant, la meĢcanisation de la meĢtatheĢorie de ces systeĢmes demeure un deĢfi, puisque nous devons geĢrer et raisonner aĢ propos de contextes d'hypotheĢses mixtes lineĢaires et intuitionistiques. Nous preĢsentons Lincx, une structure logique lineĢaire et contextuelle avec des contextes mixtes de premieĢre classe. Lincx nous permet d'eĢtablir des modeĢles (lineĢaires) d'arbres de syntaxe abstraits en tant que structures syntactiques qui peuvent dependre d'hypotheĢses intuitionistiques et lineĢaires. Lincx peut eĢgalement servir de fondation pour raisonner aĢ propos de telles structures. Lincx eĢtend la structure logique lineĢaire LLF avec des contextes (lineĢaires) de premier ordre et une theĢorie d'equations d'assemblage de contextes qui peut autrement eĢtre treĢs fastidieux et complexe aĢ deĢvelopper. Cet oeuvre peut eĢgalement eĢtre percĢ§u comme une geĢneĢralisation du LF contextuel qui supporte les fonctions, les hypotheĢses et les variables intuitionistiques et lineĢaires. Nous deĢcrivons une fondation de la theĢorie des types deĢcidable pour Lincx qui ne deĢcrit que les formes canoniques et montrons que notre theorie d'eĢquations d'assemblage de contextes est associative et commutative. Finalement, nous donnons un apercĢ§u de comment Lincx peut servir de fondation pratique pour la meĢcanisation de la meĢtatheĢorie de systeĢmes aĢ eĢtats
An Open Logical Framework
The LFP Framework is an extension of the Harper-Honsell-Plotkin's Edinburgh Logical Framework LF with external predicates, hence the name Open Logical Framework. This is accomplished by defining lock type constructors, which are a sort of \u25a1-modality constructors, releasing their argument under the condition that a possibly external predicate is satisfied on an appropriate typed judgement. Lock types are defined using the standard pattern of constructive type theory, i.e. via introduction, elimination and equality rules. Using LFP, one can factor out the complexity of encoding specific features of logical systems, which would otherwise be awkwardly encoded in LF, e.g. side-conditions in the application of rules in Modal Logics, and sub-structural rules, as in non-commutative Linear Logic. The idea of LFP is that these conditions need only to be specified, while their verification can be delegated to an external proof engine, in the style of the Poincar Principle or Deduction Modulo. Indeed such paradigms can be adequately formalized in LFP. We investigate and characterize the meta-theoretical properties of the calculus underpinning LFP: strong normalization, confluence and subject reduction. This latter property holds under the assumption that the predicates are well-behaved, i.e. closed under weakening, permutation, substitution and reduction in the arguments. Moreover, we provide a canonical presentation of LFP, based on a suitable extension of the notion of \u3b2\u3b7-long normal form, allowing for smooth formulations of adequacy statements. \ua9 The Author, 2013
- ā¦