Documentation

Foundation.FirstOrder.Arithmetic.PeanoMinus.Functions

Functions and relations defined in $\mathsf{PA^-}$ #

This file provides functions and relations defined in $\mathsf{PA^-}

(Modified) Subtraction #

theorem LO.FirstOrder.Arithmetic.sub_existsUnique {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] (a b : V) :
∃! c : V, (a ba = b + c) (a < bc = 0)
noncomputable def LO.FirstOrder.Arithmetic.sub {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] (a b : V) :
V
Equations
Instances For
    theorem LO.FirstOrder.Arithmetic.sub_eq_iff {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b c : V} :
    c = a - b (a ba = b + c) (a < bc = 0)
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem LO.FirstOrder.Arithmetic.sub_remove_left {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b c : V} (e : a = b + c) :
      a - c = b
      theorem LO.FirstOrder.Arithmetic.sub_sub {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b c : V} :
      a - b - c = a - (b + c)
      theorem LO.FirstOrder.Arithmetic.tsub_lt_iff_left {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b c : V} (h : b a) :
      a - b < c a < c + b
      theorem LO.FirstOrder.Arithmetic.sub_mul {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b c : V} (h : b a) :
      (a - b) * c = a * c - b * c
      theorem LO.FirstOrder.Arithmetic.mul_sub {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b c : V} (h : b a) :
      c * (a - b) = c * a - c * b
      theorem LO.FirstOrder.Arithmetic.add_sub_of_le {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {b c : V} (h : c b) (a : V) :
      a + b - c = a + (b - c)
      theorem LO.FirstOrder.Arithmetic.sub_succ_add_succ {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {x y : V} (h : y < x) (z : V) :
      x - (y + 1) + (z + 1) = x - y + z

      Divisibility #

      theorem LO.FirstOrder.Arithmetic.dvd_iff_bounded {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b : V} :
      a b cb, b = a * c
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem LO.FirstOrder.Arithmetic.le_of_dvd {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b : V} (h : 0 < b) :
          a ba b
          theorem LO.FirstOrder.Arithmetic.not_dvd_of_lt {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b : V} (pos : 0 < b) :
          b < a¬a b

          Prime number #

          @[implicit_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          Equations
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Minimum #

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Maximum #

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For