diff options
author | Hendrik Tews <hendrik@askra.de> | 2013-05-14 19:28:23 +0000 |
---|---|---|
committer | Hendrik Tews <hendrik@askra.de> | 2013-05-14 19:28:23 +0000 |
commit | e40001d34fef5595487558f33e5a6a7cdadaec77 (patch) | |
tree | 494b543fb739624b5cc53982f3513db55521ba92 /coq/example.v | |
parent | cfe55b2593c5f47dfef3d26af0847dc669575aeb (diff) |
- update coq example
- minor changes in user manual
Diffstat (limited to 'coq/example.v')
-rw-r--r-- | coq/example.v | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/coq/example.v b/coq/example.v index 5c6894c7..27ccd26d 100644 --- a/coq/example.v +++ b/coq/example.v @@ -6,13 +6,13 @@ Module Example. -Goal forall (A B:Prop),(A /\ B) -> (B /\ A). - intros A B. - intros H. - elim H. - split. - assumption. - assumption. -Save and_comms. + Lemma and_commutative : forall (A B:Prop),(A /\ B) -> (B /\ A). + Proof. + intros A B H. + destruct H. + split. + trivial. + trivial. + Qed. End Example. |