(* 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_Dec.v                                *)
(****************************************************************************)
Require Export Arith.
Require Export Compare_dec.
Require Export Lib_Prop.
simple induction n; auto with arith.
Qed.
Hint Resolve lt_or_eq_O_dec.
intros n; case n; auto with arith.
intros p; case p; auto with arith.
Qed.
Hint Resolve lt_SO_or_eq_O_or_SO_dec.

Lemma O_or_no_dec : forall n : nat, {n = 0} + {n <> 0}.