File: example.v

package info (click to toggle)
proofgeneral 4.4.1~pre170114-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 20,596 kB
  • ctags: 4,099
  • sloc: lisp: 43,825; ml: 2,239; sh: 300; makefile: 264; perl: 159
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.