# A universal layer could verify code across languages

Markdown copy of https://realalpha.app/s/a-universal-layer-could-verify-code-across-languages/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Clark Barrett](https://realalpha.app/builders/clark-barrett/) · Co-founder & Co-CEO, &Truth · Pioneered satisfiability modulo theories and AI-assisted formal verification; co-leads &Truth’s effort to prove software correct.
- Host: [Theo Jaffee](https://realalpha.app/people/theo-jaffee/) · Co-founder & host, MTS · One of the first members of a16z's new media team; earlier hosted the Emergent Ventures-backed Theo Jaffee Podcast.
- Host: [Sophia Dew](https://realalpha.app/people/sophia-dew/) · Host, MTS
- Show: MTS
- Episode: [Why AI Hacking Makes Code Testing Obsolete | &Truth](https://realalpha.app/v/ZI5MdAUzlE0/), Nov 17, 2026
- Moment: 10:20 to 13:25 of the episode (3 min), playing on https://realalpha.app/s/a-universal-layer-could-verify-code-across-languages/; the episode from there: https://realalpha.app/v/ZI5MdAUzlE0/?t=620

## Quote

> “These are, you know, people have studied these concepts. So we do know how to **convert any code into mathematics**.”
> — [Clark Barrett](https://realalpha.app/builders/clark-barrett/) at [10:39](https://realalpha.app/v/ZI5MdAUzlE0/?t=639) · MTS

## Takeaways

1. The system aims to translate any code into mathematics.
2. AI can help with proofs that once took months or years.
3. Their goal is provable correctness across languages and codebases.

## About this segment

Clark Barrett describes translating programming languages into a shared mathematical layer, while AI helps with proofs. Hsu says the goal is to verify old and new code across languages.

From “Why AI Hacking Makes Code Testing Obsolete | &Truth”, Nov 17, 2026. [Watch the full episode](https://realalpha.app/v/ZI5MdAUzlE0/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[10:25](https://realalpha.app/v/ZI5MdAUzlE0/?t=625) And so curious to get your perspective at Antruth, because I think it dives into what you are building. Are you able to do this with all software or just something written in Assembly or C++? class? Yeah. So the techniques we're developing, they're based, like I said, on, you know, years and years of research in formal methods and programming languages. These are, you know, people have studied these concepts. So we do know how to convert any code into mathematics. Like this is a problem we know how to do. It just hasn't been operationalized. It hasn't been built in a system like lean and we're building that right now um once you have that capability um then then it just comes down to this question of can you prove the theorem and uh that's another place where ai can help us so there are various places where ai can plug in here things that used

[11:17](https://realalpha.app/v/ZI5MdAUzlE0/?t=677) to take human experts uh months years can now be done in hours minutes so that's where there's a big change. Sophia, we are building the universal verification machine. And when we use those words, it's very deliberate. From the beginning, first principles, we wanted to design and build a verification capability that can reason about code in a way that is as scalable, token efficient, and when we say universal across languages so the future that we envision is every line of code both Old and new, across languages, across all critical software, safe, provably correct.

[12:10](https://realalpha.app/v/ZI5MdAUzlE0/?t=730) That is the future that we envision, and the inflection has happened such that this is now possible. I will also bring it back to two other comments you made. We also use Lean. Lean is our trusted kernel. but whereas in the past 18 months there's been this emphasis on proving math now it is time to prove code at scale so we go from proving the proof in the code to the proof of the code that's the next chapter that we're here to write finally you mentioned vibe coding yes vibe coding has been productive but as we know you mentioned the word slop there are limitations we now see and urgent need to go from vibe coding to varicoding. When we get to varicoding, you now have a fearless experience where developers, software engineers, can optimize, performance engineer, and code with confidence that you can ship correct code into your production software.

[13:18](https://realalpha.app/v/ZI5MdAUzlE0/?t=798) That's the difference between kind of hoping things are right and knowing that they are right.
