Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-wg55d Total loading time: 0 Render date: 2024-05-01T01:27:04.321Z Has data issue: false hasContentIssue false

A Logical Approach to Complexity Bounds for Subtype Inequalities

from Part II - Contributed Papers

Published online by Cambridge University Press:  23 March 2017

Marcin Benke
Affiliation:
Warsaw University
Petr Hájek
Affiliation:
Academy of Sciences of the Czech Republic, Prague
Get access

Summary

Summary. We study complexity of type reconstruction with subtypes. As proved recently, this problem is polynomially equivalent to checking satisfiability of systems of inequalities. Therefore we concentrate an the latter problem and show how a variant of the transitive closure logic can be used to find an interesting class of posets for which this problem can be solved in polynomial time. Further we propose alternation as a framework suitable for presenting and explaining the aforementioned complexity for various classes of underlying subtype relation.

Introduction

Recent results of Hoang and Mitchell [3] show that the problem of Type Reconstruction with subtyping (TRS) is polynomial-time equivalent to the problem of Satisfiability of Subtype inequalities (SSI). So now the latter problem, as the only known algebraic equivalent of the former, gains importance in the study of foundations of programming languages involving subtyping.

In connection with SSI problem, its special case called FLAT-SSI was considered by many authors [10, 7, 8, 4, 2]. The latter is equivalent to the retractability problem, known from the theory of partial orders [6]. The purpose of the research was to provide some kind of ‘taxonomy’ amongst posets, having in mind the complexity of satisfiability-checking. The problem of FLAT-SSI attracted research interests mainly as an ‘attack route’ towards the general SSI problem, and thus towards the problem of type reconstruction with subtyping. The aim of this paper is to establish further links between SSI and FLAT-SSI. Sections 2. through 4. show that for posets for which feasibility of FLAT-SSI is witnessed by formulae of transitive closure logic, SSI is feasible too. Section 5. shows that for posets for which FLAT-SSI is NP-complete (wrt some class of reductions), SSI is PSPACE complete. It also proposes alternation as the framework within which relations between complexity of FLAT-SSI and SSI can be explained.

Type
Chapter
Information
Gödel '96
Logical Foundations of Mathematics, Computer Science and Physics - Kurt Gödel's Legacy
, pp. 195 - 204
Publisher: Cambridge University Press
Print publication year: 2017

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Aiken, A.. Set Constraints: Results, Applications and Future Directions. Technical Report, University of California, Berkeley, 1994.
Bellè, D. and Parlamento, F.. Decidability and Completeness of Open Formulae in Membership Theories. Notre Dame Journal of Formal Logic, 36(2):304–318, 1995.Google Scholar
Bellè, D. and Parlamento, F.. The decidability of the ∀*∃-class and the axiom of foundation. Technical Report, Università di Udine, 1995. (Submitted)
D. Bellè and Parlamento, F.. Undecidability of Weak Membership Theories. In Logic and Algebra:327–33S. MDI (New York), 1995.
Cantone, D., Ferro, A. and Omodeo, E.G.. Computable Set Theory. Vol. 1. Oxford University Press, 1989. Int. Series of Monographs on Computer Science.
Collins, G. E. and Halpern, J. D.. On the Interpretability of Arithmetic in Set Theory. Notre Dame Jour. Formal Logic, XI(4):477–483, 1970.Google Scholar
Dovier, A.. Computable Set Theory and Logic Programming. PhD Thesis, TD196 Universit'a di Pisa, 1996.
Dovier, A., Omodeo, E. G., Pontelli, E. and Rossi, G.. {log}:A Language for Programming in Logic with Finite Sets. Journal of Logic Programming, to appear.
Gogol, D.. The ∀n∃-completeness of Zermelo-Fraenkel set theory. Zeitschr. fur Math. Logik und Grundlagen d. Math., 1978.Google Scholar
Hill, P.M. and Lloyd, J.W.. The Gödel Programming Language. The MIT Press, Cambridge, Mass., 1994.
Mancini, A. and Montagna, F.. A Minimal Predicative Set Theory. Notre Dame Jour. Formal Logic, 35:186–203, 1994.Google Scholar
Omodeo, E., Parlamento, F. and Policriti, A.. A derived algorithm for evaluating ϵ-expressions over sets. J.Symbolic Computation, 15:673–704, 1993.Google Scholar
Omodeo, E., Parlamento, F., and Policriti, A.. Decidability of ∀*∃-sentences in Membership Theories. Mathematical Logic Quarterly, 1(1), 1996.Google Scholar
Parlamento, F. and Policriti, A.. Decision Procedures for Elementary Sublanguages of Set Theory. IX. Unsolvability of the Decision Problem for a Restricted Subclass of the ∆0-Formulas in Set Theory. Communications on Pure and Applied Mathematics, XLL221–251, 1988.Google Scholar
Parlamento, F. and Policriti, A.. The Logically Simplest Form of the Infinity Axiom. Proceedings of the American Mathematical Society, 103(1):274–276, May 1988.Google Scholar
Parlamento, F. and Policriti, A.. Note on: The Logically Simplest Form of the Infinity Axiom. Proceedings of the American Mathematical Society, 108(1), 1990.Google Scholar
Parlamento, F. and Policriti, A.. Expressing Infinity without Foundation. Journal of Symbolic Logic, 56(4):1230–1235, 1991.Google Scholar
Parlamento, F. and Policriti, A.. The satisfiability problem for the class ∃*∀∀ in a set-theoretic setting. Technical Report 13/92, Universitá di Udine, October 1992.
Parlamento, F. and Policriti, A.. Undecidability Results for Restricted Universally Quantified Formulae of Set Theory. Communications on Pure and Applied Mathematics, XLVI:57–73, 1993.Google Scholar
Robinson, J.A. A Review of Automatic Theorem-Proving. Proc. Symp. Appl. Math. Amer. Math. Soc., Providence, R.I. volume 19:1–18, 1967.Google Scholar
Vaught, R.L.. On a Theorem of Cobham Concerning Undecidable Theories. In Proceedings of the 1960 international Congress on Logic, Methodology, and Philosophy of Science, 1962.Google Scholar
Tarski, A., Mostowsky, A. and Robinson, R.M.. Undecidable Theories. North-Holland, 1953.
Tarski, A. and Szmielew, W.. Mutual Interpret ability of Some Essentially Undecidable Theories. In Proc. of Intl. Cong, of Mathematicians. Cambridge., volume 1. Cambrige University Press, 1950.
Givant Tarski, S.. A formalization of Set Theory without variables. American Mathematical Society, 1987.
Ville, F.. Decidabilite’ des For mules Exist entielles en Theorie des Ensembles. C. R. Acad. Sc. Paris, pages 513–516, 1971.Google Scholar

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×