aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/example.v
blob: 5c6894c7f8d90a3eb85074a8be96e00c6430771b (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.

Goal forall (A B:Prop),(A /\ B) -> (B /\ A). 
  intros A B.
  intros H.
  elim H.
  split.
  assumption.
  assumption.
Save and_comms.

End Example.