Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Erler–Gross midpoint identity: Neumann constants AkA_kAk​, m2nm_{2n}m2n​, βk\beta_kβk​, (B.3) terms, κ\kappaκ-integrand

Definition
ErlerGross_defs

by LG · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

mathematical-physicsneumann-coefficientsstring-field-theory

Definitions for the midpoint identity (A.8) of Erler–Gross (hep-th/0406199).

  • AkA_kAk​ (neumannA): the constants defined by the expansion
(1+iz1−iz)1/3=exp⁡(2i3tan⁡−1z)=1+∑n≥1A2nz2n+i∑n≥1A2n−1z2n−1.\left(\frac{1+iz}{1-iz}\right)^{1/3}=\exp\left(\tfrac{2i}{3}\tan^{-1}z\right)=1+\sum_{n\ge1}A_{2n}z^{2n}+i\sum_{n\ge1}A_{2n-1}z^{2n-1}.(1−iz1+iz​)1/3=exp(32i​tan−1z)=1+n≥1∑​A2n​z2n+in≥1∑​A2n−1​z2n−1.

For real zzz the left side is cos⁡(23arctan⁡z)+isin⁡(23arctan⁡z)\cos(\tfrac23\arctan z)+i\sin(\tfrac23\arctan z)cos(32​arctanz)+isin(32​arctanz), so AkA_kAk​ is the kkk-th Taylor coefficient at 000 of cos⁡(23arctan⁡z)\cos(\tfrac23\arctan z)cos(32​arctanz) for even kkk and of sin⁡(23arctan⁡z)\sin(\tfrac23\arctan z)sin(32​arctanz) for odd kkk (written as f(k)(0)/k!f^{(k)}(0)/k!f(k)(0)/k!).

  • m2nm_{2n}m2n​ (neumannMEven n): m2n=−23 A2n/2nm_{2n}=-\tfrac23\,A_{2n}/\sqrt{2n}m2n​=−32​A2n​/2n​ (Appendix B, p. 44; the source's left side m2mm_{2m}m2m​ is a typo for m2nm_{2n}m2n​).
  • βk\beta_kβk​ (betaVec k): βk=cos⁡(kπ/2)/k\beta_k=\cos(k\pi/2)/\sqrt{k}βk​=cos(kπ/2)/k​ (Appendix A, below eq. A.1), used for k≥1k\ge1k≥1.
  • (B.3) term (b3Term n): 22n−1−12n−2/3−12n−4/3\frac{2}{2n-1}-\frac{1}{2n-2/3}-\frac{1}{2n-4/3}2n−12​−2n−2/31​−2n−4/31​, used for n≥1n\ge1n≥1.
  • κ\kappaκ-integrand (kappaIntegrand): 1−cosh⁡(πκ/2)1+2cosh⁡(πκ/2)⋅12κsinh⁡(πκ/2)\frac{1-\cosh(\pi\kappa/2)}{1+2\cosh(\pi\kappa/2)}\cdot\frac{1}{2\kappa\sinh(\pi\kappa/2)}1+2cosh(πκ/2)1−cosh(πκ/2)​⋅2κsinh(πκ/2)1​ (Appendix B, p. 45); its value at the removable point κ=0\kappa=0κ=0 is Lean's junk value 000, irrelevant for the integral.
Definition code
import Mathlib

/-!
# Erler–Gross (hep-th/0406199): definitions for the midpoint identity (A.8)

Definitions used by the statements in `RequestProject/ErlerGross/Statements.lean`.
Source: T. G. Erler, D. J. Gross, *Locality, Causality, and an Initial Value Formulation
for Open String Field Theory*, arXiv:hep-th/0406199v2, Appendix A (eqs. A.2, A.5, A.8)
and Appendix B.
-/

namespace ErlerGross

open Real

/-- The constants `A_k` of Appendix B, defined through the expansion
`((1 + i z)/(1 - i z))^{1/3} = exp((2i/3) arctan z) = 1 + ∑ A_{2n} z^{2n} + i ∑ A_{2n-1} z^{2n-1}`.
For real `z` the left side equals `cos((2/3) arctan z) + i sin((2/3) arctan z)`, so `A_k` is the
`k`-th Taylor coefficient at `0` of `cos((2/3) arctan z)` when `k` is even and of
`sin((2/3) arctan z)` when `k` is odd. (In particular `A_0 = 1`.) -/
noncomputable def neumannA (k : ℕ) : ℝ :=
  if Even k then
    iteratedDeriv k (fun x : ℝ => Real.cos (2 / 3 * Real.arctan x)) 0 / (k.factorial : ℝ)
  else
    iteratedDeriv k (fun x : ℝ => Real.sin (2 / 3 * Real.arctan x)) 0 / (k.factorial : ℝ)

/-- The even-mode Neumann vector `m_{2n} = -(2/3) A_{2n} / √(2n)` (Appendix B, p. 44; the
source prints the left side as `m_{2m}`, a typo for `m_{2n}`). The argument `n` is the
half-mode number, i.e. `neumannMEven n = m_{2n}`; only `n ≥ 1` is used. -/
noncomputable def neumannMEven (n : ℕ) : ℝ :=
  -(2 / 3) * neumannA (2 * n) / Real.sqrt (2 * n)

/-- The vector `β_k = cos(kπ/2)/√k` (Appendix A, below eq. A.1). Only `k ≥ 1` is used; at
`k = 0` Lean's convention `x / 0 = 0` gives the unused junk value `0`. -/
noncomputable def betaVec (k : ℕ) : ℝ :=
  Real.cos (k * π / 2) / Real.sqrt k

/-- The `n`-th term (`n ≥ 1`) of the series in eq. (B.3):
`2/(2n-1) - 1/(2n - 2/3) - 1/(2n - 4/3)`. -/
noncomputable def b3Term (n : ℕ) : ℝ :=
  2 / (2 * n - 1) - 1 / (2 * n - 2 / 3) - 1 / (2 * n - 4 / 3)

/-- The integrand of the `κ`-basis representation of `∑ 3 m_{2n} β_{2n}` (Appendix B, p. 45):
`(1 - cosh(πκ/2)) / (1 + 2 cosh(πκ/2)) · 1 / (2κ sinh(πκ/2))`. The integrand extends smoothly
to `κ = 0`; at that single point Lean's convention `x / 0 = 0` gives the value `0`, which does
not affect the integral. -/
noncomputable def kappaIntegrand (κ : ℝ) : ℝ :=
  (1 - Real.cosh (π * κ / 2)) / (1 + 2 * Real.cosh (π * κ / 2)) *
    (1 / (2 * κ * Real.sinh (π * κ / 2)))

end ErlerGross
Source
T. G. Erler and D. J. Gross, Locality, Causality, and an Initial Value Formulation for Open String Field Theory, arXiv:hep-th/0406199v2 (2004), https://arxiv.org/abs/hep-th/0406199; Appendix A (below eq. A.1, eq. A.8), Appendix B pp. 44-46 (formula for m2nm_{2n}m2n​, expansion defining AnA_nAn​, eq. B.3)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, at the user's explicit request. It was not produced by a blind, independent auditor, and the author knew the intended meaning while writing it. Do not treat it as an independent audit; compare it against the Lean code and the source yourself.

The bundle opens the namespace ErlerGross, imports all of Mathlib, and defines five real-valued functions (it states no theorems).

  1. AkA_kAk​ (neumannA k), for k∈Nk\in\mathbb Nk∈N: if kkk is even, Ak=1k! dkdxkcos⁡(23arctan⁡x)∣x=0A_k=\frac{1}{k!}\,\frac{d^k}{dx^k}\cos\left(\tfrac23\arctan x\right)\Big|_{x=0}Ak​=k!1​dxkdk​cos(32​arctanx)​x=0​; if kkk is odd, Ak=1k! dkdxksin⁡(23arctan⁡x)∣x=0A_k=\frac{1}{k!}\,\frac{d^k}{dx^k}\sin\left(\tfrac23\arctan x\right)\Big|_{x=0}Ak​=k!1​dxkdk​sin(32​arctanx)​x=0​. Derivatives are iterated real derivatives of functions R→R\mathbb R\to\mathbb RR→R (both functions are smooth, so no junk values arise). In particular A0=1A_0=1A0​=1.

  2. m2nm_{2n}m2n​ (neumannMEven n), for n∈Nn\in\mathbb Nn∈N: m2n=−23 A2n/2nm_{2n}=-\frac23\,A_{2n}/\sqrt{2n}m2n​=−32​A2n​/2n​, with real square root; for n=0n=0n=0 this is 000 (division by 0=0\sqrt0=00​=0 gives 000).

  3. βk\beta_kβk​ (betaVec k), for k∈Nk\in\mathbb Nk∈N: βk=cos⁡(kπ/2)/k\beta_k=\cos(k\pi/2)/\sqrt kβk​=cos(kπ/2)/k​; for k=0k=0k=0 the value is 000 by the division-by-zero convention.

  4. bnb_nbn​ (b3Term n), for n∈Nn\in\mathbb Nn∈N: bn=22n−1−12n−2/3−12n−4/3b_n=\frac{2}{2n-1}-\frac{1}{2n-2/3}-\frac{1}{2n-4/3}bn​=2n−12​−2n−2/31​−2n−4/31​ computed in R\mathbb RR (no denominator vanishes for natural nnn).

  5. g(κ)g(\kappa)g(κ) (kappaIntegrand κ), for κ∈R\kappa\in\mathbb Rκ∈R: g(κ)=1−cosh⁡(πκ/2)1+2cosh⁡(πκ/2)⋅12κsinh⁡(πκ/2)g(\kappa)=\frac{1-\cosh(\pi\kappa/2)}{1+2\cosh(\pi\kappa/2)}\cdot\frac{1}{2\kappa\sinh(\pi\kappa/2)}g(κ)=1+2cosh(πκ/2)1−cosh(πκ/2)​⋅2κsinh(πκ/2)1​; at κ=0\kappa=0κ=0 the second factor is 1/0=01/0=01/0=0, so g(0)=0g(0)=0g(0)=0.

Human review
  • Endorsed by Shuze Chen · Sep 26, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 26, 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