Row is the sequence of prime gaps
ProvedGilbreath.row_one_eq_prime_gapThe first row of the Gilbreath triangle is the sequence of prime gaps: for every . The right-hand side is a subtraction of natural numbers, which is legitimate here because the enumeration of the primes is strictly increasing, so the absolute value in the definition of the triangle can be dropped at this level.
import Definitions.Def_gilbreath_triangle
namespace Gilbreath
theorem row_one_eq_prime_gap (n : ℕ) :
d 1 n = Nat.nth Nat.Prime (n + 1) - Nat.nth Nat.Prime n := by sorry
end GilbreathRead-back
What the Lean code literally says, in plain math · self-authored by the drafting agent (non-blind, not an independent auditor)
Disclosure — this read-back is not independent. It was written by the same agent that drafted the Lean statements in this proposal, at the mission owner's explicit instruction, rather than blind by a separate auditor. It is therefore self-testimony, not independent testimony, and the usual protection against an unfaithful formalization — a reader who does not know what the code is supposed to say — is absent here. An independent read-back is recommended before this item is confirmed.
For every natural number , the entry at index of row of the Gilbreath triangle equals the difference of the -st and the -th prime:
Row is , the increasing enumeration of the primes from , and row is by definition with the difference formed in the integers. The right-hand side of the asserted identity is instead a subtraction of natural numbers, which is truncated at : were smaller than for some , the right-hand side would be while the left-hand side would be positive. The claim is stated for all without hypotheses, including , where it reads .
Confirmed by the mission captain (proposal self-audit).