Physlib.Mathematics.Calculus.Wirtinger.Coordinate
Partial Wirtinger derivatives `∂_I`, `∂̄_I` in a complex coordinate basis on `ℂ^n`
Notation
The conventions of `Wirtinger.Basic` carry over verbatim, with the directional subscript `v` replaced by a coordinate index `I` (standing for the direction `Pi.single I 1`).
* `∂_I f` and `∂̄_I f` are the holomorphic and anti-holomorphic coordinate Wirtinger derivatives of `f` in the I-th coordinate direction `Pi.single I 1` — the bar sits on the operator, never on the subscript. They are the directional `∂_v f` / `∂̄_v f` of `Wirtinger.Basic` at `v = Pi.single I 1`. For iterated derivatives the operators compose, `∂_I ∂̄_J f`. * `z^I` is the I-th coordinate `u ↦ u^I`; `z̄^I = star z^I` is its pointwise conjugate (the `f̄` convention of `Wirtinger.Basic`). * `∂_x`, `∂_y` are the slot-I real and imaginary Fréchet derivatives, along the directions `Pi.single I 1` and `Pi.single I i`. * `δ_IJ` is the Kronecker delta.
i. Overview
Coordinate specialization of `Wirtinger.Basic` to `V = ℂ^n` (spelled `ι → ℂ`, `n = |ι|`, `ι` a `Fintype`), fixing the direction to the I-th basis vector `Pi.single I 1`:
`∂_I f := ∂_v f` at `v = Pi.single I 1` (`dWirtingerCoord`) `∂̄_I f := ∂̄_v f` at `v = Pi.single I 1` (`dWirtingerAntiCoord`)
`∂_I`, `∂̄_I` are the partial Wirtinger derivatives w.r.t. coordinate `I`, the other coordinates fixed. Coordinate values:
`∂_I z^J = δ_IJ`, `∂̄_I z̄^J = δ_IJ`, `∂̄_I z^J = ∂_I z̄^J = 0`.
The basis makes the directional calculus computational. The operators `dWirtingerCoord` / `dWirtingerAntiCoord` (§A, with real-Fréchet unfolding `(1/2)(∂_x ∓ i ∂_y)`) come with:
- independence: `∂_I` annihilates every `z̄` and `∂̄_I` every `z` (the coordinate values above), so `z` and `z̄` behave as independent variables; - additivity, `ℂ`-linearity, the Leibniz product rule, and the finite-sum rule (§B–C), so any polynomial in the coordinates and their conjugates differentiates termwise; - conjugation, swapping the two operators (§B–C): `∂_I f̄ = conj (∂̄_I f)` and `∂̄_I f̄ = conj (∂_I f)`; - holomorphic collapse (§B–C): for holomorphic `f`, `∂̄_I f = 0` and `∂_I f` is the ordinary complex partial `fderiv ℂ f u (Pi.single I 1)` (anti-holomorphic `f` dually); - the per-coordinate chain rule for an outer `g : ℂ → ℂ` (§D), collapsing to a single term `∂_I (g ∘ f) = deriv g (f u) · ∂_I f` on holomorphic `g` (and `∂̄_I` likewise); - the coordinate difference `z^J − z̄^J` (§C); - Schwarz's theorem `∂_I ∂̄_J f = ∂̄_J ∂_I f` on `C²` `f` (§E, `dWirtingerCoord_dWirtingerAntiCoord_comm`).
Indexing by `I` casts the calculus in the language of several complex variables. The first derivatives assemble into a gradient, the family of partials `∂_I f` ranging over the coordinates `I`; the critical points of a holomorphic `h` are then where `∂_I h = 0` for every `I`. The mixed second derivatives assemble into a complex Hessian, the matrix with entries `∂_I ∂̄_J f` indexed by the pair `(I, J)`; for a real function `Φ` the entries `∂_I ∂̄_J Φ` record its second-order behaviour.
That Hessian is Hermitian, by Schwarz (§E). For a real `K`, write the Kähler metric `g_{IJ̄} = ∂_I ∂̄_J K`; conjugation gives `star (g_{JĪ}) = ∂̄_J ∂_I K`, which Schwarz equates with `∂_I ∂̄_J K`, so `g_{IJ̄} = star (g_{JĪ})`. That is Kähler-metric hermiticity.
The coordinate maps are Mathlib primitives — `z^I` is `ContinuousLinearMap.proj`, `z̄^I` its `star` — and the holomorphic collapse reads `fderiv ℝ f = fderiv ℂ f` off the `restrictScalars` bridge (§B).
Differentiability convention: hypothesis-bearing rules are pointwise (at `u`, `DifferentiableAt`), valid on a proper subdomain (e.g. a slit-domain log Kähler potential); `funext` locally for a function-level form. Hypothesis-free constant and coordinate facts are function equalities.
ii. Key results
- `Physlib.Wirtinger.dWirtingerCoord` / `dWirtingerAntiCoord` : the coordinate Wirtinger operators, definitionally the directional operators along `Pi.single I 1`; their real-Fréchet form `dWirtingerCoord_apply` / `dWirtingerAntiCoord_apply` is `∂_I f = (1/2)(∂_x ∓ i ∂_y) f`. - `Physlib.Wirtinger.dWirtingerCoord_coordProj` / `dWirtingerAntiCoord_coordProj` / `dWirtingerCoord_conjCoord` / `dWirtingerAntiCoord_conjCoord` : the four Kronecker coordinate values `∂_I z^J = δ_IJ`, `∂̄_I z̄^J = δ_IJ`, `∂̄_I z^J = ∂_I z̄^J = 0`. - `Physlib.Wirtinger.dWirtingerCoord_add_apply` / `dWirtingerCoord_smul_apply` / `dWirtingerCoord_mul_apply` / `dWirtingerCoord_fun_sum_apply` : additivity, `ℂ`-linearity, the Leibniz rule, and the finite-sum rule (with anti-holomorphic duals). - `Physlib.Wirtinger.dWirtingerCoord_star_comp_apply` / `dWirtingerAntiCoord_star_comp_apply` : conjugating the inner field swaps the two operators, `∂_I f̄ = conj (∂̄_I f)`. - `Physlib.Wirtinger.dWirtingerCoord_eq_complex_fderiv_apply` / `dWirtingerAntiCoord_eq_zero_of_holomorphic_apply` : holomorphic collapse for the coordinate operators (with anti-holomorphic duals). - `Physlib.Wirtinger.dWirtingerCoord_comp_apply` / `dWirtingerCoord_comp_holomorphic_apply` (and their anti-holomorphic duals): the two-term Wirtinger chain rule for an outer `g : ℂ → ℂ`, collapsing to the single-term `deriv g (f u) · ∂_I f` for holomorphic `g`. - `Physlib.Wirtinger.dWirtingerCoord_coordDiff` / `dWirtingerAntiCoord_coordDiff` : Wirtinger derivatives of the coordinate difference `z^J − z̄^J`. - `Physlib.Wirtinger.differentiableAt_dWirtingerCoord` / `differentiableAt_dWirtingerAntiCoord` : a first coordinate Wirtinger derivative of a `C²` function is itself real-differentiable (§E). - `Physlib.Wirtinger.dWirtingerCoord_dWirtingerAntiCoord_comm` : Schwarz's theorem for the coordinate operators, `∂_I ∂̄_J f = ∂̄_J ∂_I f` on `C²` `f`.
iii. Table of contents
- A. The coordinate Wirtinger operators
- B. Properties of `dWirtingerCoord`
- C. Properties of `dWirtingerAntiCoord`
- D. Wirtinger chain rules for an outer function
- E. Schwarz's theorem for the coordinate operators
A. The coordinate Wirtinger operators
The two coordinate Wirtinger operators are the directional Wirtinger derivatives of `Wirtinger.Basic` along the I-th coordinate direction `Pi.single I 1`:
dWirtingerCoord f I = (1/2) · (∂_x − i · ∂_y) f dWirtingerAntiCoord f I = (1/2) · (∂_x + i · ∂_y) f
where `∂_x` and `∂_y` are the real Fréchet derivatives of `f` along the slot-I real and imaginary coordinate directions `Pi.single I 1` and `Pi.single I Complex.I` (the latter is `Complex.I • Pi.single I 1`). The sign on the imaginary-direction term is the only difference, making the two operators dual on (anti)holomorphic functions (§B, §C).
Each `∂_I` is thus a 1-D directional derivative taken along the standard basis vector `Pi.single I 1` — the whole calculus is the one-variable theory applied direction by direction. The coordinates decouple (`∂_I z^J = δ_IJ`, §B) because the coordinate functionals `z^J` are the dual basis to the standard basis: `z^J (Pi.single I 1) = δ_IJ`.
B. Properties of `dWirtingerCoord`
Each rule is the `d = Pi.single I 1` specialisation of its `Wirtinger` foundation analogue. Rules carrying a differentiability hypothesis are stated **pointwise** (at `u`, hypothesis `DifferentiableAt`) — the weakest form, and the one to reach for on a function differentiable only on a proper domain; a consumer wanting a function-level equation `funext`s locally. The hypothesis-free constant and coordinate facts are stated as function equalities — the constant and holomorphic-coordinate ones (`dWirtingerCoord_const`, `dWirtingerCoord_coordProj`) `@[simp]`.
The holomorphic collapse `∂_I f = fderiv ℂ f` for holomorphic `f` below (with the dual `∂̄_I f = 0` in §C) needs the *real* derivative `fderiv ℝ f u` to be `ℂ`-linear. For holomorphic `f`, `fderiv ℝ f u` is the `ℂ`-linear `fderiv ℂ f u` with scalars restricted to `ℝ`, `fderiv ℝ f u = (fderiv ℂ f u).restrictScalars ℝ` (`HasFDerivAt.restrictScalars`). Restricting scalars drops the `ℂ`-linear *bundling*, not the behaviour: the map still commutes with `i`, `fderiv ℝ f u (i • d) = i • fderiv ℝ f u d` — the `ℂ`-linearity the collapse consumes. `clinear_of_holomorphic` packages this, via `DifferentiableAt.fderiv_restrictScalars` and `ContinuousLinearMap.coe_restrictScalars'`; `DifferentiableAt.restrictScalars` supplies the `ℝ`-differentiability.
C. Properties of `dWirtingerAntiCoord`
This section is the `dWirtingerAntiCoord` mirror of §B: every rule with `z` and `z̄` swapped (locality, constants, negation, additivity, scalar compatibility, Leibniz, the finite-sum rule), together with the holomorphic collapse `∂̄_I f = 0`.
It also collects the two *conjugate-coordinate* values, one per operator: `∂_I z̄^J = 0` (`dWirtingerCoord_conjCoord`) and `∂̄_I z̄^J = δ_IJ` (`dWirtingerAntiCoord_conjCoord`). Since `z̄^J = star z^J`, each is the conjugate of the corresponding value on the holomorphic coordinate `z^J`, read off through the foundation conjugation lemmas `dWirtingerDir_star_comp` / `dWirtingerAntiDir_star_comp` rather than recomputed.
Coordinate-difference Wirtinger derivatives
The Wirtinger derivatives of the coordinate difference `z^J − z̄^J = 2 i Im(u^J)`, the combination any function of the coordinates' imaginary parts differentiates against. Collected here for reuse: `∂_I (z^J − z̄^J) = δ_IJ` and `∂̄_I (z^J − z̄^J) = −δ_IJ`.
D. Wirtinger chain rules for an outer function
Composing with an outer `g : ℂ → ℂ` gives a **two-term** coordinate chain rule, the `d = Pi.single I 1` case of the foundation `dWirtingerDir_comp`:
`∂_I (g ∘ f) = (∂g/∂f) · ∂_I f + (∂g/∂f̄) · ∂_I f̄`.
A non-holomorphic `g` depends on both its argument and its conjugate, so both channels contribute: the holomorphic coefficient `∂g/∂f` and the anti-holomorphic `∂g/∂f̄`, each times the matching inner coordinate derivative — two terms where the complex-analytic rule has one. The outer `g` enters only through these two coefficients, the directional derivatives `dWirtingerDir g 1` and `dWirtingerAntiDir g 1` evaluated at `z = f u` (the image of `u` under the inner function, where the chain rule reads off `g`). They are the holomorphic and anti-holomorphic parts of `g`'s real Fréchet derivative: every `ℝ`-linear map `ℂ → ℂ` splits uniquely as `h ↦ a · h + b · star h`, and on `L = fderiv ℝ g z` the weights are `(a, b) = (∂g/∂f, ∂g/∂f̄)`.
For holomorphic `g` the anti-holomorphic coefficient `dWirtingerAntiDir g 1` vanishes and `dWirtingerDir g 1` collapses to `deriv g z`, leaving the single-term rule `∂_I (g ∘ f) = deriv g (f u) · ∂_I f` (`dWirtingerCoord_comp_holomorphic_apply`, with its `∂̄_I` dual). Both collapses are the same `restrictScalars` step as §B — the real derivative of a holomorphic `g : ℂ → ℂ` is `ℂ`-linear (`clinear_of_holomorphic` at `E = ℂ`).
E. Schwarz's theorem for the coordinate operators
Specialisations of the multivariable theory along `Pi.single I 1`: a first coordinate Wirtinger derivative is again real-differentiable, and **Schwarz's theorem** for the mixed second derivative on a `C²` function,
`∂_I ∂̄_J f = ∂̄_J ∂_I f` (`dWirtingerCoord_dWirtingerAntiCoord_comm`)
This commutation is Kähler-metric hermiticity: with `K` real, `g_{IJ̄} = ∂_I ∂̄_J K` and `star (g_{JĪ}) = ∂̄_J ∂_I K`.
37 declarations
Holomorphic partial Wirtinger derivative
For a function and a coordinate index , the **holomorphic partial Wirtinger derivative** is the function that maps each point to the holomorphic directional Wirtinger derivative of in the direction of the -th standard basis vector (where is the vector with at index and elsewhere). At a point , this is defined as: where denotes the real Fréchet derivative of at in the direction .
Anti-holomorphic partial Wirtinger derivative
For a function and a coordinate index , the anti-holomorphic partial Wirtinger derivative is the function from to defined at each point by: where is the real Fréchet derivative of at and is the -th standard basis vector (represented as `Pi.single I 1`).
Real-Fréchet expansion of
For a function , a point , and a coordinate index , the holomorphic partial Wirtinger derivative is expressed in terms of the real Fréchet derivative as: where is the -th standard basis vector (the vector with at index and elsewhere) and is the imaginary unit.
Real Fréchet Expansion of
For a function and a point , the anti-holomorphic partial Wirtinger derivative with respect to the -th coordinate, denoted , is given by the formula: where is the real Fréchet derivative of at , is the -th standard basis vector (the vector with at index and elsewhere), and is the imaginary unit.
Locality of the Holomorphic Partial Wirtinger Derivative
Let be functions and be a point. If and coincide on a neighborhood of (i.e., eventually at the filter of neighborhoods of ), then for any coordinate index , their holomorphic partial Wirtinger derivatives at are equal:
For any complex constant and any coordinate index , the holomorphic partial Wirtinger derivative of the constant function with respect to the -th coordinate is the zero function, denoted as .
Let be a function. For any point and any coordinate index , the holomorphic partial Wirtinger derivative of the negation of at satisfies:
For any indices , the holomorphic partial Wirtinger derivative of the -th coordinate projection function (defined by ) with respect to the -th coordinate direction is the constant function equal to the Kronecker delta : where if and if .
Let be functions and be a point. If and are real-differentiable at , then for any coordinate index , the holomorphic partial Wirtinger derivative of their sum satisfies: where denotes the holomorphic partial Wirtinger derivative with respect to the -th coordinate.
Let be a function that is real-differentiable at a point . For any complex scalar and any coordinate index , the holomorphic partial Wirtinger derivative satisfies where denotes the holomorphic partial Wirtinger derivative with respect to the -th coordinate.
Pointwise Leibniz Rule for the Holomorphic Partial Wirtinger Derivative
Let be functions. If and are real-differentiable at a point , then for any coordinate index , the holomorphic partial Wirtinger derivative of their product at satisfies the Leibniz rule: where denotes the holomorphic partial Wirtinger derivative `dWirtingerCoord`.
Let be an index set and be the space of complex coordinates. For any finite set and any family of functions from to , if each is real-differentiable at a point , then the holomorphic partial Wirtinger derivative with respect to the -th coordinate () satisfies the finite-sum rule at :
Equals the Complex Partial Derivative for Holomorphic
Let be a function and be a finite index set. If is complex-differentiable (holomorphic) at a point , then for any coordinate index , the holomorphic partial Wirtinger derivative is equal to the complex Fréchet derivative of at evaluated in the direction of the -th standard basis vector . That is, where is the vector in defined by .
for complex-differentiable
Let be a point and be a coordinate index. Suppose is a function that is complex-differentiable (holomorphic) at , where denotes the component-wise complex conjugate of . Then the holomorphic partial Wirtinger derivative of the anti-holomorphic function evaluated at the point is zero: where denotes the complex conjugation operator .
near
Let be an index set and be functions. If and are equal in a neighborhood of a point , then for any coordinate index , their anti-holomorphic partial Wirtinger derivatives at are equal:
For any complex constant and any coordinate index , the anti-holomorphic partial Wirtinger derivative of the constant function on is zero. In notation, .
Let be a function. For any point and coordinate index , the anti-holomorphic partial Wirtinger derivative of the negation of satisfies
For any coordinate indices , the anti-holomorphic partial Wirtinger derivative of the -th coordinate projection function (defined by ) with respect to the -th coordinate is zero:
For any indices , the holomorphic partial Wirtinger derivative of the conjugate coordinate function (defined by ) with respect to the -th coordinate is zero:
Let be a finite index set. For any indices , let be the function that maps a vector to the complex conjugate of its -th coordinate, . The anti-holomorphic partial Wirtinger derivative of with respect to the -th coordinate is the Kronecker delta : where is if and otherwise.
Additivity of the anti-holomorphic partial Wirtinger derivative:
Let be an index set and let be functions that are real-differentiable at a point . For any coordinate index , the anti-holomorphic partial Wirtinger derivative satisfies the following additivity property at :
Let be a finite indexing set and be a function. Suppose is real-differentiable at a point . For any complex scalar and any coordinate index , the anti-holomorphic partial Wirtinger derivative satisfies the following pointwise identity:
Let be functions and be a point. If and are real-differentiable at , then for any coordinate index , the anti-holomorphic partial Wirtinger derivative of their product at satisfies the Leibniz rule: where denotes the directional Wirtinger derivative along the -th standard basis vector .
Let be a finite set and be a collection of functions from to . For any point and coordinate index , if each is real-differentiable at , then the anti-holomorphic partial Wirtinger derivative of their sum is equal to the sum of their individual anti-holomorphic partial Wirtinger derivatives:
Let be a point and be a coordinate index. If the function is complex-differentiable at the pointwise complex conjugate , then the anti-holomorphic partial Wirtinger derivative of the function at is equal to the complex Fréchet derivative of at evaluated in the direction of the -th standard basis vector : where is the anti-holomorphic partial Wirtinger derivative, denotes pointwise complex conjugation, and is the basis vector with at index and elsewhere.
for holomorphic functions
Let be a function. If is complex-differentiable at a point , then its anti-holomorphic partial Wirtinger derivative with respect to the -th coordinate is zero at that point:
For any coordinate indices , let be the -th coordinate projection function and be its pointwise complex conjugate . The holomorphic partial Wirtinger derivative of their difference is given by the Kronecker delta : where if and otherwise.
For any coordinate indices , the anti-holomorphic partial Wirtinger derivative of the function mapping a vector to the difference between its -th coordinate and its conjugate is equal to the negative of the Kronecker delta: where if and otherwise.
Two-term Chain Rule for the Partial Wirtinger Derivative
Let and be functions. If is real-differentiable at a point and is real-differentiable at the point , then for any coordinate index , the holomorphic partial Wirtinger derivative of the composition at satisfies: where denotes the holomorphic partial Wirtinger derivative with respect to the -th coordinate, and are the one-variable holomorphic and anti-holomorphic Wirtinger derivatives of respectively, and denotes the pointwise complex conjugate of .
Chain rule for holomorphic
Let (represented as ) be a point and be a coordinate index. If is complex-differentiable at and is real-differentiable at , then the holomorphic partial Wirtinger derivative of the composition at satisfies: where denotes the holomorphic partial Wirtinger derivative and denotes the complex derivative of .
Let be a function that is real-differentiable at a point . For any coordinate index , the holomorphic partial Wirtinger derivative of the complex conjugate function (defined by ) evaluated at is equal to the complex conjugate of the anti-holomorphic partial Wirtinger derivative evaluated at :
Chain Rule for the Anti-holomorphic Partial Wirtinger Derivative
Let and be functions. If is real-differentiable at a point and is real-differentiable at , then for any coordinate index , the anti-holomorphic partial Wirtinger derivative of the composition at satisfies the chain rule: where is the anti-holomorphic partial Wirtinger derivative with respect to the -th coordinate, and are the holomorphic and anti-holomorphic directional Wirtinger derivatives of along the direction , and denotes the pointwise complex conjugate of .
Chain Rule for with Holomorphic Outer Function
Let be a function that is real-differentiable at , and let be a holomorphic function (complex-differentiable) at . For any coordinate index , the anti-holomorphic partial Wirtinger derivative of the composition at satisfies the single-term chain rule: where denotes the standard complex derivative of . This formula arises because the anti-holomorphic component of the derivative of the holomorphic function (often denoted ) vanishes, leaving only the holomorphic contribution.
Let be a function and be a coordinate index. If is real-differentiable at , then the anti-holomorphic partial Wirtinger derivative of the complex conjugate function at is the complex conjugate of the holomorphic partial Wirtinger derivative of at : where and denote the holomorphic and anti-holomorphic partial Wirtinger derivatives with respect to the -th coordinate, and the overline denotes complex conjugation.
If is , then is differentiable
Let be a function. If is twice continuously differentiable (of class ) at a point , then for any coordinate index , the holomorphic partial Wirtinger derivative is real-differentiable at .
functions have real-differentiable anti-holomorphic partial derivatives
Let be an index set and be a function. If is twice continuously differentiable () at a point with respect to the real numbers, then for any coordinate index , the anti-holomorphic partial Wirtinger derivative is real-differentiable at .
Schwarz's Theorem: for Functions
Let be a function and be a point. If is twice continuously differentiable () at over the real numbers , then for any coordinate indices , the holomorphic partial Wirtinger derivative and the anti-holomorphic partial Wirtinger derivative commute at : Here, and represent the partial Wirtinger derivatives along the -th and -th standard basis vectors of , respectively.
