/
© 2026 RiffOn. All rights reserved.

Get your free personalized podcast brief

We scan new podcasts and send you the top 5 insights daily.

  1. The Peterman Pod
  2. Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura
Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod · Aug 10, 2026

Lean's creator Leonardo de Moura on how AI + proof assistants verify complex math and software, changing development and potentially handwritten math.

Use Inefficient, Simple Code as a Formal Specification for AI-Driven Optimization

Instead of struggling to write an abstract mathematical specification, developers can write a simple, inefficient, but correct version of their program. This 'naive' implementation can then be used as a formal spec for an AI to generate an optimized version, along with a proof of its equivalence.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

Lean is a Production Language, Used for an AWS AI Compiler, Not Just a Proof Assistant

Beyond its academic use for formal verification, Lean is a functional programming language used to build substantial software. Its own tooling is written in Lean, and AWS uses it for a half-million-line compiler for AI accelerators, treating its proof capabilities as a valuable bonus.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

AI Makes Formal Verification Viable by Automating Proof Maintenance, Not Just Creation

The primary barrier to adopting formal verification has been the immense cost (often 10x development time) of maintaining proofs as software changes. AI excels at this tedious and difficult task, rewriting and adapting proofs automatically, which is the key change making the practice scalable and mainstream.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

Lean Lets Mathematicians Simplify Proofs They Don't Fully Understand

A team successfully formalized and simplified a complex proof from Fields Medalist Peter Scholze using Lean. The tool's interactive feedback guided them, allowing them to refactor and improve the mathematics akin to how a programmer refactors code, even without a complete intuitive grasp of the subject.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

Lean's Self-Implementation Lets Users Build Custom DSLs and UIs Inside Proofs

Because Lean is written in Lean, it's highly extensible. Users can write metaprograms in the same file as their proofs to build custom automation, visualizations, or entire domain-specific languages (DSLs). One mathematician even created a point-and-click, English-like proof interface this way without modifying Lean's core.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

Lean Uses Dependent Types To Bake Program Invariants Directly into Function Signatures

Unlike systems with Higher-Order Logic, Lean's Dependent Type Theory allows types to depend on values. This enables creating functions that require a proof as an argument (e.g., a division function that takes x, y, and a proof that y != 0), baking critical invariants directly into the type system.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

Formalizing Software in Lean Enables Bolder Optimizations Through Deeper Understanding

The act of creating a formal proof for a piece of software forces a level of rigor that surpasses even implementing it from scratch. This newfound confidence and clarity allows engineers to pursue aggressive optimizations without the fear of introducing subtle bugs, which they would otherwise avoid due to uncertainty.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

AI Could Flip Software Development by Generating Code from Mathematical Specifications

Instead of writing code and then tests, developers could define precise mathematical properties. AI would then synthesize both the program and a formal proof that the program meets those specifications, ensuring correctness by design and flipping the current code-first paradigm.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

AI Can Now Auto-Translate and Formally Verify Complex C Libraries like zlib

A project demonstrated an AI successfully translating the zlib C library into the Lean language and proving its core compression/decompression property is correct. This shows AI's capability to handle real-world, complex codebases for formal verification, a task previously deemed infeasible.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

Lean's Interactive Proof Process Creates an Addictive, Game-Like Experience

Users describe working with Lean as playing their 'favorite computer game.' The process of incrementally solving small proof goals in an interactive environment provides a constant 'buzz' and sense of accomplishment, which makes the difficult task of formal verification highly engaging and addictive for problem-solvers.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago

Math vs. Software Proofs: Math is Deep and Narrow, Software is Broad and Shallow

Formal verification tooling must cater to two distinct proof shapes. Mathematical theorems (like Fermat's Last Theorem) have very small statements but incredibly deep, complex proofs. In contrast, software verification involves proving properties about massive statements (the code), but the proofs themselves are relatively shallow.

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura thumbnail

Creator of Lean: Handwritten Math Will Change Dramatically | Leonardo de Moura

The Peterman Pod·2 days ago