Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chazy–Ramanujan correspondence: y(t)=iπP(e2πit)y(t)=i\pi P(e^{2\pi i t})y(t)=iπP(e2πit) solves the Chazy equation

Proved
SDYM.chazy_of_ramanujan

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

differential-equationsintegrable-systemsmathematical-physicsmodular-forms

Goal theorem of the mission. Ramanujan proved in 1916 that the three series

P(q)=1−24∑n≥1σ1(n)qn,Q(q)=1+240∑n≥1σ3(n)qn,R(q)=1−504∑n≥1σ5(n)qnP(q) = 1 - 24\sum_{n\ge1}\sigma_1(n)q^n,\qquad Q(q) = 1 + 240\sum_{n\ge1}\sigma_3(n)q^n,\qquad R(q) = 1 - 504\sum_{n\ge1}\sigma_5(n)q^nP(q)=1−24n≥1∑​σ1​(n)qn,Q(q)=1+240n≥1∑​σ3​(n)qn,R(q)=1−504n≥1∑​σ5​(n)qn

satisfy the differential system

qdPdq=P2−Q12,qdQdq=PQ−R3,qdRdq=PR−Q22.q\frac{dP}{dq} = \frac{P^2-Q}{12},\qquad q\frac{dQ}{dq} = \frac{PQ-R}{3},\qquad q\frac{dR}{dq} = \frac{PR-Q^2}{2}.qdqdP​=12P2−Q​,qdqdQ​=3PQ−R​,qdqdR​=2PR−Q2​.

Chazy had written down, seven years earlier, the third-order equation

d3ydt3=2yd2ydt2−3(dydt)2.\frac{d^3y}{dt^3} = 2y\frac{d^2y}{dt^2} - 3\left(\frac{dy}{dt}\right)^2 .dt3d3y​=2ydt2d2y​−3(dtdy​)2.

The theorem is the correspondence between the two, which is the historical observation the source paper makes: whenever P,Q,RP, Q, RP,Q,R satisfy Ramanujan's system on a region UUU of the qqq-plane, the function

y(t):=iπ P ⁣(e2πit)y(t) := i\pi\,P\!\left(e^{2\pi i t}\right)y(t):=iπP(e2πit)

satisfies Chazy's equation on the set of ttt with e2πit∈Ue^{2\pi i t} \in Ue2πit∈U. Applied to Ramanujan's own solution, for which P=E2P = E_2P=E2​, this exhibits y(t)=iπE2(t)y(t) = i\pi E_2(t)y(t)=iπE2​(t) as a solution of the Chazy equation and so connects the Chazy equation with the theory of modular forms; conversely, since the general solution of the Chazy equation is known in terms of hypergeometric functions, the general solution of Ramanujan's system follows.

The statement records the first two derivatives of yyy explicitly, as they come out of the elimination:

dydt=−π26(P2−Q),d2ydt2=−iπ318(P3−3PQ+2R),\frac{dy}{dt} = -\frac{\pi^2}{6}\left(P^2 - Q\right),\qquad \frac{d^2y}{dt^2} = -\frac{i\pi^3}{18}\left(P^3 - 3PQ + 2R\right),dtdy​=−6π2​(P2−Q),dt2d2y​=−18iπ3​(P3−3PQ+2R),

both evaluated at q=e2πitq = e^{2\pi i t}q=e2πit.

Conventions shared with the rest of the mission. All functions are complex-valued functions of a complex variable; a system is required to hold only at the points of an arbitrary set s⊆Cs \subseteq \mathbb{C}s⊆C, with no openness, connectedness or holomorphy assumed; and each derivative that a statement mentions is carried by an explicit companion function tied to it by a pointwise differentiability assertion, so no statement ever refers to the value of a derivative that does not exist.

Preamble
import Definitions.Def_SDYM_ChazyEquations
import Definitions.Def_SDYM_DarbouxHalphenRamanujan
Formal statement
namespace SDYM

theorem chazy_of_ramanujan
    (U : Set ℂ) (P Q R Pd Qd Rd : ℂ → ℂ)
    (h : IsRamanujanQSolution U P Q R Pd Qd Rd) :
    IsChazySolution {t : ℂ | Complex.exp (2 * (Real.pi : ℂ) * Complex.I * t) ∈ U}
      (fun t => Complex.I * (Real.pi : ℂ) *
        P (Complex.exp (2 * (Real.pi : ℂ) * Complex.I * t)))
      (fun t => -((Real.pi : ℂ) ^ 2 *
        (P (Complex.exp (2 * (Real.pi : ℂ) * Complex.I * t)) ^ 2
          - Q (Complex.exp (2 * (Real.pi : ℂ) * Complex.I * t))) / 6))
      (fun t => -(Complex.I * (Real.pi : ℂ) ^ 3 *
        (P (Complex.exp (2 * (Real.pi : ℂ) * Complex.I * t)) ^ 3
          - 3 * P (Complex.exp (2 * (Real.pi : ℂ) * Complex.I * t))
              * Q (Complex.exp (2 * (Real.pi : ℂ) * Complex.I * t))
          + 2 * R (Complex.exp (2 * (Real.pi : ℂ) * Complex.I * t))) / 18)) := by sorry

end SDYM
Source
M. J. Ablowitz, S. Chakravarty, R. G. Halburd, "Integrable systems and reductions of the self-dual Yang-Mills equations", J. Math. Phys. 44 (2003) 3147-3173, https://doi.org/10.1063/1.1586967, Sec. V.A pp. 3168-3170, Eq. (71) and Eq. (78); the correspondence is the paragraph beginning "Furthermore, there is another important correspondence between the Chazy equation and Ramanujan's work" on p. 3169 and its elimination on p. 3170
Read-back

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

Disclosure — non-blind read-back. This read-back was written by the same agent that drafted the Lean statement it describes, with full knowledge of the source paper and of the intended meaning. It is therefore not independent testimony and must not be mistaken for an audit: the point of a read-back is that a blind reader, given only the code, renders back what the code literally says, so that any gap between intent and code becomes visible. That safeguard is absent here. A reviewer should obtain a genuinely blind read-back before relying on this item.

Fix a set U⊆CU \subseteq \mathbb{C}U⊆C and six functions P,Q,R,Pd,Qd,Rd:C→CP, Q, R, P_d, Q_d, R_d : \mathbb{C} \to \mathbb{C}P,Q,R,Pd​,Qd​,Rd​:C→C. The hypothesis is that (P,Q,R)(P,Q,R)(P,Q,R) with derivative data (Pd,Qd,Rd)(P_d,Q_d,R_d)(Pd​,Qd​,Rd​) satisfies Ramanujan's qqq-system on UUU, which unfolds to: for every q∈Uq \in Uq∈U, each of P,Q,RP, Q, RP,Q,R is complex differentiable at qqq with derivatives Pd(q),Qd(q),Rd(q)P_d(q), Q_d(q), R_d(q)Pd​(q),Qd​(q),Rd​(q), and

q Pd(q)=112(P(q)2−Q(q)),q Qd(q)=13(P(q)Q(q)−R(q)),q Rd(q)=12(P(q)R(q)−Q(q)2).q\,P_d(q) = \tfrac{1}{12}\bigl(P(q)^2-Q(q)\bigr),\quad q\,Q_d(q) = \tfrac{1}{3}\bigl(P(q)Q(q)-R(q)\bigr),\quad q\,R_d(q) = \tfrac{1}{2}\bigl(P(q)R(q)-Q(q)^2\bigr).qPd​(q)=121​(P(q)2−Q(q)),qQd​(q)=31​(P(q)Q(q)−R(q)),qRd​(q)=21​(P(q)R(q)−Q(q)2).

Write E(t)=exp⁡(2πit)E(t) = \exp\bigl(2\pi i t\bigr)E(t)=exp(2πit), where π\piπ is the real circle constant cast into C\mathbb{C}C and iii is the imaginary unit. The conclusion asserts the Chazy predicate for the set

S={ t∈C:E(t)∈U }S = \{\,t \in \mathbb{C} : E(t) \in U\,\}S={t∈C:E(t)∈U}

and the three functions

y(t)=iπ P(E(t)),y1(t)=−π2(P(E(t))2−Q(E(t)))6,y(t) = i\pi\,P(E(t)),\qquad y_1(t) = -\frac{\pi^2\bigl(P(E(t))^2 - Q(E(t))\bigr)}{6},y(t)=iπP(E(t)),y1​(t)=−6π2(P(E(t))2−Q(E(t)))​, y2(t)=−iπ3(P(E(t))3−3P(E(t))Q(E(t))+2R(E(t)))18.y_2(t) = -\frac{i\pi^3\bigl(P(E(t))^3 - 3P(E(t))Q(E(t)) + 2R(E(t))\bigr)}{18}.y2​(t)=−18iπ3(P(E(t))3−3P(E(t))Q(E(t))+2R(E(t)))​.

Unfolded, the conclusion is: for every ttt with E(t)∈UE(t) \in UE(t)∈U, the function yyy is differentiable at ttt with derivative y1(t)y_1(t)y1​(t); the function y1y_1y1​ is differentiable at ttt with derivative y2(t)y_2(t)y2​(t); and the function y2y_2y2​ is differentiable at ttt with derivative 2y(t)y2(t)−3y1(t)22y(t)y_2(t) - 3y_1(t)^22y(t)y2​(t)−3y1​(t)2.

Points to note. The set UUU is completely arbitrary: it is not assumed open, nonempty, or to avoid the origin, and since exp⁡\expexp never vanishes, if U⊆{0}U \subseteq \{0\}U⊆{0} then SSS is empty and the conclusion holds vacuously. The exponent is 2πit2\pi i t2πit with the real π\piπ, so the change of variable is q=e2πitq = e^{2\pi i t}q=e2πit and not q=e2itq = e^{2i t}q=e2it. The three functions in the conclusion are given by closed formulas in P,Q,RP, Q, RP,Q,R composed with EEE; in particular the statement asserts, as part of the Chazy predicate, that these specific expressions are the successive derivatives of yyy — it does not merely say that some triple satisfies the Chazy predicate. Nothing is claimed about P,Q,RP, Q, RP,Q,R being series, Eisenstein series, or holomorphic anywhere; nothing is claimed off SSS.

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

    Confirmed by the moderator at approval.

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