Research
Research notes, engineering write-ups and announcements from Logos Research.
Verifying an AI-native legacy migration of a SAS credit-risk pipeline to Python
We formalised the requirements of a SAS credit-risk pipeline and verified the SAS against them after fixing 15 bugs. We then proved that its AI-written Python port matches the corrected SAS, finding 13 bugs in the port that parity tests had missed.
22nd November 2026
Verifying a codebase for the pricing of interest rate options
We describe our workflow to extract a documentation from a codebase, check the code against it, and let the Logos system detect a historical QuantLib bug with a verified counterexample.
16th November 2026
Proving a CUDA kernel matches its PyTorch specification
We give PyTorch programs and CUDA kernels a shared denotational semantics in Lean, so the two can be compared as mathematical objects rather than by sampling outputs. Both translations are deterministic compilers, and every verdict is a machine-checked proof or a computed counterexample. The first divergences we found were in ReLU.
26th August 2026
Turning rulebooks into verified tools
We had AI agents turn three rulebooks (NBA transactions, US income tax, airline baggage fees) into Lean functions with proved properties, reframing each rulebook as a formal specification. LLMs then call the verified functions as deterministic tools, scoring 90.7–100% where unaided models fall as low as 9%, every verdict traceable to its rules.
15th July 2026
Migrating Code by Proof: From F# to Python
We built a deterministic, LLM-free translator from Python and F# into Lean, reframing code migration as a proof obligation. Our automated prover then shows an F# algorithm and its Python rewrite compute the same function on every input, producing a ~22,000-character machine-checked proof.
6th July 2026
Stress-testing Logos formalisation platform on graduate-level probability and stochastic analysis
Findings from 18 experiments by Prof. Massimiliano Gubinelli, producing 144,000 lines of machine-checked Lean across 2,248 verified items.
22nd May 2026
Logos reaches 99.4% on the VERINA verified code synthesis benchmark
In May 2026 our system reached 99.4% on VERINA, a benchmark for code synthesis with formal, machine-checked proofs of correctness.
7th May 2026