Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Explicit half-cross-ratio continuation and negative derivative

Open
QAlgorithms.Papers.Independent.Intakenext100.P23.half_cross_ratio_continuation

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

For n>0n>0n>0 define

hn(t)=e−tt(et(et/2−1−n(et/(2n)−1))(et−1)(et/(2n)−1)+1−n4),D(n)=n−12log⁡π−2∫0∞hn(t) dt.h_n(t)=\frac{e^{-t}}t\left(\frac{e^t(e^{t/2}-1-n(e^{t/(2n)}-1))}{(e^t-1)(e^{t/(2n)}-1)}+\frac{1-n}{4}\right),\quad D(n)=\frac{n-1}{2}\log\pi-2\int_0^\infty h_n(t)\,dt.hn​(t)=te−t​((et−1)(et/(2n)−1)et(et/2−1−n(et/(2n)−1))​+41−n​),D(n)=2n−1​logπ−2∫0∞​hn​(t)dt.

The combined integrand is integrable. At each positive integer nnn, D(n)=∑k=1n−1log⁡2F1(k/n,1−k/n;1;1/2)D(n)=\sum_{k=1}^{n-1}\log{}_2F_1(k/n,1-k/n;1;1/2)D(n)=∑k=1n−1​log2​F1​(k/n,1−k/n;1;1/2). If j(t)=e−t2te3t/2(2t−5)+5et+et/2−1(et−1)(et/2−1)j(t)=\frac{e^{-t}}{2t}\frac{e^{3t/2}(2t-5)+5e^t+e^{t/2}-1}{(e^t-1)(e^{t/2}-1)}j(t)=2te−t​(et−1)(et/2−1)e3t/2(2t−5)+5et+et/2−1​, then jjj is integrable and

−D′(1)=−12log⁡π+∫0∞j(t) dt=12(−1−γE+log⁡π).-D'(1)=-\tfrac12\log\pi+\int_0^\infty j(t)\,dt=\tfrac12(-1-\gamma_E+\log\pi).−D′(1)=−21​logπ+∫0∞​j(t)dt=21​(−1−γE​+logπ).

The derivative exists, and its negative is the source's D1′(1/2)D'_1(1/2)D1′​(1/2). This concrete continuation needs no general replica-continuation uniqueness assertion; logarithms are natural.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P23
Formal statement
noncomputable section

open scoped BigOperators Topology

open Filter Set MeasureTheory

namespace QAlgorithms.Papers.Independent.Intakenext100.P23

/-- Source pp.29--30, (D.5)--(D.7): a concrete positive-real-n continuation
at x=1/2, its agreement with integer data, and its negative derivative.
The source defines D1prime as MINUS the derivative in (78). -/
theorem half_cross_ratio_continuation :
    (∀ n : ℝ, 0 < n → IntegrableOn (halfDIntegrand n) (Ioi 0)) ∧
    (∀ n : ℕ, 1 ≤ n → halfDContinuation (n : ℝ) =
      ∑ k : Fin (n - 1), Real.log
        (hypergeometricF (((k.val + 1 : ℕ) : ℝ) / (n : ℝ)) (1 / 2))) ∧
    HasDerivAt halfDContinuation ((1 + Real.eulerMascheroniConstant - Real.log Real.pi) / 2) 1 ∧
    IntegrableOn halfDNegativeIntegrand (Ioi 0) ∧
    -deriv halfDContinuation 1 =
      -Real.log Real.pi / 2 + ∫ t in Ioi (0 : ℝ), halfDNegativeIntegrand t ∧
    -deriv halfDContinuation 1 =
      (-1 - Real.eulerMascheroniConstant + Real.log Real.pi) / 2 := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P23

end
Source
Entanglement entropy of two disjoint intervals in conformal field theory, arXiv:0905.2069v2, PDF p. 30, Appendix D.1, Eqs. (D.5)–(D.7)
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For real r,tr,tr,t, define

J(r,t)=e−tt(et(et/2−1−r(et/(2r)−1))(et−1)(et/(2r)−1)+1−r4),D(r)=r−12log⁡π−2∫0∞J(r,t) dt,J(r,t)=\frac{e^{-t}}t \left( \frac{e^t\bigl(e^{t/2}-1-r(e^{t/(2r)}-1)\bigr)} {(e^t-1)(e^{t/(2r)}-1)} +\frac{1-r}4 \right), \quad D(r)=\frac{r-1}2\log\pi-2\int_0^\infty J(r,t)\,dt,J(r,t)=te−t​((et−1)(et/(2r)−1)et(et/2−1−r(et/(2r)−1))​+41−r​),D(r)=2r−1​logπ−2∫0∞​J(r,t)dt,

and

K(t)=e−t2te3t/2(2t−5)+5et+et/2−1(et−1)(et/2−1).K(t)=\frac{e^{-t}}{2t} \frac{e^{3t/2}(2t-5)+5e^t+e^{t/2}-1} {(e^t-1)(e^{t/2}-1)}.K(t)=2te−t​(et−1)(et/2−1)e3t/2(2t−5)+5et+et/2−1​.

Also define

F(y,u)=∑j=0∞∏a=0j−1(y+a)(1−y+a)(j!)2uj,F(y,u)=\sum_{j=0}^{\infty} \frac{\prod_{a=0}^{j-1}(y+a)(1-y+a)}{(j!)^2}u^j,F(y,u)=j=0∑∞​(j!)2∏a=0j−1​(y+a)(1−y+a)​uj,

with empty product one and with a nonsummable series assigned zero. The declaration asserts that t↦J(r,t)t\mapsto J(r,t)t↦J(r,t) is Lebesgue integrable on (0,∞)(0,\infty)(0,∞) for every real r>0r>0r>0; that for every natural number n≥1n\ge1n≥1,

D(n)=∑k=1n−1log⁡F(k/n,1/2);D(n)=\sum_{k=1}^{n-1}\log F(k/n,1/2);D(n)=k=1∑n−1​logF(k/n,1/2);

that DDD is differentiable at 111 with

D′(1)=1+γE−log⁡π2,D'(1)=\frac{1+\gamma_{\mathrm E}-\log\pi}{2},D′(1)=21+γE​−logπ​,

where γE\gamma_{\mathrm E}γE​ is the Euler–Mascheroni constant; that KKK is Lebesgue integrable on (0,∞)(0,\infty)(0,∞); and that

−D′(1)=−log⁡π2+∫0∞K(t) dt=−1−γE+log⁡π2.-D'(1)=-\frac{\log\pi}{2}+\int_0^\infty K(t)\,dt =\frac{-1-\gamma_{\mathrm E}+\log\pi}{2}.−D′(1)=−2logπ​+∫0∞​K(t)dt=2−1−γE​+logπ​.

The natural-number identity includes n=1n=1n=1, where its sum is empty and equals zero.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me