Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3703595.3705872acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
research-article
Open access

Nominal Matching Logic with Fixpoints

Published: 10 January 2025 Publication History

Abstract

Matching logic is the foundation of the K semantic environment for the specification of programming languages and automated generation of evaluators and verification tools. NLML is a formalization of nominal logic, which facilitates specification and reasoning about languages with binders, as a matching logic theory. Many properties of interest are inductive, and to prove them an induction principle modulo alpha-equality is required. In this paper we show that an alpha-structural Induction Principle for any nominal binding signature can be derived in an extension of NLML with set variables and fixpoint operators. We illustrate the use of the principle to prove properties of the λ-calculus, the computation model underlying functional programming languages. The techniques generalize to other languages with binders. The proofs have been written in and generated using Metamath Zero.

References

[1]
Mario Carneiro. 2020. Metamath Zero: Designing a theorem prover prover. In Intelligent Computer Mathematics: 13th International Conference, CICM 2020, Bertinoro, Italy, July 26-31, 2020, Proceedings 13. Springer, 71-88.
[2]
Xiaohong Chen, Dorel Lucanu, and Grigore Roşu. 2021. Matching logic explained. Journal of Logical and Algebraic Methods in Programming 120 ( 2021 ), 100638. https://doi.org/10.1016/j.jlamp. 2021.100638
[3]
Xiaohong Chen and Grigore Rosu. 2019. Matching-Logic. In 34th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2019, Vancouver, BC, Canada, June 24-27, 2019. 1-13. https://doi.org/10.1109/ LICS. 2019.8785675
[4]
Xiaohong Chen and Grigore Rosu. 2020. A general approach to define binders using matching logic. Proc. ACM Program. Lang. 4, ICFP ( 2020 ), 88 : 1-88 : 32. https://doi.org/10.1145/3408970
[5]
James Cheney and Maribel Fernández. 2022. Nominal Matching Logic. In PPDP 2022: 24th International Symposium on Principles and Practice of Declarative Programming, Tbilisi, Georgia, September 20-22, 2022. ACM, 5 : 1-5 : 15. https://doi.org/10.1145/3551357.3551375
[6]
Murdoch J. Gabbay and Andrew M. Pitts. 2001. A New Approach to Abstract Syntax with Variable Binding. Formal Aspects of Computing 13, 3-5 ( July 2001 ), 341-363.
[7]
Norman D. Megill. 2019. Metamath: A Computer Language for Mathematical Proofs. Lulu Press, Morrisville, North Carolina. http://us.metamath.org/downloads/metamath.pdf.
[8]
Andrew M. Pitts. 2001. Nominal Logic: A First Order Theory of Names and Binding. In TACS (LNCS, Vol. 2215 ). Springer, 219-242.
[9]
Andrew M. Pitts. 2003. Nominal Logic, A First Order Theory of Names and Binding. Inf. Comput. 186, 2 ( 2003 ), 165-193.
[10]
Andrew M. Pitts. 2013. Nominal Sets: Names and Symmetry in Computer Science. Cambridge University Press, USA.
[11]
Grigore Roşu. 2017. Matching logic. Logical Methods in Computer Science 13, 4 ( December 2017 ), 1-61. https://doi.org/abs/1705.06312
[12]
Nishant Rodrigues, Mircea Octavian Sebe, Xiaohong Chen, and Grigore Roşu. 2024. A Logical Treatment of Finite Automata. In Tools and Algorithms for the Construction and Analysis of Systems, Bernd Finkbeiner and Laura Kovács (Eds.). Springer Nature Switzerland, Cham, 350-369.
[13]
Octavian Mircea Sebe. [n. d.]. NLML formalization. https://doi.org/10. 1145/3580443
[14]
Christian Urban. 2008. Nominal Techniques in Isabelle/HOL. J. Autom. Reason. 40, 4 (May 2008 ), 327-356.
[15]
Christian Urban, Stefan Berghofer, and Michael Norrish. 2007. Barendregt's Variable Convention in Rule Inductions. In Automated Deduction-CADE-21, 21st International Conference on Automated Deduction, Bremen, Germany, July 17-20, 2007, Proceedings (Lecture Notes in Computer Science, Vol. 4603 ), Frank Pfenning (Ed.). Springer, 35-50. https://doi.org/10.1007/978-3-540-73595-3_4

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
CPP '25: Proceedings of the 14th ACM SIGPLAN International Conference on Certified Programs and Proofs
January 2025
298 pages
ISBN:9798400713477
DOI:10.1145/3703595
This work is licensed under a Creative Commons Attribution International 4.0 License.

Sponsors

In-Cooperation

  • SIGLOG: SIGLOG

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 10 January 2025

Permissions

Request permissions for this article.

Check for updates

Badges

Author Tags

  1. Binding operator
  2. Induction
  3. Lambda-Calculus
  4. Matching Logic
  5. Metamath Zero
  6. Nominal Logic
  7. Verification

Qualifiers

  • Research-article

Funding Sources

  • Royal Society

Conference

CPP '25
Sponsor:

Acceptance Rates

Overall Acceptance Rate 18 of 26 submissions, 69%

Upcoming Conference

POPL '26

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 68
    Total Downloads
  • Downloads (Last 12 months)68
  • Downloads (Last 6 weeks)68
Reflects downloads up to 18 Feb 2025

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media