Skip to content

Functional Correctness of an Optimized Modular Inversion Algorithm

2026 · International Conference on Interactive Theorem Proving · pp. 9:1-9:19 · 1 citation · 17 references
Computer Science

TL;DR

The notes provided in the original description by Pornin are expanded into a complete formal proof, which eventually relies on the collaboration of deductive program verification and interactive theorem proving through the use of the tools Rocq and Why3.

View source

Similar papers

Preprint Sep 2026

Improved Tristate Multiplication With Formalization in Rocq

A new multiplication algorithm for tristate numbers improving upon the state-of-the-art implementation from the Linux kernel in terms of precision and formal proofs is given, and the soundness and optimality of the newly added tnum union operation and the existing tnum addition algorithm are provided.

Nandakumar Edamana, Piyush P. Kurur, Unnikrishnan Cheramangalath · 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
Open access Aug 2026

QuickChecking Convergence of Rewriting Systems (Functional Pearl)

A QuickCheck testing method based on generating and shrinking random execution traces based on checking if the first and last terms of a generated trace share the same deterministic normal form that efficiently finds counterexamples and enables fast, robust shrinking.

Koen Claessen · 0 citations
Book Open access Sep 2026

Proof-Carrying-BPF Programs for the eBPF Verifier

A userspace version of the kernel verifier is developed and appended to the BPF backend to increase the class of programs accepted by the Linux eBPF verifier without increasing its complexity.

Ya-Lu Cai, Santosh Nagarakatte · 0 citations
Preprint Aug 2026

A Simple Algebraic Proof of the PCP Theorem

We give the simplest known algebraic proof of the PCP theorem, involving only ingredients like code concatenation, polynomial interpolation, and polynomial multiplication. Specifically, we prove that graph 3-coloring has a polynomial-sized proof that can be verified by a verifier tossing logarithmically many coins and...

Prashanth Amireddy, Amik Raj Behera, Srikanth Srinivasan 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.