AFTD Auto-Formalizing Theoretical Domains

Physlib.Wirtinger.fderiv_star_eq

theoremverifiedformalizationimported Lean

Differentiation commutes with conjugation: the real Fréchet derivative of the pointwise conjugate p ↦ star (f p) is conjCLE (conjugation on ℂ) composed with fderiv ℝ f u; in physicists' notation, d f̄ = conj(d f). Conjugation is ℝ-linear, so it slides through the real derivative unchanged, whereas it does *not* commute with the holomorphic Wirtinger derivative ∂_v. The star conjugates the *output* f p, so this is not a derivative in a conjugate variable. This is the analytic core of the conjugation lemmas below (dWirtingerDir_star_comp and its dual): distributed over the Wirtinger split of fderiv ℝ f u (realLinear_apply_eq_wirtinger, §D), the outer conjCLE conjugates the two coefficients and swaps the holomorphic and anti-holomorphic parts.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]
  {f : V → ℂ} {u : V} in
lemma Physlib.Wirtinger.fderiv_star_eq {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    {f : E → ℂ} {u : E} (hf : DifferentiableAt ℝ f u) :
    fderiv ℝ (fun p : E => star (f p)) u =
      Complex.conjCLE.toContinuousLinearMap.comp (fderiv ℝ f u)
Formalizes
Physlib, `Physlib.Wirtinger.fderiv_star_eq`
Lean proof
By Andrea Pari, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Andrea Pari. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
09 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 4

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]
  {f : V → ℂ} {u : V} in
/-- Differentiation commutes with conjugation: the real Fréchet derivative of the pointwise conjugate `p ↦ star (f p)` is `conjCLE` (conjugation on `ℂ`) composed with `fderiv ℝ f u`; in physicists' notation, `d f̄ = conj(d f)`. Conjugation is `ℝ`-linear, so it slides through the real derivative unchanged, whereas it does *not* commute with the holomorphic Wirtinger derivative `∂_v`. The `star` conjugates the *output* `f p`, so this is not a derivative in a conjugate variable. This is the analytic core of the conjugation lemmas below (`dWirtingerDir_star_comp` and its dual): distributed over the Wirtinger split of `fderiv ℝ f u` (`realLinear_apply_eq_wirtinger`, §D), the outer `conjCLE` conjugates the two coefficients and swaps the holomorphic and anti-holomorphic parts. -/
lemma Physlib.Wirtinger.fderiv_star_eq {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    {f : E → ℂ} {u : E} (hf : DifferentiableAt ℝ f u) :
    fderiv ℝ (fun p : E => star (f p)) u =
      Complex.conjCLE.toContinuousLinearMap.comp (fderiv ℝ f u) :=
  (Complex.conjCLE.toContinuousLinearMap.hasFDerivAt.comp u hf.hasFDerivAt).fderiv
See it in the graphDiscuss this resultChallenge it