A prime within 36 from a prime-gap cover
ProvedProofsInTheBook.Chapter03.exists_prime_within_of_primeGapCoverbook-chapter-03lean4number-theoryproofs-from-the-book
Let , and let be a finite list of natural numbers. Assume and PrimeGapCover L r s. Explicitly, has a nonempty prefix consisting of primes, with , for , and . Then
No monotonicity of the covering list is assumed.
This is a certificate-consumption lemma; a valid prime-gap cover remains an explicit input.
Preamble
import Mathlib import Definitions.Def_ProofsInTheBook_Chapter03 open Nat open ProofsInTheBook.Chapter03
Formal statement
theorem ProofsInTheBook.Chapter03.exists_prime_within_of_primeGapCover {limit prev m : ℕ} {ps : List ℕ}
(hcover : PrimeGapCover limit prev ps) (hprev : prev ≤ m) (hm : m < limit) :
∃ p, m < p ∧ p ≤ m + 36 ∧ p.Prime := by sorrySource
Martin Aigner and Günter M. Ziegler, Proofs from THE BOOK, 6th edition, Springer, 2018, Chapter 3, “Binomial coefficients are (almost) never powers”, pp. 15–18 (https://doi.org/10.1007/978-3-662-57265-8_3). Formalization: https://github.com/xiangyazi24/proof_in_the_book/blob/88d88d141768cded75e782c525ef1bf04b8fe220/ProofsInTheBook/Chapter03.lean#L3823. The chapter citation identifies the development’s topic; this technical helper is not asserted to be a separately named theorem in the book.