Resources for Teaching with Formal Methods
This page collects resources for anyone considering the use of formal methods and formal tools in a classroom. The effort grew out of a discussion that was held during the Big Proof program at the Isaac Newton Institute in Cambridge, UK. A recording of the discussion is available.
There are many axes along which one can organize such a list, such as the level of expertise of the intended audience (from experts to the public at large) or disciplinary orientation (computer science, mathematics, mathematical logic, etc.). Here I have chosen to classify the material by subject matter:

computer science: material for teaching students to use formal methods for computational purposes, e.g. courses on software design and verification.

mathematics: material for teaching mathematics, e.g. courses on discrete mathematics or introductions to mathematical proof.

logic and formal methods: materials for teaching logic and formal methods themselves, e.g. courses on dependent type theory and automated reasoning.
If you would like add something, just send the text as you would like it to appear to avigad@cmu.edu, preferrably already formatted in markdown. Entries should provide a link to the relevant resources, which in turn should make use of formal tools (theorem provers, SAT solvers, model checkers, etc.) in some way.
Computer Science

Benjamin Pierce at al., Software Foundations.
A book on designing reliable software, using Coq.

Adam Chlipala, Certified Programming with Dependendent Types
A book about software engineering, using Coq.

Adam Chlipala, Formal Reasoning About Programs
The early stages of a book on formal reasoning about program correctness, using Coq.

Tobias Nipkow and Gerwin Klein, Concrete Semantics
A book on the semantics of programming languages, using Isabelle.

Peter Dybjer, Types for Programs and Proofs
A course on types systems in programming language design, using Agda.

J. Strother Moore, A Formal Model of the Java Virtual Machine
A course based on ACL2.

Aaron Stump, Verified Functional Programming in Agda
A book on writing verified programs with Agda.

Jacques Fleuriot, Formal Verification
A course on formal verification, using model checking, SAT, and SMT.

Mauricio AyalaRincón and Flávio L. C. de Moura, Applied Logic for Computer Scientists
A book on hardware and software verification, using PVS.

The Summer School on Formal Techniques
An annual summer school emphasizing handson use.

Philip Wadler, Types and Semantics for Programming Languages
A course based on Coq.

Tobias Nipkow and Peter Lammich, Verified Functional Data Structures
A course on the design and analysis of data structures for functional programming languages, using Isabelle. The resources are available here.

Yves Bertot Software Verification and Computer Proof
An introductory course on functional programming and program verification using Coq.

Yves Bertot, Cyril Cohen, Laurence Rideau, and Enrico Tassi, Advanced Software Verification and Computer Proof
A course on describing mathematical concepts and algorithms using Coq and the mathematlcal Components library.
Mathematics

Jeremy Avigad, Robert Y. Lewis, and Floris van Doorn, Logic and Proof
An introduction to mathematical proof and symbolic logic, with exercises in Lean.

Daniel Velleman, Proof Designer
A Java applet designed to help students write proofs.

A system for designing sophisticated computeraided assessments in mathematics.

Chris Sangwin, Computer Aided Assessment of Mathematics
A book on the use of computer aided assessment.
Logic and Formal Methods

Femke van Raamsdonk, Hermann Guevers, et al., Type Theory and Coq
An introduction to logic, type theory, and metatheory, using Coq.

Jacques Fleuriot, Automated Reasoning
A course on automated reasoning, using Isabelle.

N. Shankar, L. de Moura, H. Ruess, and A. Tiwari, Little Engines of Proof
A course on automated deduction and decision procedures.

Josef Urban, Chad E. Brown, and Ondřej Kunčar, Formal Mathematics and Proof Assistants
A course using Mizar, Isabelle, and Coq.

Includes a webbased introductory course on Logic and Proof.