AFTD Auto-Formalizing Theoretical Domains

Physlib.Wirtinger.dWirtingerCoord_apply

theoremverifiedformalizationimported Lean

Real-Fréchet form of dWirtingerCoord: dWirtingerCoord f I u = (1/2)(∂_x − i · ∂_y) f, the derivatives along the slot-I real and imaginary coordinate directions. Unconditional — the directional definition makes it definitional (Complex.I • Pi.single I 1 = Pi.single I Complex.I); no differentiability hypothesis is needed.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Physlib Physlib.Wirtinger in
variable {ι : Type*} in
variable [Fintype ι] [DecidableEq ι] in
lemma Physlib.Wirtinger.dWirtingerCoord_apply {f : (ι → ℂ) → ℂ}
    {u : (ι → ℂ)} (I : ι) :
    dWirtingerCoord f I u = (1 / 2 : ℂ) * (fderiv ℝ f u (Pi.single I 1)
      - Complex.I * fderiv ℝ f u (Pi.single I Complex.I))
Formalizes
Physlib, `Physlib.Wirtinger.dWirtingerCoord_apply`
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 5

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Physlib Physlib.Wirtinger invariable {ι : Type*} invariable [Fintype ι] [DecidableEq ι] in/-- Real-Fréchet form of `dWirtingerCoord`: `dWirtingerCoord f I u = (1/2)(∂_x − i · ∂_y) f`, the derivatives along the slot-I real and imaginary coordinate directions. Unconditional — the directional definition makes it definitional (`Complex.I • Pi.single I 1 = Pi.single I Complex.I`); no differentiability hypothesis is needed. -/lemma Physlib.Wirtinger.dWirtingerCoord_apply {f : (ι → ℂ) → ℂ}    {u : (ι → ℂ)} (I : ι) :    dWirtingerCoord f I u = (1 / 2 : ℂ) * (fderiv ℝ f u (Pi.single I 1)      - Complex.I * fderiv ℝ f u (Pi.single I Complex.I)) := by  simp only [dWirtingerCoord, dWirtingerDir_apply, ← Pi.single_smul', smul_eq_mul, mul_one]
See it in the graphDiscuss this resultChallenge it