AFTD Auto-Formalizing Theoretical Domains

Physlib.Distribution.norm_iteratedFDeriv_ofRealCLM

theoremverifiedformalizationimported Lean

Physlib.Distribution.norm_iteratedFDeriv_ofRealCLM

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SchwartzMap NNReal in
variable (π•œ : Type) {E F : Type} [RCLike π•œ] [NormedAddCommGroup E] [NormedAddCommGroup F] in
variable [NormedSpace ℝ E] in
open ContDiff in
open MeasureTheory in
lemma Physlib.Distribution.norm_iteratedFDeriv_ofRealCLM {x} (i : β„•) :
    β€–iteratedFDeriv ℝ i (RCLike.ofRealCLM (K := π•œ)) xβ€– =
      if i = 0 then |x| else if i = 1 then 1 else 0
Formalizes
Physlib, `Physlib.Distribution.norm_iteratedFDeriv_ofRealCLM`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Joseph Tooby-Smith. 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
Used by 2

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen SchwartzMap NNReal invariable (π•œ : Type) {E F : Type} [RCLike π•œ] [NormedAddCommGroup E] [NormedAddCommGroup F] invariable [NormedSpace ℝ E] inopen ContDiff inopen MeasureTheory inlemma Physlib.Distribution.norm_iteratedFDeriv_ofRealCLM {x} (i : β„•) :    β€–iteratedFDeriv ℝ i (RCLike.ofRealCLM (K := π•œ)) xβ€– =      if i = 0 then |x| else if i = 1 then 1 else 0 := by  match i with  | 0 => simp  | 1 =>    rw [norm_iteratedFDeriv_one, RCLike.ofRealCLM.fderiv]    simp  | (n + 2) =>    have h : fderiv ℝ ⇑(RCLike.ofRealCLM (K := π•œ)) = fun _ => RCLike.ofRealCLM := by      ext1 y      exact RCLike.ofRealCLM.fderiv    rw [← norm_iteratedFDeriv_fderiv, h, iteratedFDeriv_const_of_ne n.succ_ne_zero]    simp
See it in the graphDiscuss this resultChallenge it