AFTD Auto-Formalizing Theoretical Domains

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.
Verified
09 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 10

Lean source view module on GitHub

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
See it in the graphDiscuss this resultChallenge it