Lefebvre's variations, No. 192 — on a theme by Matiyasevich: Matiyasevich's integer inequality holds for n at most one hundred
ProvedLefebvreVariations.matiyasevich_integer_le_one_hundredWrite , , , and . For every integer ,
where is the number of primes .
The parent asserts this for all , an arithmetic (integer-only) equivalent of the Riemann hypothesis. For both sides are explicit integers, so the statement is a finite exact computation.
Formalization Note The statement is that of BroughanRH.matiyasevichInteger verbatim, with the added hypothesis n ≤ 100. All divisions are natural-number floor divisions and Nat.log2 is the floor of the binary logarithm, exactly as in the parent; for the left side is .
Why this is a variation. Variation on the open platform theorem BroughanRH.matiyasevichInteger (an integer-only equivalent of the Riemann hypothesis): the parent's own inequality for n <= 100, where each side is an explicit integer; a prover can discharge it by kernel computation.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib set_option autoImplicit false
namespace LefebvreVariations
theorem matiyasevich_integer_le_one_hundred :
let evenFact (m : ℕ) := 2^m * m.factorial
let d (n : ℕ) : ℤ := ∑ k ∈ Finset.Ico 1 n,
(-1 : ℤ)^(k+1) * ((evenFact (n-1) / k : ℕ) : ℤ)
let l (n : ℕ) := Nat.log2 ((Finset.Icc 1 n).lcm id)
let f₀ (n : ℕ) := evenFact n / 2
let f₃ (n : ℕ) : ℕ := ∏ j ∈ Finset.Icc 2 n, (2*j+3)
∀ n : ℕ, 1 ≤ n → n ≤ 100 → (Nat.primeCounting n : ℤ)^2 *
(d n * (l n : ℤ) - (f₀ n : ℤ)) < (f₃ n : ℤ) := by
sorry
end LefebvreVariations