Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/Analysis/Calculus/FDeriv/     Datei vom 15.10.2026 mit Größe 2 kB image not shown  

Quelle  Affine.lean   Sprache: Lean

 

/-
Copyright (c) 2025 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/

module

public import Mathlib.Analysis.Calculus.FDeriv.Basic
public import Mathlib.Analysis.Normed.Group.AddTorsor
public import Mathlib.Topology.Algebra.ContinuousAffineMap

import Mathlib.Algebra.Order.Field.Power


/-!
# The derivative of continuous affine maps

For detailed documentation of the Fréchet derivative,
see the module docstring of `Mathlib/Analysis/Calculus/FDeriv/Basic.lean`.

This file contains the usual formulas (and existence assertions) for the derivative of
continuous affine maps.
-/


public section

variable {�� : Type*} [NontriviallyNormedField ��]
  {E : Type*} [NormedAddCommGroup E] [NormedSpace �� E]
  {F : Type*} [NormedAddCommGroup F] [NormedSpace �� F]
  (f : E →ᴬ[��] F) {x : E} {s : Set E} {L : Filter (E × E)}

namespace ContinuousAffineMap

/-!
### Continuous affine maps
-/


protected theorem hasFDerivAtFilter : HasFDerivAtFilter f f.contLinear L := by
  refine .of_isLittleOTVS <| .congr_left (.zero _ _) ?_
  simp [(vsub_eq_sub _ _).symm.trans (f.contLinear_apply_vsub _ _).symm]

@[fun_prop]
protected theorem hasStrictFDerivAt {x : E} : HasStrictFDerivAt f f.contLinear x :=
  f.hasFDerivAtFilter

@[fun_prop]
protected theorem hasFDerivWithinAt : HasFDerivWithinAt f f.contLinear s x :=
  f.hasFDerivAtFilter

@[fun_prop]
protected theorem hasFDerivAt : HasFDerivAt f f.contLinear x :=
  f.hasFDerivAtFilter

@[simp, fun_prop]
protected theorem differentiableAt : DifferentiableAt �� f x :=
  f.hasFDerivAt.differentiableAt

@[fun_prop]
protected theorem differentiableWithinAt : DifferentiableWithinAt �� f s x :=
  f.differentiableAt.differentiableWithinAt

@[simp]
protected theorem fderiv : fderiv �� f x = f.contLinear :=
  f.hasFDerivAt.fderiv

protected theorem fderivWithin (hxs : UniqueDiffWithinAt �� s x) :
    fderivWithin �� f s x = f.contLinear := by
  rw [DifferentiableAt.fderivWithin f.differentiableAt hxs]
  exact f.fderiv

@[simp, fun_prop]
protected theorem differentiable : Differentiable �� f := fun _ =>
  f.differentiableAt

@[fun_prop]
protected theorem differentiableOn : DifferentiableOn �� f s :=
  f.differentiable.differentiableOn

end ContinuousAffineMap

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland