Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiCoord_eq_zero
theoremverifiedformalizationimported Lean
Cauchy–Riemann in coordinates, the form ∂̄_Ī W = 0 used in physics. Coordinate directions suffice by LinearMap.commutesI_of_basis.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Physlib Physlib.Wirtinger in variable {ι : Type*} in variable [Fintype ι] [DecidableEq ι] in variable {f g : (ι → ℂ) → ℂ} in theorem Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiCoord_eq_zero (f : (ι → ℂ) → ℂ) (u : ι → ℂ) : DifferentiableAt ℂ f u ↔ DifferentiableAt ℝ f u ∧ ∀ I, dWirtingerAntiCoord f I u = 0
- Formalizes
- Physlib, `Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiCoord_eq_zero`
- 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.differentiableAt_complex_iff_dWirtingerAntiCoord_eq_zero← Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiCoord_eq_zero (Physlib/Mathematics/Calculus/Wirtinger/Coordinate.lean:478): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 10
- Physlib.Wirtinger.dWirtingerAntiDir_eq_zero_of_clinearHolomorphic collapse: the anti-holomorphic derivative vanishes along a direction of
ℂ-linearity,∂̄_v f = 0. - LinearMap.commutesI_of_basisAn
ℝ-linear map commuting withion aℂ-basis commutes withieverywhere. - Physlib.Wirtinger.dWirtingerAntiCoord_coordProj
∂̄_I z^J = 0. The anti-holomorphic coordinate-independence value; also feeds the coordinate-difference rule… - 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.clinear_of_dWirtingerAntiDir_eq_zeroThe converse of
dWirtingerAntiDir_eq_zero_of_clinear. It needs no differentiability. - Physlib.Wirtinger.dWirtingerAntiCoord_constConstants have zero anti-holomorphic coordinate derivative:
∂̄_I c = 0. - Physlib.Wirtinger.dWirtingerAntiDir_constConstants have zero anti-holomorphic directional Wirtinger derivative,
∂̄_v c = 0. - Physlib.Wirtinger.dWirtingerAntiCoordAnti-holomorphic Wirtinger derivative along the I-th coordinate of
ι → ℂ. - Physlib.Wirtinger.dWirtingerAntiDir_neg
dWirtingerAntiDirof a negated function,∂̄_v(−g) = −∂̄_v g. - Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiDir_eq_zeroCauchy–Riemann.
fisℂ-differentiable atuiff it is real-differentiable there and every anti-holomorphic Wirtinger derivative…
- Physlib.Wirtinger.dWirtingerAntiDir_eq_zero_of_clinearHolomorphic collapse: the anti-holomorphic derivative vanishes along a direction of
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 {ι : Type*} invariable [Fintype ι] [DecidableEq ι] invariable {f g : (ι → ℂ) → ℂ} in/-- **Cauchy–Riemann in coordinates**, the form `∂̄_Ī W = 0` used in physics. Coordinate directions suffice by `LinearMap.commutesI_of_basis`. -/theorem Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiCoord_eq_zero (f : (ι → ℂ) → ℂ) (u : ι → ℂ) : DifferentiableAt ℂ f u ↔ DifferentiableAt ℝ f u ∧ ∀ I, dWirtingerAntiCoord f I u = 0 := by rw [differentiableAt_complex_iff_dWirtingerAntiDir_eq_zero] refine and_congr_right fun _ => ⟨fun h I => h _, fun h v => ?_⟩ refine dWirtingerAntiDir_eq_zero_of_clinear ?_ exact LinearMap.commutesI_of_basis (fderiv ℝ f u : (ι → ℂ) →ₗ[ℝ] ℂ) (Pi.basisFun ℂ ι) (fun J => by simpa using clinear_of_dWirtingerAntiDir_eq_zero (h J)) v