Software Foundations
softwarefoundations.cis.upenn.edu
softwarefoundations.cis.upenn.edu
The previous version was hosted at http://www.cis.upenn.edu/~bcpierce/sf which now redirects to here.
---
This book is very good for self-study. It teaches you Coq, a formal proof assistant/language. Formally-verified programs can be extracted from these proofs into languages like Haskell and OCaml.