AFTD Auto-Formalizing Theoretical Domains

IsLocalizedFunctionTransform.neg

theoremverifiedformalizationimported Lean

IsLocalizedFunctionTransform.neg

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open InnerProductSpace MeasureTheory ContDiff in
variable
  {X} [NormedAddCommGroup X]
  {Y} [NormedAddCommGroup Y]
  {Z} [NormedAddCommGroup Z]
  {U}
  {V'}
  {W} in
lemma IsLocalizedFunctionTransform.neg {V'} [NormedAddCommGroup V']
    {F : (X → U) → (Y → V')} (hF : IsLocalizedFunctionTransform F) :
    IsLocalizedFunctionTransform (fun φ => - F φ)
Formalizes
Physlib, `IsLocalizedFunctionTransform.neg`
Lean proof
By Tomas Skrivan, Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Tomas Skrivan. 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.
What was changed in IsLocalizedFunctionTransform.neg
--- Physlib/Mathematics/VariationalCalculus/IsLocalizedfunctionTransform.lean:77 (IsLocalizedFunctionTransform.neg)
+++ as compiled here
@@ -1,3 +1,13 @@
-lemma neg {V} [NormedAddCommGroup V]
-    {F : (X → U) → (Y → V)} (hF : IsLocalizedFunctionTransform F) :
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+open InnerProductSpace MeasureTheory ContDiff in
+variable
+  {X} [NormedAddCommGroup X]
+  {Y} [NormedAddCommGroup Y]
+  {Z} [NormedAddCommGroup Z]
+  {U}
+  {V'}
+  {W} in
+lemma IsLocalizedFunctionTransform.neg {V'} [NormedAddCommGroup V']
+    {F : (X → U) → (Y → V')} (hF : IsLocalizedFunctionTransform F) :
     IsLocalizedFunctionTransform (fun φ => - F φ) := by
Verified
09 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen InnerProductSpace MeasureTheory ContDiff invariable  {X} [NormedAddCommGroup X]  {Y} [NormedAddCommGroup Y]  {Z} [NormedAddCommGroup Z]  {U}  {V'}  {W} inlemma IsLocalizedFunctionTransform.neg {V'} [NormedAddCommGroup V']    {F : (X → U) → (Y → V')} (hF : IsLocalizedFunctionTransform F) :    IsLocalizedFunctionTransform (fun φ => - F φ) := by  intro K cK  obtain ⟨L,cL,h⟩ := hF K cK  exact ⟨L,cL,by intro _ _ _ _ _; dsimp; congr 1; apply h <;> simp_all⟩
See it in the graphDiscuss this resultChallenge it