Stanford / CS257已收录

Introduction to Automated Reasoning

从命题逻辑、SAT 与 SMT 到验证和程序合成,学习自动推理的核心方法。

关于这组笔记

个人英文自学讲义,依据 Winter 2026 公开课表、指定教材、同源 Iowa 课程 slides 及客座资料编写;原课 slides 与作业未公开,代码为自编推理工具,第 14 讲仅有讲义。

查看原课程资料

适合的起点

建议熟悉集合、函数、数学归纳法与 Python,了解计算理论会有帮助。

本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。

沿着目录阅读

当前 20 篇

课程讲义

  1. Lecture 01Lecture 1 · Propositional Logic: Syntax, Semantics, Satisfiability and Validity
  2. Lecture 02Lecture 2 · Normal Forms, SAT Solving and Resolution
  3. Lecture 03Lecture 3 · Proof Systems
  4. Lecture 04Lecture 4 · DPLL
  5. Lecture 05Lecture 5 · CDCL: Conflict-Driven Clause Learning
  6. Lecture 06Lecture 6 · First-Order Logic: Syntax
  7. Lecture 07Lecture 7 · First-Order Logic: Semantics, Normal Forms, Resolution and Unification I
  8. Lecture 08Lecture 8 · Resolution and Unification II; First-Order Theories
  9. Lecture 09Lecture 9 · Applications: Model Checking
  10. Lecture 10Lecture 10 · First-Order Theories and DPLL(T)
  11. Lecture 11Lecture 11 · Arithmetic I: Linear Real Arithmetic and the Simplex Method
  12. Lecture 12Lecture 12 · Arithmetic II: Integers
  13. Lecture 13Lecture 13 · Decision Procedures for Arrays, Strings and Sequences
  14. Lecture 14Lecture 14 · Applications: Symbolic Execution
  15. Lecture 15Lecture 15 · From Decision Procedures to Proof Automation in Lean
  16. Lecture 16Lecture 16 · Bit-Vectors
  17. Lecture 17Lecture 17 · Herbrand's Theorem and Quantifier Instantiation
  18. Lecture 18Lecture 18 · Theory Combination
  19. Lecture 19Lecture 19 · Using Formal Verification for Text-to-SQL
  20. Lecture 20Lecture 20 · Program Synthesis, and the Course in Review

从讲义到代码

按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。

下载 CS257 代码

请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。

返回全部课程