AFTD Auto-Formalizing Theoretical Domains

Physlib.Wirtinger.clinear_of_holomorphic

theoremverifiedformalizationimported Lean

The real derivative of a holomorphic f : E → ℂ is ℂ-linear along every direction — the hypothesis the foundation collapse dWirtingerDir_eq_of_clinear consumes. A holomorphic f has fderiv ℝ f u = (fderiv ℂ f u).restrictScalars ℝ (DifferentiableAt.fderiv_restrictScalars), so its real derivative agrees with the ℂ-linear complex derivative on every direction. Used at E = ι → ℂ for the coordinate collapse and at E = ℂ for the outer-g chain rule (§D).

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {ι : Type*} in
variable [Fintype ι] [DecidableEq ι] in
lemma Physlib.Wirtinger.clinear_of_holomorphic {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] {f : E → ℂ} {u : E}
    (hf : DifferentiableAt ℂ f u) (d : E) :
    fderiv ℝ f u (Complex.I • d) = Complex.I • fderiv ℝ f u d
Formalizes
Physlib, `Physlib.Wirtinger.clinear_of_holomorphic`
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
Used by 4

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true invariable {ι : Type*} invariable [Fintype ι] [DecidableEq ι] in/-- The real derivative of a holomorphic `f : E → ℂ` is `ℂ`-linear along every direction — the hypothesis the foundation collapse `dWirtingerDir_eq_of_clinear` consumes. A holomorphic `f` has `fderiv ℝ f u = (fderiv ℂ f u).restrictScalars ℝ` (`DifferentiableAt.fderiv_restrictScalars`), so its real derivative agrees with the `ℂ`-linear complex derivative on every direction. Used at `E = ι → ℂ` for the coordinate collapse and at `E = ℂ` for the outer-`g` chain rule (§D). -/lemma Physlib.Wirtinger.clinear_of_holomorphic {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]    [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] {f : E → ℂ} {u : E}    (hf : DifferentiableAt ℂ f u) (d : E) :    fderiv ℝ f u (Complex.I • d) = Complex.I • fderiv ℝ f u d := by  rw [DifferentiableAt.fderiv_restrictScalars ℝ hf, ContinuousLinearMap.coe_restrictScalars',    map_smul]
See it in the graphDiscuss this resultChallenge it