A formal proof of one of de Morgan's laws using a new theorem prover from Microsoft Research called "lean".
You can run this code inside your browser. Just copy the code and paste it here
The previous link also includes a very good tutorial, but maybe not necessarily completely entry-level.
A simpler tutorial (actually, lecture notes from a CMU professor, Jeremy Avigad) is here