Physlib.Wirtinger.dWirtingerDir_dWirtingerAntiDir_comm
theoremverifiedformalizationimported Lean
Schwarz's theorem for the directional Wirtinger operators: on a C² field f the holomorphic and anti-holomorphic directional derivatives commute in any two directions, ∂_v ∂̄_w f = ∂̄_w ∂_v f. The commutation adds no analytic input. By the §G bridge each order expands into a real-linear combination of the second real Fréchet derivative fderiv ℝ (fderiv ℝ f) u on the four directions v, i·v, w, i·w. The two orders give the same combination up to transposing the two slots of that second derivative, and ContDiffAt.isSymmSndFDerivAt, the symmetry of ordinary mixed second partials, equates them.
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 theorem Physlib.Wirtinger.dWirtingerDir_dWirtingerAntiDir_comm (hf2 : ContDiffAt ℝ 2 f u) (v w : V) : dWirtingerDir (fun p => dWirtingerAntiDir f w p) v u = dWirtingerAntiDir (fun p => dWirtingerDir f v p) w u
- Formalizes
- Physlib, `Physlib.Wirtinger.dWirtingerDir_dWirtingerAntiDir_comm`
- 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.Physlib.Wirtinger.dWirtingerDir_dWirtingerAntiDir_comm← Physlib.Wirtinger.dWirtingerDir_dWirtingerAntiDir_comm (Physlib/Mathematics/Calculus/Wirtinger/Basic.lean:787): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 10
- Physlib.Wirtinger.dWirtingerDirThe holomorphic directional Wirtinger derivative
∂_v f = (1/2)(d_v f − i·d_{i·v} f)off : V → ℂalong the direction vectorv : V,… - Physlib.Wirtinger.fderiv_dWirtingerDirDifferentiating the holomorphic directional derivative lands on the second real Fréchet derivative in the two slots.
- Physlib.Wirtinger.dWirtingerDir_constConstants have zero holomorphic directional Wirtinger derivative,
∂_v c = 0. - Physlib.Wirtinger.dWirtingerAntiDirThe anti-holomorphic directional Wirtinger derivative
∂̄_v f = (1/2)(d_v f + i·d_{i·v} f)off : V → ℂalong the direction vector… - Physlib.Wirtinger.fderiv_dWirtingerAntiDirDifferentiating the anti-holomorphic directional derivative lands on the second real Fréchet derivative in the two slots.
- Physlib.Wirtinger.dWirtingerAntiDir_applyDefinitional unfolding of
dWirtingerAntiDirto the explicit Wirtinger combination. - Physlib.Wirtinger.dWirtingerDir_applyDefinitional unfolding of
dWirtingerDirto the explicit Wirtinger combination, used to expand the outer operator of a composition… - Physlib.Wirtinger.dWirtingerAntiDir_constConstants have zero anti-holomorphic directional Wirtinger derivative,
∂̄_v c = 0. - Physlib.Wirtinger.dWirtingerDir_neg
dWirtingerDirof a negated function,∂_v(−g) = −∂_v g. Holds with no differentiability hypothesis, sincefderivof a negation is… - Physlib.Wirtinger.dWirtingerAntiDir_neg
dWirtingerAntiDirof a negated function,∂̄_v(−g) = −∂̄_v g.
- Physlib.Wirtinger.dWirtingerDirThe holomorphic directional Wirtinger derivative
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
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/-- **Schwarz's theorem** for the directional Wirtinger operators: on a `C²` field `f` the holomorphic and anti-holomorphic directional derivatives commute in any two directions, `∂_v ∂̄_w f = ∂̄_w ∂_v f`. The commutation adds no analytic input. By the §G bridge each order expands into a real-linear combination of the second real Fréchet derivative `fderiv ℝ (fderiv ℝ f) u` on the four directions `v`, `i·v`, `w`, `i·w`. The two orders give the same combination up to transposing the two slots of that second derivative, and `ContDiffAt.isSymmSndFDerivAt`, the symmetry of ordinary mixed second partials, equates them. -/theorem Physlib.Wirtinger.dWirtingerDir_dWirtingerAntiDir_comm (hf2 : ContDiffAt ℝ 2 f u) (v w : V) : dWirtingerDir (fun p => dWirtingerAntiDir f w p) v u = dWirtingerAntiDir (fun p => dWirtingerDir f v p) w u := by have hf' : DifferentiableAt ℝ (fderiv ℝ f) u := (hf2.fderiv_right (m := 1) le_rfl).differentiableAt one_ne_zero have hsymm : IsSymmSndFDerivAt ℝ f u := hf2.isSymmSndFDerivAt (by simp) rw [dWirtingerDir_apply, dWirtingerAntiDir_apply] simp only [fderiv_dWirtingerAntiDir hf', fderiv_dWirtingerDir hf', hsymm.eq] ring