Rapid Prototyping Formal Systems in MMT: 5 Case Studies
Dennis M\"uller (Computer Science, FAU Erlangen-N\"urnberg, Germany),, Florian Rabe (Computer Science, FAU Erlangen-N\"urnberg, Germany, LRI, Paris, France)

TL;DR
This paper demonstrates how the MMT framework enables rapid prototyping of diverse formal systems through five case studies, showcasing its flexibility and ease of customization for complex object logics.
Contribution
It introduces a flexible approach to defining formal systems in MMT, allowing customization beyond traditional logical frameworks, demonstrated through five practical case studies.
Findings
Rapid development of diverse formal systems
Flexible kernel customization enables complex logic definitions
Efficient prototype implementations achieved quickly
Abstract
Logical frameworks are meta-formalisms in which the syntax and semantics of object logics and related formal systems can be defined. This allows object logics to inherit implementations from the framework including, e.g., parser, type checker, or module system. But if the desired object logic falls outside the comfort zone of the logical framework, these definitions may become cumbersome or infeasible. Therefore, the MMT system abstracts even further than previous frameworks: it assumes no type system or logic at all and allows its kernel algorithms to be customized by almost arbitrary sets of rules. In particular, this allows implementing standard logical frameworks like LF in MMT. But it does so without chaining users to one particular meta-formalism: users can flexibly adapt MMT whenever the object logic demands it. In this paper, we present a series of case studies that do just…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Model-Driven Software Engineering Techniques · Formal Methods in Verification
