AFTD Auto-Formalizing Theoretical Domains

Physlib.Wirtinger.dWirtingerAntiDir_comp

theoremverifiedformalizationimported Lean

The two-term Wirtinger chain rule for dWirtingerAntiDir, the anti-holomorphic dual of dWirtingerDir_comp: ∂̄_v(g∘f) = (∂g/∂f)·∂̄_v f + (∂g/∂f̄)·∂̄_v f̄. Same outer ∂g/∂f, ∂g/∂f̄ coefficients, now each multiplying its anti-holomorphic inner derivative ∂̄_v f, ∂̄_v f̄; same proof as dWirtingerDir_comp.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Physlib Physlib.Wirtinger in
variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]
  {f : V → ℂ} {u : V} in
lemma Physlib.Wirtinger.dWirtingerAntiDir_comp {g : ℂ → ℂ} (hg : DifferentiableAt ℝ g (f u))
    (hf : DifferentiableAt ℝ f u) (v : V) :
    dWirtingerAntiDir (fun p => g (f p)) v u =
      dWirtingerDir g 1 (f u) * dWirtingerAntiDir f v u
        + dWirtingerAntiDir g 1 (f u) * dWirtingerAntiDir (fun p => star (f p)) v u
Formalizes
Physlib, `Physlib.Wirtinger.dWirtingerAntiDir_comp`
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
Built on 10
Used by 1

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Physlib Physlib.Wirtinger invariable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]  {f : V → ℂ} {u : V} in/-- The two-term Wirtinger chain rule for `dWirtingerAntiDir`, the anti-holomorphic dual of `dWirtingerDir_comp`: `∂̄_v(g∘f) = (∂g/∂f)·∂̄_v f + (∂g/∂f̄)·∂̄_v f̄`. Same outer `∂g/∂f`, `∂g/∂f̄` coefficients, now each multiplying its anti-holomorphic inner derivative `∂̄_v f`, `∂̄_v f̄`; same proof as `dWirtingerDir_comp`. -/lemma Physlib.Wirtinger.dWirtingerAntiDir_comp {g : ℂ → ℂ} (hg : DifferentiableAt ℝ g (f u))    (hf : DifferentiableAt ℝ f u) (v : V) :    dWirtingerAntiDir (fun p => g (f p)) v u =      dWirtingerDir g 1 (f u) * dWirtingerAntiDir f v u        + dWirtingerAntiDir g 1 (f u) * dWirtingerAntiDir (fun p => star (f p)) v u := by  simp only [dWirtingerDir_apply, dWirtingerAntiDir_apply]  rw [show (fun p => g (f p)) = g ∘ f from rfl, fderiv_comp u hg hf, fderiv_star_eq hf]  simp only [ContinuousLinearMap.comp_apply, ContinuousLinearEquiv.coe_coe,    Complex.conjCLE_apply, Complex.star_def, smul_eq_mul, mul_one,    realLinear_apply_eq_wirtinger (fderiv ℝ g (f u)) (fderiv ℝ f u v),    realLinear_apply_eq_wirtinger (fderiv ℝ g (f u)) (fderiv ℝ f u (Complex.I • v))]  ring
See it in the graphDiscuss this resultChallenge it