(************************************************************************)
(*         *      The Rocq Prover / The Rocq Development Team           *)
(*  v      *         Copyright INRIA, CNRS and contributors             *)
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(*   \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)         *)
(************************************************************************)
(*                      Evgeny Makarov, INRIA, 2007                     *)
(************************************************************************)
(** * Properties of orders and addition for modules implementing [NZOrdAxiomsSig']  This file defines the [NZAddOrderProp] functor type, meant to be [Include]d in a module implementing [NZOrdAxiomsSig'] (see [Stdlib.Numbers.NatInt.NZAxioms]).  This gives important basic compatibility lemmas between [add] and [lt], [le]. *)
From Stdlib.Numbers.NatInt Require Import NZAxioms NZBase NZMul NZOrder.
Module Type NZAddOrderProp (Import NZ : NZOrdAxiomsSig').
Include NZBaseProp NZ <+ NZMulProp NZ <+ NZOrderProp NZ.

Theorem add_le_mono_r : forall n m p, n <= m <-> n + p <= m + p.