Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiDir_eq_zero
theoremverifiedformalizationimported Lean
Cauchy–Riemann. f is ℂ-differentiable at u iff it is real-differentiable there and every anti-holomorphic Wirtinger derivative vanishes. Real differentiability is needed: fderiv is 0 where f is not differentiable.
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 variable [IsScalarTower ℝ ℂ V] in theorem Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiDir_eq_zero (f : V → ℂ) (u : V) : DifferentiableAt ℂ f u ↔ DifferentiableAt ℝ f u ∧ ∀ v, dWirtingerAntiDir f v u = 0
- Formalizes
- Physlib, `Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiDir_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_dWirtingerAntiDir_eq_zero← Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiDir_eq_zero (Physlib/Mathematics/Calculus/Wirtinger/Basic.lean:593): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 7
- Physlib.Wirtinger.dWirtingerAntiDir_eq_zero_of_clinearHolomorphic collapse: the anti-holomorphic derivative vanishes along a direction of
ℂ-linearity,∂̄_v f = 0. - ContinuousLinearMap.complexOfCommutesIA continuous
ℝ-linear map commuting withi, as a continuousℂ-linear map. - 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. - ContinuousLinearMap.complexOfCommutesI_applyContinuousLinearMap.complexOfCommutesI_apply
- Physlib.Wirtinger.dWirtingerAntiDir_constConstants have zero anti-holomorphic directional Wirtinger derivative,
∂̄_v c = 0. - Physlib.Wirtinger.dWirtingerAntiDir_neg
dWirtingerAntiDirof a negated function,∂̄_v(−g) = −∂̄_v g.
- Physlib.Wirtinger.dWirtingerAntiDir_eq_zero_of_clinearHolomorphic collapse: the anti-holomorphic derivative vanishes along a direction of
- Used by 1
- Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiCoord_eq_zeroCauchy–Riemann in coordinates, the form
∂̄_Ī W = 0used in physics. Coordinate directions suffice byLinearMap.commutesI_of_basis.
- Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiCoord_eq_zeroCauchy–Riemann in coordinates, the form
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} invariable [IsScalarTower ℝ ℂ V] in/-- **Cauchy–Riemann.** `f` is `ℂ`-differentiable at `u` iff it is real-differentiable there and every anti-holomorphic Wirtinger derivative vanishes. Real differentiability is needed: `fderiv` is `0` where `f` is not differentiable. -/theorem Physlib.Wirtinger.differentiableAt_complex_iff_dWirtingerAntiDir_eq_zero (f : V → ℂ) (u : V) : DifferentiableAt ℂ f u ↔ DifferentiableAt ℝ f u ∧ ∀ v, dWirtingerAntiDir f v u = 0 := by constructor · intro hf refine ⟨hf.restrictScalars ℝ, fun v => ?_⟩ refine dWirtingerAntiDir_eq_zero_of_clinear ?_ rw [DifferentiableAt.fderiv_restrictScalars ℝ hf, ContinuousLinearMap.coe_restrictScalars', map_smul] · rintro ⟨hR, hv⟩ rw [differentiableAt_iff_restrictScalars ℝ hR] exact ⟨ContinuousLinearMap.complexOfCommutesI (fderiv ℝ f u) (fun v => clinear_of_dWirtingerAntiDir_eq_zero (hv v)), rfl⟩