(* 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.
simple induction n; auto with arith.
Qed.
Hint Resolve pred_no_O.
simple induction n; auto with arith.
Qed.
Hint Resolve lt_pred.

Lemma dif_0_pred_eq_0_eq_1 : forall n : nat, n <> 0 -> pred n = 0 -> n = 1.