To play this document inside your browser use ALT-N and ALT-P.

You can save your edits inside your browser and load them back (edits are also saved when you close the window). Finally you can download the file for offline editing.


Exercise 1:

  • Prove this statement by induction. Relevant lemmas are doubleS odd_double addn0 addnn mulnn big_mkcond big_nat_recr

Exercise 2:

  • Let's define the subtype of odd and even natural numbers
  • Intrument Coq to recognize odd/even number built out of product and successor
  • Inherit on odd_nat the eqType structure