The classical and generalized Chazy equations
DefinitionSDYM_ChazyEquationsTwo predicates describing what it means for a complex-valued function of a complex variable to solve the Chazy equation on a prescribed set.
The classical Chazy equation (eq. (71) of the source) is the third-order equation
Rather than iterating a derivative operator, the first two derivatives are carried as explicit companion functions: plays the role of and the role of , and the predicate asserts that has derivative , that has derivative , and that has derivative , at every point of the set. This convention keeps every derivative that the statement mentions an actual derivative, and imposes no regularity off the set.
The generalized Chazy equation with parameter (eq. (81)) is
of which the classical equation is the case . The parameter ranges over the complex numbers; statements that use this predicate carry the hypothesis .
import Mathlib
namespace SDYM
/-- The classical Chazy equation, Ablowitz–Chakravarty–Halburd eq. (71):
`y''' = 2 y y'' - 3 (y')^2`, on a set `s` of the complex `t`-plane.
The predicate carries the first two derivatives of `y` as explicit data: `y₁` is `dy/dt`,
`y₂` is `d²y/dt²`, and the third equation is the Chazy equation itself. -/
def IsChazySolution (s : Set ℂ) (y y₁ y₂ : ℂ → ℂ) : Prop :=
(∀ t ∈ s, HasDerivAt y (y₁ t) t) ∧
(∀ t ∈ s, HasDerivAt y₁ (y₂ t) t) ∧
(∀ t ∈ s, HasDerivAt y₂ (2 * y t * y₂ t - 3 * y₁ t ^ 2) t)
/-- The generalized Chazy equation with parameter `n`,
Ablowitz–Chakravarty–Halburd eq. (81):
`y''' - 2 y y'' + 3 (y')^2 = 4 / (36 - n^2) * (6 y' - y^2)^2`.
As in `IsChazySolution`, `y₁` is `dy/dt` and `y₂` is `d²y/dt²`. The classical Chazy
equation (71) is the limiting case `n = ∞`. -/
def IsGeneralizedChazySolution (n : ℂ) (s : Set ℂ) (y y₁ y₂ : ℂ → ℂ) : Prop :=
(∀ t ∈ s, HasDerivAt y (y₁ t) t) ∧
(∀ t ∈ s, HasDerivAt y₁ (y₂ t) t) ∧
(∀ t ∈ s, HasDerivAt y₂
(2 * y t * y₂ t - 3 * y₁ t ^ 2 + 4 / (36 - n ^ 2) * (6 * y₁ t - y t ^ 2) ^ 2) t)
end SDYM
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.
This bundle introduces two predicates, both living in a namespace SDYM, and both phrased over the complex numbers.
First predicate. It takes a set of complex numbers and four functions from to , and asserts the conjunction of three conditions:
- for every , the function is differentiable at with derivative equal to ;
- for every , the function is differentiable at with derivative equal to ;
- for every , the function is differentiable at with derivative equal to .
Differentiability here is complex differentiability at the single point , in the full complex plane — not differentiability relative to . Nothing whatsoever is asserted about , or at points outside , and nothing is assumed about : it may be empty (in which case all three conditions hold vacuously and the predicate is satisfied by any three functions), a single point, a discrete set, or all of . The functions and are free arguments: the predicate does not define them as derivatives, it asserts that they are, at the points of . Consequently their values off are unconstrained.
Second predicate. It takes in addition a complex number , and the same set and functions . Its first two conditions are identical to those above. Its third condition is that for every , the function is differentiable at with derivative
The quotient is an unguarded division: no hypothesis excludes . For those two values of the division is by zero, which in this setting evaluates to , so the predicate then silently reduces to the first predicate rather than being ill-formed or false. Note also that enters only through , so the predicate cannot distinguish from .
Neither predicate asserts existence of anything, continuity, holomorphy, or any relation between and the topology of .