(************************************************************************)
(*         *   The Coq Proof Assistant / The Coq Development Team       *)
(*  v      *   INRIA, CNRS and contributors - Copyright 1999-2018       *)
(* <O___,, *       (see CREDITS file for the list of authors)           *)
(*   \VV/  **************************************************************)
(*    //   *    This file is distributed under the terms of the         *)
(*         *     GNU Lesser General Public License Version 2.1          *)
(*         *     (see LICENSE file for the text of the license)         *)
(************************************************************************)
(** Order on natural numbers.  This file is mostly OBSOLETE now, see module [PeanoNat.Nat] instead.  [le] is defined in [Init/Peano.v] as: << Inductive le (n:nat) : nat -> Prop := | le_n : n <= n | le_S : forall m:nat, n <= m -> n <= S m  where "n <= m" := (le n m) : nat_scope. >> *)
Local Open Scope nat_scope.
(** * [le] is an order on [nat] *)
Notation le_refl := Nat.le_refl (only parsing).
Notation le_trans := Nat.le_trans (only parsing).
Notation le_antisym := Nat.le_antisymm (only parsing).
Hint Resolve le_trans: arith.
Hint Immediate le_antisym: arith.
(** * Properties of [le] w.r.t 0 *)
Notation le_0_n := Nat.le_0_l (only parsing).  (* 0 <= n *)
Notation le_Sn_0 := Nat.nle_succ_0 (only parsing).  (* ~ S n <= 0 *)
(** * Properties of [le] w.r.t successor *)
(** See also [Nat.succ_le_mono]. *)
Proof Peano.le_n_S.

Theorem le_S_n : forall n m, S n <= S m -> n <= m.