Skip to content
Open access

Interactive Proofs in Higher-Order Logic with Errors and Application to Concrete Cryptography

Jul 2026 · IEEE Computer Security Foundations Symposium · pp. 529-543 · 0 citations · 50 references

TL;DR

This paper introduces a proof term calculus with dedicated features for bounds, for which an elaborator can automatically infer bound-related manipulations, improving usability and reducing user inputs, and theoretically argues for its usability through an erasability theorem.

Abstract

Computer-aided cryptography (CAC) provides strong guarantees through mechanized proofs of security. SquirREL is a proof assistant specialized in CAC, but is restricted to the asymptotic setting, which limits its applicability. Recent theoretical work [1] adapted Squirrel’s underlying logic to the concrete setting through the introduction of a higher-order logic with errors. While this allows to prove precise security bounds on paper, it only provides a low-level logical calculus which lacks an implementation. Thus, it falls short of the CAC aims.In this paper, we use this low-level calculus to build the full-fledged set of features used in a proof assistant such as Squirrel, with a focus on reachability reasoning. We design higher-level logical mechanisms on top of this logic, including proof context management, introduction patterns, and boundannotated tactics. To do so, we introduce a proof term calculus with dedicated features for bounds, for which we design an elaborator. This elaborator can automatically infer bound-related manipulations, improving usability and reducing user inputs, and we theoretically argue for its usability through an erasability theorem. All these improvements have been implemented as an extension of Squirrel, and we provide empirical evidence of the applicability of our framework through case studies.

Read PDF

Similar papers

Proof Production for Satisfiability Modulo Finite Fields with Proof Checking in Pacheck and Lean

This work proposes a proof calculus that captures the decision procedure for finite field reasoning employed by the SMT solver CVC 5 and instrumenting the solver to generate proofs within this calculus, and introduces an extension of the Practical Algebraic Calculus that mirrors the proposed system.

Pedro Saccomani, Abdalrhman Mohamed, Elizaveta Pertseva et al. · 0 citations
Aug 2026

UC, Categorically: Rigorous Diagrammatic Proofs

This work provides a categorical treatment of Canetti's Universal Composability (UC) framework for systems with a static number of parties and sessions, often termed UC for static systems, yielding four benefits, including graphically verified formulation of the composition theorem.

P. Farshim, M. Karvonen, Andre Knispel et al. · 0 citations

Crimps: Indexical Separation Logics for Order-Invariant Specifications

Crimp is introduced, a generic higher-order function formalised over a non-standard separation algebra that can be instantiated to capture diverse order-invariant properties of varied imperative data structures and gives rise to a natural separation logic, indexical separation logic, for localising and reflecting state...

Unknown authors · 0 citations
Open access Aug 2026

Conflict-Driven SAT Solving using XOR-OR-AND Normal Forms

Solving Boolean polynomial systems, or equivalently, SAT-solving, based on the XNF and the XLIN proof system outperforms classical methods not only theoretically, but based on the new conflict-driven XNF clause learning methods developed here, it is possible to implement an XNF solver with good practical efficiency.

Julian Danner, Martin Kreuzer · 0 citations
Open access Aug 2026

Assertions for Free: Transferring Invariants from Algorithm to Implementation Proofs (Functional Pearl)

This pearl shows how a clean separation can be achieved within the two-layer method by combining two simple ideas: expressing implementation correctness as a relational Hoare quadruple, and introducing assertion annotations into the abstract program to capture key invariants.

Shu-Shu Wu, Cheng-Xi Yang, Xi-Wei Wu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.