(* This code is copyrighted by its authors; it is distributed under  *)
(* the terms of the LGPL license (see LICENSE and description files) *)
(* Contribution to the Coq Library   V6.3 (July 1999)                    *)
(****************************************************************************)
(*                                                                          *)
(*                                                                          *)
(*                   Solange Coupet-Grimal & Line Jakubiec                  *)
(*                                                                          *)
(*                                                                          *)
(*              Laboratoire d'Informatique de Marseille                     *)
(*               CMI-Technopole de Chateau-Gombert                          *)
(*                   39, Rue F. Joliot Curie                                *)
(*                   13453 MARSEILLE Cedex 13                               *)
(*           e-mail:{Solange.Coupet,Line.Jakubiec}@lim.univ-mrs.fr          *)
(*                                                                          *)
(*                                                                          *)
(*                                Coq V5.10                                 *)
(*                              May 30th 1996                               *)
(*                                                                          *)
(****************************************************************************)
(*                                 Lib_Pred.v                               *)
(****************************************************************************)
Require Export Lib_Eq_Le_Lt.
Require Export Lib_Prop.
simple induction n; auto with arith.
Qed.
Hint Resolve pred_diff_O.
simple induction n; auto with arith.
Qed.
Hint Resolve S_pred_n.
intros n m H.
rewrite H; auto with arith.
Qed.
Hint Resolve eq_pred.
intros; apply neq_O_lt.
apply sym_not_equal; auto with arith.
Qed.
Hint Resolve pred_diff_lt.
simple induction n; auto with arith.
Qed.
Hint Resolve pred_n_O.
intros.
rewrite H; auto with arith.
Qed.
Hint Resolve pred_O.

Lemma pred_no_O : forall n : nat, pred n <> 0 -> n <> 0.