HomeLaunchesTheorem
78

Theorem – AI coding that is trustworthy-by-default

Program verification for superhumanly complex code

TL;DR: Please give us your most complicated coding problem that needs to be correct. Sign up!

Hello World! We’re Jason and Rajashree! We think AI code generation is going to be bigger than any of us can imagine.

MISSION

Theorem is an AI and programming languages research lab. Our question: as the models get better at generating code, what is the bottleneck to safely deploying vastly more computation in the world?

  • Code has bugs.  AI-enabled attackers will increase the volume and velocity of attacks on software infrastructure. Human code review will not scale.
  • AIs are untrusted generators. In order to deploy AIs in critical systems without fully understanding their generalization behavior, we’ll need robust, scalable methods for overseeing their solutions.

OPPORTUNITY

Programming languages and formal methods is the promise that we can bootstrap roots of trust. Even as complexity of software goes up, we can design simple interfaces for steering with leverage.

Previously, this technology was only applied to the most mission-critical infrastructure, because of the enormous labor bottleneck — requiring years of PhD level engineering work. For instance, Jason worked on the project that wrote the code generator powering trillions of secure https connections everyday, but it took fifteen man-years to complete!

With advances in AI, we’re able to speed this development cycle 10,000 times! As a wild example of what’s possible, we spent two hours finding what would have been a zero-day in https code from 2011.

OUR APPROACH

We want to build workflows for trustworthy-by-default programming by pushing our best ideas till they break. The current candidate to beat is program equivalence driven development. You oversee a simple reference implementation. We give you an optimized implementation, along with a proof that the programs are functionally equivalent.

We’re gradually rolling out our programming environment and models. Some use cases from our customers:

  • Performance optimization: finding edge cases where hyper-optimized GPU code would fail; getting clear documentation of dependencies that modify behavior in unforeseen ways.
  • Code migration: automating legacy code refactors from Python to Rust while proving no functional change; writing custom kernels to support new services.

If you work in public infrastructure, finance, hardware, or have other use cases that demand correctness, we’d love to help. Please reach out at founders@theoremlabs.com