File: example.v

package info (click to toggle)
proofgeneral 4.5-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,172 kB
  • sloc: lisp: 33,783; makefile: 388; sh: 118; perl: 109
file content (18 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (3)
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.