◆ VIASM Mini-Course · Hanoi 2026

An Introduction to Automatic Theorem Proving in Mathematics

Six lectures that build from the ground up — the λ-calculus and type theory, then propositional proofs, then Lean, and finally the auto-formalization of real research mathematics. Every idea appears twice: once as something you can run, once as something a machine checks.

The through-line

One staircase, six steps

The course has a single spine: a term is a proof, a type is a proposition, and a proof assistant is just a very careful accountant of that correspondence. We start where computation itself starts — a variable-binding rule you can write on a napkin — and end at a research paper checked by a kernel.

The plan

The six lectures

Each lecture pairs a hands-on strand (the Lambda Lab, a Lean game, a notebook) with a rigorous one (definitions, theorems, machine-checked proofs). These notes will grow as the course runs — foundations first.

01
Foundations

A general introduction to type theory

What is a type, and why do modern proof assistants stand on type theory rather than set theory? We meet judgments Γ ⊢ t : A, the simply-typed λ-calculus, Church- vs Curry-style typing, and a first glimpse of dependent types — the on-ramp to everything that follows.

judgmentsSTLCChurch vs Currypropositions-as-typesMLTT preview
02
Foundations

Simple calculations with the Church λ-calculus

The untyped λ-calculus as a computational substrate: α-equivalence, capture-avoiding substitution, β/η-reduction and normal forms. Then Church encodings — booleans, numerals, the tricky predecessor, and the Y-combinator — each reduced by hand and reproduced live in the Lambda Lab.

β-reductionChurch numeralsChurch–RosserY-combinator
03
Foundations

Propositional logic proofs

Natural deduction and the BHK / Curry–Howard reading of the connectives ( is a function, a product, a sum, ¬ is →⊥), taught through Emily Riehl's Lean game A Reintroduction to Proofs. Every game level maps to one inference rule.

natural deductionBHKintuitionisticLean tactics
04
Core

Introduction to Lean

From paper to kernel. Term mode vs tactic mode; propositions vs data; Nat, induction and rewriting; the essential tactics (intro, apply, rw, simp, induction, omega). We work through the Natural Number Game and Macbeth's Mechanics of Proof to a first honest end-to-end theorem.

Lean 4tactic modeMathlibNatural Number Game
05
Core

Advanced Lean

Dependent types in practice: structures and typeclasses, the architecture of Mathlib and how to search it, and the heavy tactics that make formalization tractable (simp, ring, linarith, omega, norm_num, decide), calc blocks, and well-founded recursion — closing on a genuine analysis/algebra proof.

typeclassessimp/ring/linarithcalcMathlib search
06
Capstone

Auto-formalization of mathematics with Lean

Where AI meets the kernel. The 2024–2026 landscape — AlphaProof, AlphaGeometry, DeepSeek-Prover, LeanDojo — and what "autoformalize" really means. Then the flagship case study: the EML project formalizing arXiv:2603.21852, every elementary function from a single binary operator, checked sorry-free by Lean.

AlphaProofLLM + LeanEML projecthuman+AI+kernel
Why now

Formal mathematics stopped being a curiosity

In the last two years, machine-checked proof went from a niche to a frontier: AI systems reached medal territory on olympiad problems, and mathematicians began formalizing new results as they proved them. This course teaches the substrate underneath that shift.

28 / 42
Google DeepMind's AlphaProof + AlphaGeometry 2 scored 28/42 at the 2024 IMO — silver-medal level, one point short of gold.
DeepMind, 2024
283k+
theorems in Mathlib — over 2 million lines of formalized mathematics, from 770+ contributors.
leanprover-community mathlib stats, 2026
88.9%
DeepSeek-Prover-V2 on miniF2F — open LLM provers now clear most competition benchmarks.
DeepSeek, 2025
36 / 36
EML primitives formalized sorry-free in Lean 4 (100 theorems, 8062 kernel jobs) — the course capstone.
nasqret/eml-formalization
4 provers
Lean, Agda, Rocq, Mizar — one statement, four foundations, side by side in artifacts/.
this course

Figures cross-checked against primary sources by the course's research pass (21 of 30 volatile claims confirmed; corrections logged in research/fact_checks.md).

Everything in one place

Materials & tools