Colored intersection types: a bridge between higher-order model-checking and linear logic
نویسندگان
چکیده
The model-checking problem for higher-order recursive programs, expressed as higher-order recursion schemes (HORS), and where properties are specified in monadic second-order logic (MSO) has received much attention since it was proven decidable by Ong ten years ago. Every HORS may be understood as a simply-typed λ-term G with fixpoint operators Y whose free variables a, b, c . . . ∈ Σ are of order at most one. Following the principles of a Church encoding, these variables provide the tree constructors of a ranked alphabet Σ, so that the normalization of the recursion scheme G produces a typically infinite value tree 〈G〉 over this ranked alphabet. In order to check whether a given MSO formula φ holds at the root of such a value tree 〈G〉, a convenient and traditional approach is to run an equivalent automaton Aφ over it. In the specific case of MSO logic, the corresponding notion of automaton is provided by alternating parity tree automata (APT), a kind of non-deterministic top-down tree automaton enriched with alternation and coloring. Every run of such an automaton may be understood as a syntactic proof-search of the validity of the formula φ over the value tree 〈G〉. A typical transition over a binary symbol a ∈ Σ is of the following shape: δ(q0, a) = (2, q2) ∨ ((1, q1) ∧ (1, q2) ∧ (2, q0)) When reading the symbol a in the state q0, the automaton Aφ can either (1) drop the left subtree of a, and explore the right subtree with state q2, or (2) explore twice the left subtree of a in parallel, once with state q1 and the other time with state q2, and explore the right subtree of a with state q0. Kobayashi observed that the transitions of an alternating tree automaton A can be reflected by giving to the symbol a the following refined intersection type:
منابع مشابه
Semantics of linear logic and higher-order model-checking. (Sémantique de la logique linéaire et "model-checking" d'ordre supérieur)
This thesis studies problems of higher-order model-checking from a semantic and logical perspective. Higher-order model-checking is concerned with the verification of properties expressed in monadic second-order logic, specified over infinite trees generated by a class of rewriting systems called higher-order recursion schemes. These systems are equivalent to simply-typed λ-terms with recursion...
متن کاملIndexed linear logic and higher-order model checking
In recent work, Kobayashi observed that the acceptance by an alternating tree automaton A of an infinite tree T generated by a higher-order recursion scheme G may be formulated as the typability of the recursion scheme G in an appropriate intersection type system associated to the automaton A . The purpose of this article is to establish a clean connection between this line of work and Bucciare...
متن کاملFinitary Semantics of Linear Logic and Higher-Order Model-Checking
In this paper, we explain how the connection between higherorder model-checking and linear logic recently exhibited by the authors leads to a new and conceptually enlightening proof of the selection problem originally established by Carayol and Serre using collapsible pushdown automata. The main idea is to start from an infinitary and colored relational semantics of the λY -calculus already for...
متن کاملType-1 and Type-2 Fuzzy Logic Control Algorithms for Semi-Active Seismic Vibration Control of the College Urban Bridge Using MR Dampers
In this study, the application of type-1 and type-2 fuzzy inference system (FIS) in semi-active seismic vibration control of the College Bridge using magnetorheological (MR) dampers is investigated. For this purpose, a detailed 3D finite element model of the bridge fitted with MR dampers is created in OpenSees. The command voltage of MR dampers is determined by employing both types of FISs in M...
متن کاملRelational Semantics of Linear Logic and Higher-order Model Checking
In this article, we develop a new and somewhat unexpected connection between higher-order model-checking and linear logic. Our starting point is the observation that once embedded in the relational semantics of linear logic, the Church encoding of a higher-order recursion scheme (HORS) comes together with a dual Church encoding of an alternating tree automata (ATA) of the same signature. Moreov...
متن کامل