Documentation

FltRegular.FltThree.OddPrimeOrFour

Being equal to 4 or odd.

Equations
Instances For
    theorem OddPrimeOrFour.exists_and_dvd {n : ℤ} (n2 : 2 < n) :
    ∃ p, p ∣ n ∧ OddPrimeOrFour p
    theorem associated_of_dvd {a : ℤ} {p : ℤ} (ha : OddPrimeOrFour a) (hp : OddPrimeOrFour p) (h : p ∣ a) :
    theorem dvd_or_dvd {a : ℤ} {p : ℤ} {x : ℤ} (ha : OddPrimeOrFour a) (hp : OddPrimeOrFour p) (hdvd : p ∣ a * x) :
    p ∣ a ∨ p ∣ x
    theorem exists_associated_mem_of_dvd_prod'' {p : ℤ} (hp : OddPrimeOrFour p) {s : Multiset ℤ} (hs : ∀ (r : ℤ), r ∈ s → OddPrimeOrFour r) (hdvd : p ∣ Multiset.prod s) :
    ∃ q, q ∈ s ∧ Associated p q
    theorem factors_unique_prod' {f : Multiset ℤ} {g : Multiset ℤ} :
    (∀ (x : ℤ), x ∈ f → OddPrimeOrFour x) → (∀ (x : ℤ), x ∈ g → OddPrimeOrFour x) → Associated (Multiset.prod f) (Multiset.prod g) → Multiset.Rel Associated f g
    noncomputable def oddFactors (x : ℤ) :

    The odd factors.

    Equations
    Instances For
      theorem oddFactors.nonneg {z : ℤ} {a : ℤ} (ha : a ∈ oddFactors z) :
      0 ≤ a
      theorem oddFactors.pow (z : ℤ) (n : ℕ) :
      noncomputable def evenFactorExp (x : ℤ) :

      The exponent of 2 in the factorization.

      Equations
      Instances For
        theorem factors_2_even {z : ℤ} (hz : z ≠ 0) :
        noncomputable def factorsOddPrimeOrFour (z : ℤ) :

        Odd factors or 4.

        Equations
        Instances For
          theorem factorsOddPrimeOrFour.associated' {a : ℤ} {f : Multiset ℤ} (hf : ∀ (x : ℤ), x ∈ f → OddPrimeOrFour x) (ha : 0 < a) (heven : Even (evenFactorExp a)) (hassoc : Associated (Multiset.prod f) a) :
          theorem factorsOddPrimeOrFour.unique' {a : ℤ} {f : Multiset ℤ} (hf : ∀ (x : ℤ), x ∈ f → OddPrimeOrFour x) (hf' : ∀ (x : ℤ), x ∈ f → 0 ≤ x) (ha : 0 < a) (heven : Even (evenFactorExp a)) (hassoc : Associated (Multiset.prod f) a) :