[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2933575.2935320acmconferencesArticle/Chapter ViewAbstractPublication PageslicsConference Proceedingsconference-collections
research-article

The Definitional Side of the Forcing

Published: 05 July 2016 Publication History

Abstract

This paper studies forcing translations of proofs in dependent type theory, through the Curry-Howard correspondence. Based on a call-by-push-value decomposition, we synthesize two simply-typed translations: i) one call-by-value, corresponding to the translation derived from the presheaf construction as studied in a previous paper; ii) one call-by-name, whose intuitions already appear in Krivine and Miquel's work. Focusing on the call-by-name translation, we adapt it to the dependent case and prove that it is compatible with the definitional equality of our system, thus avoiding coherence problems. This allows us to use any category as forcing conditions, which is out of reach with the call-by-value translation. Our construction also exploits the notion of storage operators in order to interpret dependent elimination for inductive types. This is a novel example of a dependent theory with side-effects, clarifying how dependent elimination for inductive types must be restricted in a non-pure setting. Being implemented as a Coq plugin, this work gives the possibility to formalize easily consistency results, for instance the consistency of the negation of Voevodsky's univalence axiom.

References

[1]
T. Altenkirch and A. Kaposi. Type theory in type theory using quotient inductive types. In Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, 2016.
[2]
J.-P. Bernardy and M. Lasson. Realizability and Parametricity in Pure Type Systems. In Foundations of Software Science and Computational Structures, volume 6604, pages 108--122, Saarbrücken, Germany, Mar. 2011.
[3]
A. Brunel. Transformations de ≪forcing≫ et algèbres de ≪monitoring≫. PhD thesis, 2014.
[4]
C. Cohen, T. Coquand, S. Huber, and A. Mörtberg. Cubical Type Theory: a constructive interpretation of the univalence axiom, 2015. Preprint.
[5]
H. Herbelin. A constructive proof of dependent choice, compatible with classical logic. In LICS, pages 365--374. IEEE Computer Society, 2012.
[6]
G. Jaber, N. Tabareau, and M. Sozeau. Extending Type Theory with Forcing. In LICS 2012: Logic In Computer Science, pages 0--0, Dubrovnik, Croatia, June 2012.
[7]
C. Kapulkin, P. L. Lumsdaine, and V. Voevodsky. The simplicial model of univalent foundations. arXiv preprint arXiv:1211.2851, 2012.
[8]
J.-L. Krivine. Classical logic, storage operators and second-order lambda-calculus. Ann. Pure Appl. Logic, 68(1):53--78, 1994.
[9]
J.-L. Krivine. Realizability in classical logic. Panoramas et synthèses, 27:197--229, 2009.
[10]
P. B. Levy. Call-by-push-value. PhD thesis, Queen Mary, University of London, 2001.
[11]
Z. Luo. ECC, an extended calculus of constructions. In LICS, pages 386--395. IEEE Computer Society, 1989.
[12]
A. Miquel. Forcing as a program transformation. In LICS, pages 197--206. IEEE Computer Society, 2011. ISBN 978-0-7695-4412-0.
[13]
G. Scherer. Multi-focusing on extensional rewriting with sums. In T. Altenkirch, editor, 13th International Conference on Typed Lambda Calculi and Applications, TLCA 2015, July 1-3, 2015, Warsaw, Poland, volume 38 of LIPIcs, pages 317--331. Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, 2015. ISBN 978-3-939897-87-3.
[14]
M. Tierney. Sheaf theory and the continuum hypothesis. In Toposes, algebraic geometry and logic, pages 13--42. Springer, 1972.
[15]
Univalent Foundations Project. Homotopy Type Theory: Univalent Foundations for Mathematics. http://homotopytypetheory.org/book, 2013.
[16]
B. Werner. Sets in types, types in sets. In Theoretical aspects of computer software, pages 530--546. Springer, 1997.

Cited By

View all
  • (2025)BiSikkel: A Multimode Logical Framework in AgdaProceedings of the ACM on Programming Languages10.1145/37048449:POPL(210-240)Online publication date: 9-Jan-2025
  • (2022)A well-known representation of monoids and its application to the function ‘vector reverse’Journal of Functional Programming10.1017/S095679682200006532Online publication date: 8-Aug-2022
  • (2021)Touring the MetaCoq Project (Invited Paper)Electronic Proceedings in Theoretical Computer Science10.4204/EPTCS.337.2337(13-29)Online publication date: 16-Jul-2021
  • Show More Cited By

Index Terms

  1. The Definitional Side of the Forcing

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      LICS '16: Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science
      July 2016
      901 pages
      ISBN:9781450343916
      DOI:10.1145/2933575
      © 2016 Association for Computing Machinery. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of a national government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 05 July 2016

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. Coq
      2. Dependent type theory
      3. Effects
      4. Forcing
      5. Inductive types

      Qualifiers

      • Research-article
      • Research
      • Refereed limited

      Funding Sources

      • ERC Starting Grant

      Conference

      LICS '16
      Sponsor:

      Acceptance Rates

      Overall Acceptance Rate 215 of 622 submissions, 35%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)22
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 02 Mar 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2025)BiSikkel: A Multimode Logical Framework in AgdaProceedings of the ACM on Programming Languages10.1145/37048449:POPL(210-240)Online publication date: 9-Jan-2025
      • (2022)A well-known representation of monoids and its application to the function ‘vector reverse’Journal of Functional Programming10.1017/S095679682200006532Online publication date: 8-Aug-2022
      • (2021)Touring the MetaCoq Project (Invited Paper)Electronic Proceedings in Theoretical Computer Science10.4204/EPTCS.337.2337(13-29)Online publication date: 16-Jul-2021
      • (2021)Higher order functions and Brouwer’s thesisJournal of Functional Programming10.1017/S095679682100009531Online publication date: 19-May-2021
      • (2020)A calculus of expandable storesProceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science10.1145/3373718.3394792(564-577)Online publication date: 8-Jul-2020
      • (2020)Russian Constructivism in a Prefascist TheoryProceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science10.1145/3373718.3394740(782-794)Online publication date: 8-Jul-2020
      • (2020)The MetaCoq ProjectJournal of Automated Reasoning10.1007/s10817-019-09540-0Online publication date: 18-Feb-2020
      • (2019)The fire triangle: how to mix substitution, dependent elimination, and effectsProceedings of the ACM on Programming Languages10.1145/33711264:POPL(1-28)Online publication date: 20-Dec-2019
      • (2019)A reasonably exceptional type theoryProceedings of the ACM on Programming Languages10.1145/33417123:ICFP(1-29)Online publication date: 26-Jul-2019
      • (2019)Setoid Type Theory—A Syntactic TranslationMathematics of Program Construction10.1007/978-3-030-33636-3_7(155-196)Online publication date: 20-Oct-2019
      • Show More Cited By

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media