(************************************************************************)
(*         *   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)         *)
(************************************************************************)
(** Properties of subtraction between natural numbers.  This file is mostly OBSOLETE now, see module [PeanoNat.Nat] instead.  [minus] is now an alias for [Nat.sub], which is defined in [Init/Nat.v] as: << Fixpoint sub (n m:nat) : nat := match n, m with | S k, S l => k - l | _, _ => n end where "n - m" := (sub n m) : nat_scope. >> *)
Local Open Scope nat_scope.
(** * 0 is right neutral *)
(** * Permutation with successor *)

Lemma minus_Sn_m n m : m <= n -> S (n - m) = S n - m.