aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/example.v
blob: 27ccd26d27a2ba12674c0b3f710d063f58e5353f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(*
    Example proof script for Coq Proof General.

    $Id$
*)

Module Example.

  Lemma and_commutative : forall (A B:Prop),(A /\ B) -> (B /\ A).
  Proof.
    intros A B H.
    destruct H.
    split.
      trivial.
    trivial.
  Qed.

End Example.