Existence of blocks of s and s in the Gilbreath triangle
OpenGilbreath.good_blocksGilbreath's conjecture is verified in practice by exhibiting, for each row index, an earlier row that begins with and is followed by a long block of entries in . This theorem is the assertion that such blocks always exist, in exactly the form required by the criterion.
Let denote row of the Gilbreath triangle: is the increasing sequence of primes and . The claim is that for every natural number there are natural numbers and with
In words: the row that is to be certified can be reached from some earlier row that begins with and carries a block of entries in at least as long as the number of difference steps still to be taken.
This is the open content of Gilbreath's conjecture once the mechanical part has been isolated: combined with the propagation lemma, which shows that a row beginning with followed by entries in forces the leading entry for the next rows, it yields for every . Odlyzko's computation establishes precisely this statement for all up to roughly , by finding for each range a single row whose block of s and s is long enough. The case is degenerate: one may take , , where the block condition is empty.
Formalization Note The row index is written with an explicit successor so that the statement quantifies over rows ; row (the primes themselves) is excluded, as it is in the conjecture. Differences are formed in the integers and then taken in absolute value, so no truncated natural subtraction occurs.
import Definitions.Def_gilbreath_triangle
namespace Gilbreath
theorem good_blocks (K : ℕ) : ∃ k m : ℕ, 1 ≤ k ∧ k + m = K + 1 ∧ d k 0 = 1 ∧
∀ n, 1 ≤ n → n ≤ m → d k n = 0 ∨ d k n = 2 := by sorry
end Gilbreath