Search arXiv⌕ Search

arXiv · 2612.04693

A Tactic-Based Prover for Dependent Session Types: Exploiting Curry-Howard to Develop Correct-by-Construction Concurrent Processes

Abstract

STILL is an interactive, tactic-based theorem prover for dependent session types with polymorphism and coinduction. Under the Curry-Howard correspondence between session types and intuitionistic linear logic, propositions are session types and proofs are processes, so STILL extracts correct-by-construction $π$-calculus processes from proofs. STILL provides tactic engines and kernels for two dependent type systems: a session type layer for specifying protocols and a functional layer, the Extended Calculus of Constructions, for the data and computations within processes. A central challenge for goal-directed proof construction in linear logic is managing linear resources. The multiplicative connectives require the linear context to be partitioned before the needs of the resulting subproofs are known. STILL implements a novel nondeterministic representation of linear contexts that lets users delay this choice. The nondeterminism in partial derivations is resolved as tactic validations are constructed, and the resulting proof is checked by a small kernel. The technique leaves the proof rules of the underlying logic unchanged and applies to other tactic-based provers for substructural logics. We have verified in Isabelle/HOL that the technique is sound and complete for the propositional core of intuitionistic linear logic, i.e., tactic derivations that consume all linear resources prove exactly the derivable sequents. We have used STILL to verify protocols from the dependent session type literature and a polymorphic, coinductive auction. To evaluate usability, we gave an LLM coding agent (Claude Opus 4.7) the documentation for STILL and a proof-checking harness. Without prior exposure to STILL, it verified three protocols from the literature and specified and verified a TCP-like handshake. Our interventions concerned documentation and specifications, not tactics.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Kegan McIlwaine, James Caldwell. 2026-12-02. A Tactic-Based Prover for Dependent Session Types: Exploiting Curry-Howard to Develop Correct-by-Construction Concurrent Processes. https://searcharxiv.org/abs/2612.04693

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Measuring well quasi-ordered finitary powersets

The complexity of a well-quasi-order (wqo) can be measured through three ordinal invariants: the width as a measure of antichains, height as a measure of chains, and maximal order type as a measure of bad sequences. We study these ordinal invariants for the finitary powerset, i.e., the collection Pf(A) of finite subsets of a wqo A ordered with the Hoare embedding relation. We show that the invariants of Pf(A) cannot be expressed as a function of the invariants of A, and provide tight upper and lower bounds for them. We then focus on a family of well-behaved wqos, for which these invariants can be computed compositionally, using a newly defined ordinal invariant called the approximate maximal order type. This family is built from multiplicatively indecomposable ordinals, using classical operations such as disjoint unions, products, finite words, finite multisets, and the finitary powerset construction.

cs.LO↗

Low rank MSO

We introduce a new logic for describing properties of graphs, which we call low rank MSO. This is the fragment of monadic second-order logic in which set quantification is restricted to vertex sets of bounded cutrank. We prove the following statements about the expressive power of low rank MSO. - Over any class of graphs that is weakly sparse, low rank MSO has the same expressive power as separator logic. This equivalence does not hold over all graphs. - Over any class of graphs that has bounded VC dimension, low rank MSO has the same expressive power as flip-connectivity logic. This equivalence does not hold over all graphs. - Over all graphs, low rank MSO has the same expressive power as flip-reachability logic. Here, separator logic is an extension of first-order logic by basic predicates for checking connectivity, which was proposed by Bojańczyk [ArXiv 2107.13953] and by Schirrmacher, Siebertz, and Vigny [ACM ToCL 2023]. Flip-connectivity logic and flip-reachability logic are analogues of separator logic suited for non-sparse graphs, which we propose in this work. In particular, the last statement above implies that every property of undirected graphs expressible in low rank MSO can be decided in polynomial time.

cs.LO↗

Well-Scoped Locally Nameless Representation of Syntax

When using interactive theorem provers based on dependent type theory to define and reason about languages involving binding constructs, we advocate the use of a well-scoped version of the locally nameless method of representing syntax. This paper describes generic code for this style of syntax representation within the Agda theorem prover, parameterized by a notion of binding signature due to Aczel and Plotkin. It gives a proof of its adequacy with respect to naïve nameful syntax modulo alpha-conversion and discusses some examples of its use.

cs.LO↗