A prime divisor above k in the close below-square subcase
ProvedProofsInTheBook.Chapter03.exists_large_prime_factor_choose_below_sq_close_of_sqrt33book-chapter-3lean4number-theoryproofs-from-the-book
Let satisfy , , and . Put and . Assume and
Then some prime p satisfies and . The maximum expresses Lean’s truncated natural-number subtraction in the premise.
Preamble
import Mathlib import Definitions.Def_ProofsInTheBook_Chapter03 open Nat open ProofsInTheBook.Chapter03 set_option maxHeartbeats 800000
Formal statement
theorem ProofsInTheBook.Chapter03.exists_large_prime_factor_choose_below_sq_close_of_sqrt33
{n k : ℕ} (hk9 : 9 ≤ k) (hn2k : 2 * k ≤ n)
(hnsq : n < k * k) (hsqrt33 : 33 ≤ sqrt n)
(hMsub : min k (n / 3) - sqrt n ≤ sqrt n) :
HasPrimeFactorAbove k (n.choose k) := by sorrySource
Formalization: https://github.com/xiangyazi24/proof_in_the_book/blob/88d88d141768cded75e782c525ef1bf04b8fe220/ProofsInTheBook/Chapter03.lean#L2009. This is a selected result in the local development concerning binomial coefficients and their prime factors. The specific technical formulation is cited to the repository, without claiming that it appears verbatim in the textbook.