Deriving Theorems in Implicational Linear Logic, Declaratively
Paul Tarau (University of North Texas), Valeria de Paiva (Topos, Institute)

TL;DR
This paper presents an efficient algorithm for generating all the theorems of a specific size in the implicational fragment of propositional linear intuitionistic logic, enabling large-scale theorem dataset creation.
Contribution
It introduces a polynomial-effort algorithm for theorem generation based on proof term analysis, improving over previous PSPACE-complete methods.
Findings
Generated over 7.5 billion theorems in a few hours
Developed a Prolog program with O(N) space complexity
Provided datasets for testing and training neural theorem provers
Abstract
The problem we want to solve is how to generate all theorems of a given size in the implicational fragment of propositional intuitionistic linear logic. We start by filtering for linearity the proof terms associated by our Prolog-based theorem prover for Implicational Intuitionistic Logic. This works, but using for each formula a PSPACE-complete algorithm limits it to very small formulas. We take a few walks back and forth over the bridge between proof terms and theorems, provided by the Curry-Howard isomorphism, and derive step-by-step an efficient algorithm requiring a low polynomial effort per generated theorem. The resulting Prolog program runs in O(N) space for terms of size N and generates in a few hours 7,566,084,686 theorems in the implicational fragment of Linear Intuitionistic Logic together with their proof terms in normal form. As applications, we generate datasets for…
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 · Logic, Reasoning, and Knowledge · Formal Methods in Verification
