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 FFL.FirstOrder.Arithmetic.sub_existsUnique {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] (a b : V) :
∃! c : V, (a ≥ b → a = b + c) ∧ (a < b → c = 0)
theorem FFL.FirstOrder.Arithmetic.sub_eq_iff {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b c : V} :
c = a - b ↔ (a ≥ b → a = b + c) ∧ (a < b → c = 0)
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem FFL.FirstOrder.Arithmetic.sub_sub {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b c : V} :
    a - b - c = a - (b + c)
    theorem FFL.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 FFL.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 FFL.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 FFL.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 FFL.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 FFL.FirstOrder.Arithmetic.dvd_iff_bounded {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b : V} :
    a ∣ b ↔ ∃ c ≤ b, 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 FFL.FirstOrder.Arithmetic.le_of_dvd {V : Type u_1} [ORingStructure V] [V↓[ℒₒᵣ] ⊧* 𝗣𝗔⁻] {a b : V} (h : 0 < b) :
        a ∣ b → a ≤ b
        theorem FFL.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 #

        @[instance_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