Coq programs and notes on Proof General and the Software Foundations book