AFTD Auto-Formalizing Theoretical Domains

Physlib.Wirtinger.dWirtingerDir_neg

theoremverifiedformalizationimported Lean

dWirtingerDir of a negated function, ∂_v(−g) = −∂_v g. Holds with no differentiability hypothesis, since fderiv of a negation is unconditional.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Physlib Physlib.Wirtinger in
variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]
  {f : V → ℂ} {u : V} in
@[simp] lemma Physlib.Wirtinger.dWirtingerDir_neg (g : V → ℂ) (v u : V) :
    dWirtingerDir (fun p => -(g p)) v u = -(dWirtingerDir g v u)
Formalizes
Physlib, `Physlib.Wirtinger.dWirtingerDir_neg`
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 3
Used by 25

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Physlib Physlib.Wirtinger invariable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [NormedSpace ℂ V]  {f : V → ℂ} {u : V} in/-- `dWirtingerDir` of a negated function, `∂_v(−g) = −∂_v g`. Holds with no differentiability hypothesis, since `fderiv` of a negation is unconditional. -/@[simp] lemma Physlib.Wirtinger.dWirtingerDir_neg (g : V → ℂ) (v u : V) :    dWirtingerDir (fun p => -(g p)) v u = -(dWirtingerDir g v u) := by  simp only [dWirtingerDir_apply, fderiv_fun_neg, _root_.neg_apply]  ring
See it in the graphDiscuss this resultChallenge it