3. Part III — Semantics and Program Verification

This part applies Lean to the formal semantics of programming languages and to program verification: we define operational semantics, prove their equivalence, and build program logics — Hoare logic and separation logic — proving their soundness.

  1. 3.1. Operational Semantics of Expressions
  2. 3.2. The IMP Language
  3. 3.3. Hoare Logic
  4. 3.4. Verification Condition Generation
  5. 3.5. Operational Semantics of Assembly
  6. 3.6. Separation Logic
  7. 3.7. Separation Logic in WP Style