Nielsen comparison for under partial-product dominance
ProvedOddPerfectNumber.nielsen_comparisoninequalitiesnumber-theoryperfect-numbers
This is Lemma 1.2 of Nielsen (2015), the product comparison lemma behind the odd-perfect upper bounds.
Let be an integer and let and be non-decreasing real sequences satisfying the partial-product dominance
for every . Then
with equality if and only if for every .
This lemma is the structural parent of the two-variable perturbation estimate and the calibrating product identity: together they drive the maximality argument in Lemma 1 of Nielsen (2003), which in turn feeds the prime-set extensions in the proof of Theorem 1.
Formalization Note Sequences are -indexed in Lean ( with indices ), products are over Finset.range, and positivity , plus both monotonicity hypotheses are explicit.
Preamble
import Mathlib
Formal statement
namespace OddPerfectNumber
theorem nielsen_comparison (k : ℕ) (z y : ℕ → ℝ) (hk : 0 < k)
(hz1 : ∀ i, i < k → 1 < z i)
(hy1 : ∀ i, i < k → 1 < y i)
(hzmono : ∀ i j, i < j → j < k → z i ≤ z j)
(hymono : ∀ i j, i < j → j < k → y i ≤ y j)
(hpart : ∀ l, 1 ≤ l → l ≤ k →
Finset.prod (Finset.range l) (fun i => z i) ≤
Finset.prod (Finset.range l) (fun i => y i)) :
Finset.prod (Finset.range k) (fun i => (1 - 1 / z i)) ≤
Finset.prod (Finset.range k) (fun i => (1 - 1 / y i)) ∧
(Finset.prod (Finset.range k) (fun i => (1 - 1 / z i)) =
Finset.prod (Finset.range k) (fun i => (1 - 1 / y i)) ↔
∀ i, i < k → z i = y i) := by
sorry
end OddPerfectNumberSource
P. P. Nielsen, Odd perfect numbers, Diophantine equations, and upper bounds, Math. Comp. 84 (2015), Lemma 1.2; see also M. Cook, comparison lemma (cf. Nielsen 2003 INTEGERS #A14, Section 2); author's version https://mathdept.byu.edu/~pace/BestBound_web.pdf