Matching works

1 work

cs.LO — Logic in Computer Science

Variable-headed continuations in cut-free sequent calculi for pure type systems

Contributed by Francisco R. Villatoro

The weak left rule of Gutiérrez and Ruiz substitutes a variable applied to an argument throughout a continuation and a dependent context suffix. Their structural theorem removes the suffix while leaving the continuation arbitrary. Gutiérrez later restricted the continuation to a spine headed by a fresh auxiliary variable, absent from the remaining arguments and the expected type. We prove that this further restriction preserves every cut-free typing judgment for every pure type specification. The reconstruction preserves the context, subject and expected type, and supplies cut-free proofs of every type-formation premise. A type of an application can contain an earlier prefix of the very spine being reconstructed. To handle this dependence, an intermediate derivation records a formation certificate for each neutral application. Typed substitution transports those certificates through the dependent suffix, and a continuation interpretation reads the spine in arbitrary certified target contexts. Each recursive call descends through a supplied finite derivation. The result holds for specifications with multivalued axiom and product relations and carries no global normalization assumption. It answers the reverse-inclusion question recorded in Gutiérrez’s dissertation and yields admissibility of substitution by a certified neutral spine throughout a dependent continuation. It also identifies the sets of types assigned by the two cut-free calculi. Under the hypotheses of the earlier type-membership procedure, the same procedure consequently decides judgments of the unrestricted cut-free calculus. The main equivalence is formalized in Lean, both as a relation on judgments and on the original datatype of complete derivation trees. The accompanying software records the pinned dependencies and provides commands for repeating the proof and kernel checks.

Author comments: 12 pages. The main equivalence is formalized in Lean 4. Reproducibility software and formal proofs are archived at https://doi.org/10.5281/zenodo.24662300.

A mix of human-written and AI-generated textHuman understanding: some partsLeanPure type systemscut-free derivabilitydependent typesformal verificationproof reconstructionsequent calculus
Dec 01, 202612 pages
PDFView work

Advanced search

Text
Human understanding
Linked formalizations