Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

A Formal System for the Universal Quantification of Schematic Variables

Published: 22 October 2021 Publication History

Abstract

We advocate the use of de Bruijn’s universal abstraction \(\lambda {\mathord \infty }{}{}{}\) for the quantification of schematic variables in the predicative setting, and we present a typed \(\lambda {}{}{}{}\) -calculus featuring the quantifier \(\lambda {\mathord \infty }{}{}{}\) accompanied by other practically useful constructions like explicit substitutions and expected type annotations. Our calculus stands just on two notions, i.e., bound rt-reduction and parametric validity, and has the expressive power of \(\lambda \mathord \rightarrow\) . Thus, while not aiming at being a logical framework by itself, it does enjoy many desired invariants of logical frameworks including confluence of reduction, strong normalization, preservation of type by reduction, decidability, correctness of types and uniqueness of types up to conversion. This calculus belongs to the \(\lambda \delta\) family of formal systems, which borrow some features from the pure type systems and some from the languages of the Automath tradition, but stand outside both families. In particular, our calculus includes and evolves two earlier systems of this family. Moreover, a machine-checked specification of its theory is available.

References

[1]
Beniamino Accattoli and Ugo Dal Lago. 2016. (Leftmost-outermost) beta reduction is invariant, indeed. Logic. Methods Comput. Sci. 12, 1 (Mar. 2016), 4:1–4:46.
[2]
Beniamino Accattoli, Stéphane Graham-Lengrand, and Delia Kesner. 2020. Tight typings and split bounds. Proc. ACM Program. Lang. 2, (2018), 94:1–94:30.
[3]
Beniamino Accattoli, Stéphane Graham-Lengrand, and Delia Kesner. 2020. Tight typings and split bounds, fully developed. Journal of Functional Programming 30, 1 (May 2020), 14:1–14:85.
[4]
Andrea Asperti, Wilmer Ricciotti, Claudio Sacerdoti Coen, and Enrico Tassi. 2011. The matita interactive theorem prover. In Proceedings of the 23rd International Conference on Automated Deduction (CADE.11).Lecture Notes in Computer Science, Vol. 6803, Nikolaj Bjørner and Viorica Sofronie-Stokkermans (Eds.). Springer, Berlin, 64–69.
[5]
Hendrik P. Barendregt. 1993. Lambda Calculi with Types. In Background: Computational Structures, Samson Abramsky, Dov M. Gabbay, and Tom S. E. Maibaum (Eds.). Osborne Handbooks of Logic in Computer Science, Vol. 2. Clarendon Press, Oxford, UK, 117–309.
[6]
Bruno Barras and Benjamin Werner. 1997. Coq in Coq. Technical Report. INRIA-Rocquencourt.
[7]
Yves Bertot and Pierre Castéran. 2004. Interactive Theorem Proving and Program Development - Coq’Art: The Calculus of Inductive Constructions. Springer, Berlin.
[8]
Roel Bloo, Fairouz D. Kamareddine, and Rob P. Nederpelt. 1996. The barendregt cube with definitions and generalised reduction. Inf. Comput. 126, 2 (1996), 123–143.
[9]
Alonzo Church. 1941. The Calculi of Lambda-conversion. Annals of Mathematics Studies, Vol. 6. Princeton University Press, Princeton, NJ.
[10]
Thierry Coquand and Christine Paulin-Mohring. 1990. Inductively defined types. In Proceedings of the International Conference on Computer Logic (COLOG-88)Lecture Notes in Computer Science, Vol. 417, Per Martin-Löf and Grigori Mints (Eds.). Springer-Verlag, Berlin, 50–66.
[11]
Yann Coscoy. 1996. A natural language explanation for formal proofs. In Proceedings of the 1st International Conference on Logical Aspects of Computational Linguistics (LACL’96), Lecture Notes in Artificial Intelligence, Vol. 1328, Christian Retoré (Ed.). Springer, Berlin, 149–167.
[12]
Pierre-Louis Curien and Hugo Herbelin. 2000. The duality of computation. In Proceedings of the 5th ACM SIGPLAN International Conference on Functional Programming (ICFP’00),ACM SIGPLAN Notices, Vol. 35/9. ACM Press, New York, NY, 233–243.
[13]
Nicolaas G. de Bruijn. 1968. AUTOMATH, a Language for Mathematics. TH-Report 68-WSK-05. Department of Mathematics, Eindhoven University of Technology, Eindhoven, The Netherlands.
[14]
Nicolaas G. de Bruijn. 1978. A Namefree Lambda Calculus with Facilities for Internal Definition of Expressions and Segments. TH-Report 78-WSK-03. Department of Mathematics, Eindhoven University of Technology, Eindhoven, The Netherlands.
[15]
Nicolaas G. de Bruijn. 1991. A plea for weaker frameworks. In Logical Frameworks. Cambridge University Press, Cambridge, UK, 40–67.
[16]
Nicolaas G. de Bruijn. 1993. Algorithmic definition of lambda-typed lambda calculus. In Logical Environments. Cambridge University Press, Cambridge, UK, 131–145.
[17]
Nicolaas G. de Bruijn. 1994a. Lambda calculus notation with nameless dummies, a tool for automatic formula manipulation, with application to the Church-Rosser theorem. In Selected Papers on Automath [Nederpelt et al. 1994]. North-Holland, Amsterdam, The Netherlands, 375–388.
[18]
Nicolaas G. de Bruijn. 1994b. Some extensions of AUTOMATH: the AUT-4 family. In Selected Papers on Automath [Nederpelt et al. 1994]. North-Holland, Amsterdam, The Netherlands, 283–288.
[19]
Philippe de Groote. 1993. Defining -Typed -calculi by axiomatising the typing relation. In Proceedings of the 10th Annual Symposium on Theoretical Aspects of Computer Science (STACS’93), Lecture Notes in Computer Science, Vol. 665. Springer, Berlin, 712–723.
[20]
Roel C. de Vrijer. 1994. Big trees in a -calculus with -expressions as types. In Selected Papers on Automath [Nederpelt et al. 1994]. North-Holland, Amsterdam, The Netherlands, 469–492.
[21]
Jean-Yves Girard, Yves Lafont, and Paul Taylor. 1989. Proofs and Types. Cambridge Tracts in Theoretical Computer Science, Vol. 7. Cambridge University Press, Cambridge, UK.
[22]
Ferruccio Guidi. 2009. The formal system . Trans. Comput. Logic 11, 1 (Nov. 2009), 5:1–5:37.
[23]
Ferruccio Guidi. 2015a. Extending the Applicability Condition in the Formal System . Technical Report AMS Acta 4411. University of Bologna, Bologna, Italy.
[24]
Ferruccio Guidi. 2015b. Verified representations of landau’s “grundlagen” in the family and in the calculus of constructions. J. Formal. Reason. 8, 1 (Dec. 2015), 93–116.
[25]
Ferruccio Guidi. 2020. lambdadelta_2B: Formal specification for the interactive prover Matita 0.99.4. Retrieved from http://lambdadelta.info/.
[26]
Ferruccio Guidi. 2021. A formal system for the universal quantification of schematic variables (unpublished).
[27]
Furio Honsell, Luigi Liquori, Claude Stolze, and Ivan Scagnetto. 2018. The delta-framework. In Proceedings of the 38th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS’18), Leibniz International Proceedings in Informatics, Vol. 122, Sumit Ganguly and Paritosh K. Pandya (Eds.). Schloss Dagstuhl–Leibniz-Zentrum für Informatik, Dagstuhl, 37:1–37:21.
[28]
Fairouz D. Kamareddine. 2005. Typed -calculi with one binder. J. Funct. Program. 15, 5 (2005), 771–796.
[29]
Fairouz D. Kamareddine, Roel Bloo, and Rob P. Nederpelt. 1999. On -conversion in the -cube and the combination with abbreviations. Annals of Pure and Applied Logic 97, 1-3 (1999), 27–45.
[30]
Fairouz D. Kamareddine, Twan Laan, and Rob P. Nederpelt. 2001. Refining the barendregt cube using parameters. In Proceedings of the 5th International Symposium on Functional and Logic Programming (FLOPS’01),Lecture Notes in Computer Science, Vol. 2024, Herbert Kuchen and Kazunori Ueda (Eds.). Springer, Berlin, 375–389.
[31]
Fairouz D. Kamareddine, Twan Laan, and Rob P. Nederpelt. 2003. De bruijn’s automath and pure type systems. In Thirty Five Years of Automating Mathematics, Fairouz D. Kamareddine (Ed.). Kluwer Applied Logic Series, Vol. 28. Kluwer Academic Publishers, Hingham, MA, 71–123.
[32]
Fairouz D. Kamareddine, Twan Laan, and Rob P. Nederpelt. 2004. A Modern Perspective on Type Theory from Its Origins Until Today. Applied Logic Series, Vol. 29. Kluwer Academic Publishers, Hingham, MA.
[33]
Fairouz D. Kamareddine and Rob P. Nederpelt. 1996a. Canonical typing and -conversion in the barendregt cube. J. Funct. Program. 6, 2 (1996), 245–267.
[34]
Fairouz D. Kamareddine and Rob P. Nederpelt. 1996b. A useful -notation. Theoret. Comput. Sci. 155, 1 (1996), 85–109.
[35]
Maria E. Maietti. 2009. A minimalist two-level foundation for constructive mathematics. Ann. Pure Appl. Logic 160, 3 (2009), 319–354.
[36]
Per E. R. Martin-Löf. 1975. About models for intuitionistic type theories and the notion of definitional equality. In Proceedings of the 3rd Scandinavian Logic Symposium, Stig Kanger (Ed.). Studies in Logic and the Foundations of Mathematics, Vol. 82. Elsevier, Amsterdam, The Netherlands, 81–109.
[37]
Rob P. Nederpelt. 1973. Strong Normalization in a Typed Lambda Calculus with Lambda Structured Types. Ph.D. Dissertation. Eindhoven University of Technology, Eindhoven, The Netherlands.
[38]
Rob P. Nederpelt. 1979. A System of Lambda Calculus Possessing Facilities for Typing and Abbreviating. Part I: Informal Introduction. Memorandum 1979-02. Department of Mathematics, Eindhoven University of Technology, Eindhoven, The Netherlands.
[39]
Rob P. Nederpelt. 1980. A System of Lambda Calculus Possessing Facilities for Typing and Abbreviating. Part II: Formal Description. Memorandum 1980-11. Department of Mathematics, Eindhoven University of Technology, Eindhoven, The Netherlands.
[40]
Rob P. Nederpelt and J. Herman Geuvers. 2014. Type Theory and Formal Proof. Cambridge University Press, Cambridge, UK.
[41]
Rob P. Nederpelt, J. Herman Geuvers, and Roel C. de Vrijer (Eds.). 1994. Selected Papers on Automath. Studies in Logic and the Foundations of Mathematics, Vol. 133. North-Holland, Amsterdam, The Netherlands.
[42]
Simon L. Peyton Jones. 1987. The Implementation of Functional Programming Languages. Prentice Hall International (UK) Ltd, Hemel Hempstead, UK.
[43]
Niels J. Rehof and Morten H. Sørensen. 1994. The -calculus. In Proceedings of the Theoretical Aspects of Computer Software (TACS’94), Masami Hagiya and John C. Mitchell (Eds.). Lecture Notes in Computer Science, Vol. 789. Springer, Berlin, 516–542.
[44]
Simona Ronchi Della Rocca and Luca Paolini. 2004. The Parametric Lambda Calculus. Springer, Berlin.
[45]
Morten H. Sørensen and Paweł Urzyczyn. 2006. Lectures on the Curry-Howard Isomorphism. Studies in Logic and the Foundations of Mathematics, Vol. 149. Elsevier, Amsterdam, The Netherlands.
[46]
William W. Tait. 1967. Intensional interpretations of functionals of finite type I. J. Symbol. Logic 32, 2 (1967), 198–212.
[47]
William W. Tait. 1975. A realizability interpretation of the theory of species. In Proceedings of the Logic Colloquium, Symposium on Logic Held at Boston, 1972-73, Lecture Notes in Mathematics, Vol. 453, R. Parikh (Ed.). Springer, Berlin, 240–251.
[48]
Masako Takahashi. 1995. Parallel reductions in λ-calculus. Inf. Comput. 118, 1 (Apr. 1995), 120–127.
[49]
Lambert S. van Benthem Jutting. 1979. Checking Landau’s “Grundlagen” in the Automath System. Mathematical Centre Tracts, Vol. 83. Mathematisch Centrum, Amsterdam, The Netherlands.
[50]
Lambert S. van Benthem Jutting. 1994a. Description of AUT-68. In Selected Papers on Automath [Nederpelt et al. 1994]. North-Holland, Amsterdam, The Netherlands, 251–273.
[51]
Lambert S. van Benthem Jutting. 1994b. The language theory of Λ, a typed λ-calculus where terms are types. In Selected Papers on Automath [Nederpelt et al. 1994]. North-Holland, Amsterdam, The Netherlands, 655–683.
[52]
Diederik T. van Daalen. 1980. The Language Theory of Automath. Ph.D. Dissertation. Eindhoven University of Technology, Eindhoven, The Netherlands.
[53]
Diederik T. van Daalen. 1994. A description of automath and some aspects of its language theory. In Selected Papers on Automath [Nederpelt et al. 1994]. North-Holland, Amsterdam, The Netherlands, 101–126.
[54]
Matthias Weber. 2020. An extended type system with lambda-typed lambda-expressions. Logic. Methods Comput. Sci. 16, 4 (Dec. 2020), 12:1–12:50.

Index Terms

  1. A Formal System for the Universal Quantification of Schematic Variables

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Transactions on Computational Logic
      ACM Transactions on Computational Logic  Volume 23, Issue 1
      January 2022
      237 pages
      ISSN:1529-3785
      EISSN:1557-945X
      DOI:10.1145/3487995
      • Editor:
      • Anuj Dawar
      Issue’s Table of Contents

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 22 October 2021
      Accepted: 01 June 2021
      Revised: 01 May 2021
      Received: 01 December 2020
      Published in TOCL Volume 23, Issue 1

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. Quantified schematic variables
      2. explicit substitutions
      3. extended applicability condition
      4. infinite degrees of terms
      5. preservation of validity
      6. strong normalization
      7. terms as types

      Qualifiers

      • Research-article
      • Refereed

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • 0
        Total Citations
      • 108
        Total Downloads
      • Downloads (Last 12 months)16
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 18 Aug 2024

      Other Metrics

      Citations

      View Options

      Get Access

      Login options

      Full Access

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Full Text

      View this article in Full Text.

      Full Text

      HTML Format

      View this article in HTML Format.

      HTML Format

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media