AFTD Auto-Formalizing Theoretical Domains

IsLocalizedFunctionTransform.fun_comp

theoremverifiedformalizationimported Lean

IsLocalizedFunctionTransform.fun_comp

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open IsLocalizedFunctionTransform in
open InnerProductSpace MeasureTheory ContDiff in
variable
  {X} [NormedAddCommGroup X]
  {Y} [NormedAddCommGroup Y]
  {Z} [NormedAddCommGroup Z]
  {U}
  {V'}
  {W} in
lemma IsLocalizedFunctionTransform.fun_comp {F : (Y → V') → (Z → W)} {G : (X → U) → (Y → V')}
    (hF : IsLocalizedFunctionTransform F) (hG : IsLocalizedFunctionTransform G) :
    IsLocalizedFunctionTransform (fun x => F (G x))
Formalizes
Physlib, `IsLocalizedFunctionTransform.fun_comp`
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.fun_comp
--- Physlib/Mathematics/VariationalCalculus/IsLocalizedfunctionTransform.lean:62 (IsLocalizedFunctionTransform.fun_comp)
+++ as compiled here
@@ -1,2 +1,13 @@
-lemma fun_comp {F : (Y → V) → (Z → W)} {G : (X → U) → (Y → V)}
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+open IsLocalizedFunctionTransform in
+open InnerProductSpace MeasureTheory ContDiff in
+variable
+  {X} [NormedAddCommGroup X]
+  {Y} [NormedAddCommGroup Y]
+  {Z} [NormedAddCommGroup Z]
+  {U}
+  {V'}
+  {W} in
+lemma IsLocalizedFunctionTransform.fun_comp {F : (Y → V') → (Z → W)} {G : (X → U) → (Y → V')}
     (hF : IsLocalizedFunctionTransform F) (hG : IsLocalizedFunctionTransform G) :
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 IsLocalizedFunctionTransform inopen InnerProductSpace MeasureTheory ContDiff invariable  {X} [NormedAddCommGroup X]  {Y} [NormedAddCommGroup Y]  {Z} [NormedAddCommGroup Z]  {U}  {V'}  {W} inlemma IsLocalizedFunctionTransform.fun_comp {F : (Y → V') → (Z → W)} {G : (X → U) → (Y → V')}    (hF : IsLocalizedFunctionTransform F) (hG : IsLocalizedFunctionTransform G) :    IsLocalizedFunctionTransform (fun x => F (G x)) := by  apply comp hF hG
See it in the graphDiscuss this resultChallenge it