AFTD Auto-Formalizing Theoretical Domains

IsLocalizedFunctionTransform.deriv

theoremverifiedformalizationimported Lean

IsLocalizedFunctionTransform.deriv

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open InnerProductSpace MeasureTheory ContDiff in
variable
  {X} [NormedAddCommGroup X]
  {Y} [NormedAddCommGroup Y] [NormedSpace ℝ Y] [MeasureSpace Y]
  {Z} [NormedAddCommGroup Z] [NormedSpace ℝ Z]
  {U}
  {V'} in
lemma IsLocalizedFunctionTransform.deriv [NormedAddCommGroup U] [NormedSpace ℝ U] :
    IsLocalizedFunctionTransform (fun φ : ℝ → U => deriv φ)
Formalizes
Physlib, `IsLocalizedFunctionTransform.deriv`
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.deriv
--- Physlib/Mathematics/VariationalCalculus/IsLocalizedfunctionTransform.lean:212 (IsLocalizedFunctionTransform.deriv)
+++ as compiled here
@@ -1,2 +1,11 @@
-lemma deriv [NormedAddCommGroup U] [NormedSpace ℝ U] :
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+open InnerProductSpace MeasureTheory ContDiff in
+variable
+  {X} [NormedAddCommGroup X]
+  {Y} [NormedAddCommGroup Y] [NormedSpace ℝ Y] [MeasureSpace Y]
+  {Z} [NormedAddCommGroup Z] [NormedSpace ℝ Z]
+  {U}
+  {V'} in
+lemma IsLocalizedFunctionTransform.deriv [NormedAddCommGroup U] [NormedSpace ℝ U] :
     IsLocalizedFunctionTransform (fun φ : ℝ → U => deriv φ) := 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] [NormedSpace ℝ Y] [MeasureSpace Y]  {Z} [NormedAddCommGroup Z] [NormedSpace ℝ Z]  {U}  {V'} inlemma IsLocalizedFunctionTransform.deriv [NormedAddCommGroup U] [NormedSpace ℝ U] :    IsLocalizedFunctionTransform (fun φ : ℝ → U => deriv φ) := by  intro K cK  use (Metric.cthickening 1 K)  constructor  · exact IsCompact.cthickening cK  · intro φ φ' hφ x hx    dsimp    have h : φ =ᶠ[nhds x] φ' := by      apply Filter.eventuallyEq_of_mem (s := Metric.thickening 1 K)      · apply Metric.isOpen_thickening.mem_nhds        exact Metric.self_subset_thickening one_pos K hx      · intro y hy        exact hφ y (Metric.thickening_subset_cthickening 1 K hy)    exact h.deriv_eq
See it in the graphDiscuss this resultChallenge it