Documentation

Marginis.Hrbacek2020

On factoring of unlimited integers #

KAREL HRBACEK

We prove a special case of Dickson's Conjecture as stated in the paper: the case where

n = gcd(a,b) > 1 implies n | f(k) = a+bk for all k, violating the main hypothesis of Dickson's conjecture.

See dickson_strong.

Dickson's Conjecture is trivial for ℓ = 0 and we do not need Hrbacek's assumption that ℓ ≥ 1.

def prod_f { : } (a b : Fin ) (k : ) :
Equations
Instances For
    theorem dickson_strong { : } (a b : Fin ) (ha : ∀ (i : Fin ), (a i).gcd (b i) > 1 b i = 1) (hc : ¬n > 1, ∀ (k : ), n prod_f a b k) (i : Fin ) (n₀ : ) :
    nn₀, Nat.Prime (a i + b i * n)
    theorem dickson_gcd { : } (a b : Fin ) (ha : ∀ (i : Fin ), (a i).gcd (b i) > 1) (hc : ¬n > 1, ∀ (k : ), n prod_f a b k) (i : Fin ) (n₀ : ) :
    nn₀, Nat.Prime (a i + b i * n)
    theorem dvd_helper' {a b : } (ha : b a) (h_b : b > 1) :
    a.gcd b > 1
    theorem dvd_helper {a b : } (ha : b a) (hb : b 1) :
    a.gcd b > 1 b = 1
    theorem dickson_dvd { : } (a b : Fin ) (hb : ∀ (i : Fin ), b i 1) (ha : ∀ (i : Fin ), b i a i) (hc : ¬n > 1, ∀ (k : ), n prod_f a b k) (i : Fin ) (n₀ : ) :
    nn₀, Nat.Prime (a i + b i * n)
    theorem dickson_linear { : } {a b : Fin } {hb : ∀ (i : Fin ), b i 1} (ha : ∀ (i : Fin ), a i = 0) (hc : ¬n > 1, ∀ (k : ), n prod_f a b k) (i : Fin ) (n₀ : ) :
    nn₀, Nat.Prime (a i + b i * n)

    Janitha Aswedige's part #

    theorem Div_by_3 (m : ) :
    3 1 - (-2) ^ m
    theorem help (m : ) :
    2 ^ m / (-2) ^ m = (-1) ^ m
    def s :

    Anchor function definition. For p > 2: s(p, n) = (p^n + 1)/2 For p = 2: s(p, n) = (1 - (-2)^n)/3

    Equations
    Instances For
      theorem anchor (p m n : ) (hp : Nat.Prime p) (hmn : m < n) :
      s p n s p m [ZMOD p ^ m]
      theorem anchor_trivial (p m n : ) (hmn : m = n) :
      s p n s p m [ZMOD p ^ m]
      theorem anchor_leq (p m n : ) (hp : Nat.Prime p) (hmn : m n) :
      s p n s p m [ZMOD p ^ m]
      noncomputable def n_p :
      Equations
      Instances For
        noncomputable def a :
        Equations
        Instances For
          theorem CWeak (x y : ) (p : ) (hp : Nat.Prime p) (hpx : p a x) (hpy : p a y) (Hx : x s p (n_p p x) [ZMOD p ^ n_p p x]) (Hy : y s p (n_p p y) [ZMOD p ^ n_p p y]) :
          p y - x