(* 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.
intros n H0 H1.
cut (n = 0 \/ n = 1).
intros H_Cut.
apply no_or_r with (n = 0); try trivial with arith.
apply pred_n_O; try trivial with arith.
Qed.

Lemma lt_le_pred : forall n m : nat, n < m -> n <= pred m.