Physlib.Wirtinger.realLinear_apply_eq_wirtinger
theoremverifiedformalizationimported Lean
Split a real-linear map ℂ → ℂ into its Wirtinger components. Any real-linear L : ℂ →L[ℝ] ℂ splits into a holomorphic and an anti-holomorphic part with the Wirtinger coefficients a = ½(L 1 - i * L i), b = ½(L 1 + i * L i) as weights: L w = a * w + b * star w. This is purely algebraic: L is an arbitrary real-linear map, no derivative involved. Its use is the Wirtinger chain rule (dWirtingerDir_comp below), where the weights of the outer differential L = fderiv ℝ g (f u) are the coefficients ∂g/∂f, ∂g/∂f̄.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V] {f : V → ℂ} {u : V} in lemma Physlib.Wirtinger.realLinear_apply_eq_wirtinger (L : ℂ →L[ℝ] ℂ) (w : ℂ) : L w = ((1 / 2 : ℂ) * (L 1 - Complex.I * L Complex.I)) * w + ((1 / 2 : ℂ) * (L 1 + Complex.I * L Complex.I)) * star w
- Formalizes
- Physlib, `Physlib.Wirtinger.realLinear_apply_eq_wirtinger`
- 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.realLinear_apply_eq_wirtinger← Physlib.Wirtinger.realLinear_apply_eq_wirtinger (Physlib/Mathematics/Calculus/Wirtinger/Basic.lean:394): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Used by 2
- Physlib.Wirtinger.dWirtingerAntiDir_compThe two-term Wirtinger chain rule for
dWirtingerAntiDir, the anti-holomorphic dual ofdWirtingerDir_comp:… - Physlib.Wirtinger.dWirtingerDir_compThe two-term Wirtinger chain rule for
dWirtingerDir, outerg : ℂ → ℂand innerf : V → ℂ:…
- Physlib.Wirtinger.dWirtingerAntiDir_compThe two-term Wirtinger chain rule for
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 invariable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V] {f : V → ℂ} {u : V} in/-- Split a real-linear map `ℂ → ℂ` into its Wirtinger components. Any real-linear `L : ℂ →L[ℝ] ℂ` splits into a holomorphic and an anti-holomorphic part with the Wirtinger coefficients `a = ½(L 1 - i * L i)`, `b = ½(L 1 + i * L i)` as weights: `L w = a * w + b * star w`. This is purely algebraic: `L` is an arbitrary real-linear map, no derivative involved. Its use is the Wirtinger chain rule (`dWirtingerDir_comp` below), where the weights of the outer differential `L = fderiv ℝ g (f u)` are the coefficients `∂g/∂f`, `∂g/∂f̄`. -/lemma Physlib.Wirtinger.realLinear_apply_eq_wirtinger (L : ℂ →L[ℝ] ℂ) (w : ℂ) : L w = ((1 / 2 : ℂ) * (L 1 - Complex.I * L Complex.I)) * w + ((1 / 2 : ℂ) * (L 1 + Complex.I * L Complex.I)) * star w := by have hw : w = (w.re : ℝ) • (1 : ℂ) + (w.im : ℝ) • Complex.I := by apply Complex.ext <;> simp nth_rewrite 1 [hw, map_add, map_smul, map_smul] apply Complex.ext <;> simp <;> ring