Riemann sum limit over prime pairs in a closed region
ProvedLL_Decomp349PrimeRiemann2.prc_closed_riemannLet , let be continuous on with there, and let be continuous on . Suppose that for all , . Then as , over prime pairs with and , , tends to .
import Mathlib import Definitions.Def_LL_Decomp349PrimeRiemann2_prcMertens import Definitions.Def_LL_Decomp349PrimeRiemann2_prcClosed open Real Finset Filter Set open scoped Classical Topology
namespace LL_Decomp349PrimeRiemann2
theorem prc_closed_riemann {a b : ℝ} {lo hi : ℝ → ℝ} {g : ℝ × ℝ → ℝ}
(ha : 0 < a) (hab : a ≤ b) (hb1 : b ≤ 1)
(hlo : ContinuousOn lo (Icc a b)) (hhi : ContinuousOn hi (Icc a b))
(hlo0 : ∀ t ∈ Icc a b, 0 < lo t) (hlohi : ∀ t ∈ Icc a b, lo t ≤ hi t)
(hhi1 : ∀ t ∈ Icc a b, hi t ≤ 1)
(hg : ContinuousOn g {x : ℝ × ℝ | x.1 ∈ Icc a b ∧ x.2 ∈ Icc (lo x.1) (hi x.1)})
(hM : ∀ a' b' : ℝ, 0 < a' → a' ≤ b' → b' ≤ 1 →
Tendsto (fun N : ℕ => prcMertens a' b' N) atTop (𝓝 (log b' - log a'))) :
Tendsto (fun N : ℕ => ∑ q ∈ prcClosed a b lo hi N,
g (log (q.1 : ℝ) / log N, log (q.2 : ℝ) / log N) / ((q.1 : ℝ) * q.2)) atTop
(𝓝 (∫ t in a..b, ∫ u in lo t..hi t, g (t, u) / (t * u))) := by sorry
end LL_Decomp349PrimeRiemann2Read-back
What the Lean code literally says, in plain math · claude-haiku
Read-back: LL_Decomp349PrimeRiemann2.prc_closed_riemann
Source: LL_Decomp349PrimeRiemann2.prc_closed_riemann, a Lean 4 theorem that imports Mathlib and two Definitions files (Def_LL_Decomp349PrimeRiemann2_prcMertens and Def_LL_Decomp349PrimeRiemann2_prcClosed). Those two definitions are not in the supplied Lean text, so they are discussed below only as far as their names and usage reveal.
What the item asserts
Fix real numbers and , real functions and of one real variable, and a real function of a pair of real variables. Let be the region of the plane .
Hypotheses (in the order given):
- : .
- : .
- : .
- : is continuous on .
- : is continuous on .
- : for every .
- : for every .
- : for every .
- : is continuous on . Nothing is assumed about off .
- : for every pair of reals with , the sequence , indexed by natural numbers , tends to as .
There are no further implicit binders. The open Classical line adds no hypotheses.
Conclusion. Let denote the finite set . For each element of , the summand is divided by . The theorem states that the sum over of these summands, as tends to infinity through the naturals, converges to
The elements are cast to reals, so they are natural numbers (or a type that casts to them). Their exact type is not shown.
Definitions not visible in the text
- : from its name and its use in , this is presumably the reciprocal prime sum over primes with , of . If so, is Mertens' second theorem, which is true.
- : presumably the finite set of prime pairs with in and in , where . The word "closed" suggests closed windows. None of this is confirmed by the Lean text.
Junk values and edge cases
- In Lean, , so for and the scaled coordinates divide by zero and the summand is junk (Lean sets ). Only finitely many are affected, so the limit is unchanged.
- If contained a pair with a zero coordinate, would be junk. This does not occur if the elements are primes, which is presumed but not shown.
- On the region , because , and . So is an honest value wherever the integrand is sampled.
- The interval integrals are oriented, but and hold, so no sign reversal occurs.
- Values of , , and outside or do not enter the conclusion, except through if that definition admits pairs whose scaled coordinates fall outside .
- The proof is
sorry. Only the statement is read back here.
Plausibility and non-vacuity
- The hypotheses are satisfiable. For example, , , , , and satisfy every condition, provided holds for the presumed .
- is compact, since and are continuous on the compact interval and lies in in the coordinate. So is bounded on , and the inner integral is a continuous function of . The iterated integral is therefore well defined.
- Heuristic check: by Mertens' theorem, the reciprocal prime sum over a window is about . Applying this to both coordinates gives density in the plane, which matches the integrand in the conclusion. The stated limit is therefore the expected one, assuming sums over prime pairs in the stated region.
Mismatch risks
- Main risk: undefined sum range. is not in the supplied text. If the pairs ranged over all naturals rather than primes, the weighted sums would grow like powers of and the conclusion would be false. The statement's correctness depends on this definition.
- Window mismatch. The limit uses the scaled coordinates . If uses windows different from and , the limit changes. Boundary strictness does not matter in the limit, but a different window does.
- Strong universal hypothesis. quantifies over all . If differs from the prime reciprocal sum (for example, a missing weight or a different prime range), may be false, and the theorem would then be vacuous.
- Off-region values. is only assumed continuous on . If includes pairs outside , the sum picks up unconstrained values of .
VERDICT ISSUE: prcClosed and prcMertens are imported from Definitions files that are not supplied, so the prime-pair sum range, the scaled window, and the Mertens hypothesis hM cannot be verified from the Lean text.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.