z-logo
open-access-imgOpen Access
A Logical Approach to Deciding Semantic Subtyping
Author(s) -
Nils Gesbert,
Pierre Genevès,
Nabil Layaïda
Publication year - 2015
Publication title -
acm transactions on programming languages and systems
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.233
H-Index - 70
eISSN - 1558-4593
pISSN - 0164-0925
DOI - 10.1145/2812805
Subject(s) - subtyping , computer science , satisfiability , programming language , relation (database) , theoretical computer science , intersection (aeronautics) , data mining , engineering , aerospace engineering
International audienceWe consider a type algebra equipped with recursive, product, function, intersection, union, and complement types together with type variables and implicit universal quantification over them. We consider the subtyping relation recently defined by Castagna and Xu over such type expressions and show how this relation can be decided in EXPTIME, answering an open question. The novelty, originality and strength of our solution reside in introducing a logical modeling for the semantic subtyping framework. We model semantic subtyping in a tree logic and use a satisfiability-testing algorithm in order to decide subtyping. We report on practical experiments made with a full implementation of the system. This provides a powerful polymorphic type system aiming at maintaining full static type-safety of functional programs that manipulate trees, even with higher-order functions, which is particularly useful in the context of XML

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom