入门班 · 2026 AI4Math 暑期学校

类型论与 Lean4 入门

入门班的讲义、幻灯片与 Lean 代码示例。 课程代码仓库 · ← 返回暑校页

材料

D1 · 7 月 15 日(周三)

从零到逻辑 + AI 工具上手

Course materials for the opening session: slides and a Lean script for getting started.

Lean 代码

录像

  • 无(当日未录制)

D2 · 7 月 16 日(周四)

归纳类型与类型类

Inductive types, pattern matching, recursion and induction proofs, structures, the common inductive types (Option / List / Fin / Multiset), and type classes — ending in one integrated expression-tree example.

讲义

Lean 代码 · 点击在 live.lean-lang.org 打开

录像

D3 · 7 月 17 日(周五)

代数结构 + 组合/图

Algebraic structures, instances, subobjects, modules, vector spaces, and graph examples in Lean.

Lean 代码

录像

D4 · 7 月 18 日(周六)

分析结构与拓扑

A map of Mathlib's analysis library — algebraic / order / topological / metric structures, filters as a unified language for limits, continuity, differentiation, interval integration and the fundamental theorem of calculus, ending in a proof workflow that combines API search, AI drafts, and Lean verification.

讲义

Lean 代码 · 点击在 live.lean-lang.org 打开

录像

D5 · 7 月 19 日(周日)

函数式编程

Functional programming in Lean through inductive data structures, monads, and the design and evaluation of expression systems.

讲义

Lean 代码 · 点击在 live.lean-lang.org 打开

录像

D6 · 7 月 20 日(周一)

算法的形式化与验证

A three-hour workshop on monad programs, S-expression verification, the sin x / x limit, verified merge sort in CSLib, and a small language for automatic complexity analysis.

讲义

Lean 代码 · 点击在 live.lean-lang.org 打开

录像

汇报 · 7 月 21 日(周一)

小组项目展示

现场展示,无单独课件。