Coprimality proof for the general case #
In the paper it is claimed in the proof of coprimality of a₃ and a₄ over there –
isCoprime_natAdd_two_three here – that "as 101 is prime and 10y - 1 > 101,
they have no common factor". This is not always true even with the paper's definition of y,
but can be made so by adding 101 to the factors of y.
theorem
GeneralCase.coprime_of_rough
{F : Finset ℕ}
(Q K L : Finset ℕ → ℕ)
(hQ : ∀ {d : ℕ}, 3 ≤ d → d ∣ Q F → L F < d)
(hK : Odd (K F))
(hL : K F ≤ L F)
:
(K F).Coprime (Q F)
In this file's context "rough" means "having only large ODD prime factors".
All elements of tup n F h are odd by construction, except natAdd n 0 when n is odd,
so the factor 2 is not an obstacle to pairwise coprimality.
theorem
GeneralCase.isCoprime_natAdd_four_five
{n : ℕ}
{F : Finset ℕ}
{h : ℕ}
:
IsCoprime (tup n F h (Fin.natAdd n 4)) (tup n F h (Fin.natAdd n 5))
theorem
GeneralCase.isCoprime_natAdd_three_four
{n : ℕ}
{F : Finset ℕ}
:
∀ᶠ (h : ℕ) in Filter.atTop, IsCoprime (tup n F h (Fin.natAdd n 3)) (tup n F h (Fin.natAdd n 4))
theorem
GeneralCase.isCoprime_natAdd_three_five
{n : ℕ}
{F : Finset ℕ}
:
∀ᶠ (h : ℕ) in Filter.atTop, IsCoprime (tup n F h (Fin.natAdd n 3)) (tup n F h (Fin.natAdd n 5))
theorem
GeneralCase.isCoprime_natAdd_two_three
{n : ℕ}
{F : Finset ℕ}
:
∀ᶠ (h : ℕ) in Filter.atTop, IsCoprime (tup n F h (Fin.natAdd n 2)) (tup n F h (Fin.natAdd n 3))
theorem
GeneralCase.isCoprime_natAdd_two_four
{n : ℕ}
{F : Finset ℕ}
:
∀ᶠ (h : ℕ) in Filter.atTop, IsCoprime (tup n F h (Fin.natAdd n 2)) (tup n F h (Fin.natAdd n 4))
theorem
GeneralCase.isCoprime_natAdd_two_five
{n : ℕ}
{F : Finset ℕ}
:
∀ᶠ (h : ℕ) in Filter.atTop, IsCoprime (tup n F h (Fin.natAdd n 2)) (tup n F h (Fin.natAdd n 5))
theorem
GeneralCase.isCoprime_natAdd_natAdd
{n : ℕ}
{F : Finset ℕ}
{i j : Fin 6}
(hij : i < j)
:
∀ᶠ (h : ℕ) in Filter.atTop, IsCoprime (tup n F h (Fin.natAdd n i)) (tup n F h (Fin.natAdd n j))
theorem
GeneralCase.isCoprime_castAdd_natAdd
{n : ℕ}
{F : Finset ℕ}
{i : Fin n}
{j : Fin 6}
:
∀ᶠ (h : ℕ) in Filter.atTop, IsCoprime (tup n F h (Fin.castAdd 6 i)) (tup n F h (Fin.natAdd n j))
theorem
GeneralCase.pairwiseCoprime_tup
{n : ℕ}
{F : Finset ℕ}
:
∀ᶠ (h : ℕ) in Filter.atTop, PairwiseCoprime (tup n F h)