AFTD Auto-Formalizing Theoretical Domains

Physlib.Wirtinger.weightedDirDeriv

defimported Lean

The base-point field p ↦ (1/2)(d_{b₁} f + c·d_{b₂} f), a weighted combination of the real Fréchet derivative of f along two directions b₁, b₂. The directional Wirtinger operators are its two specializations: dWirtingerDir f v at c = -i, (b₁, b₂) = (v, i·v), and dWirtingerAntiDir f v at c = i. Keeping b₁, b₂ free lets §G differentiate it a second time once and reuse the bridge for both operators.

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
noncomputable def Physlib.Wirtinger.weightedDirDeriv (f : V → ℂ) (c : ℂ) (b₁ b₂ : V) : V → ℂ
Defined in
Physlib, `Physlib.Wirtinger.weightedDirDeriv`
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
none listed
Built on 1
Used by 12

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]
  {f : V → ℂ} {u : V} in
/-- The base-point field `p ↦ (1/2)(d_{b₁} f + c·d_{b₂} f)`, a weighted combination of the real Fréchet derivative of `f` along two directions `b₁`, `b₂`. The directional Wirtinger operators are its two specializations: `dWirtingerDir f v` at `c = -i`, `(b₁, b₂) = (v, i·v)`, and `dWirtingerAntiDir f v` at `c = i`. Keeping `b₁`, `b₂` free lets §G differentiate it a second time once and reuse the bridge for both operators. -/
noncomputable def Physlib.Wirtinger.weightedDirDeriv (f : V → ℂ) (c : ℂ) (b₁ b₂ : V) : V → ℂ :=
  fun p => (1 / 2 : ℂ) * (fderiv ℝ f p b₁ + c * fderiv ℝ f p b₂)
See it in the graphDiscuss this resultChallenge it