LARA

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sav08:homework01 [2008/02/22 11:44]
vkuncak
sav08:homework01 [2008/02/24 17:42]
vkuncak
Line 30: Line 30:
       * you may also wish to check the tutorial and this [[http://​afp.sourceforge.net/​browser_info/​current/​HOL/​BinarySearchTree/​BinaryTree_TacticStyle.html|Binary Search Tree example]]       * you may also wish to check the tutorial and this [[http://​afp.sourceforge.net/​browser_info/​current/​HOL/​BinarySearchTree/​BinaryTree_TacticStyle.html|Binary Search Tree example]]
   * for fun, Use formDecider.opt from [[:Jahob system]] to prove the same [[Proofs and Induction#​Example|example from class]], as well as the examples in Exercises (install [[:Jahob system]] as well as provers CVC3 and E if needed)   * for fun, Use formDecider.opt from [[:Jahob system]] to prove the same [[Proofs and Induction#​Example|example from class]], as well as the examples in Exercises (install [[:Jahob system]] as well as provers CVC3 and E if needed)
 +  * if you log into your EPFL account, the Jahob verifier should be accessible by invoking:
 +<​code>​
 +~kuncak/​software/​bin/​verify --help
 +</​code>​
  
 ===== Problem 1 ===== ===== Problem 1 =====
Line 90: Line 94:
   \lnot (p \land q) \leftrightarrow (\lnot p) \lor (\lnot q) \\   \lnot (p \land q) \leftrightarrow (\lnot p) \lor (\lnot q) \\
   p \leftrightarrow ​ \lnot (\lnot p) \\   p \leftrightarrow ​ \lnot (\lnot p) \\
-  (p \rightarrow q) \leftrightarrow (p \lor (\lnot ​q)) \\+  (p \rightarrow q) \leftrightarrow ((\lnot ​p\lor q) \\
   \lnot (p \lor q) \leftrightarrow (\lnot p) \land (\lnot q)   \lnot (p \lor q) \leftrightarrow (\lnot p) \land (\lnot q)
 \end{array} \end{array}