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

Impressum Pi.lean   Sprache: Lean

 

/-
Copyright (c) 2023 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Heather Macbeth
-/

module

public import Mathlib.Analysis.Calculus.FDeriv.Prod

import Mathlib.Analysis.Calculus.FDeriv.Const

set_option doc.verso true
set_option doc.verso.suggestions false

/-!
# Derivatives on pi-types.
-/


public section

variable {�� ι : Type*} [DecidableEq ι] [NontriviallyNormedField ��]
variable {E : ι → Type*} [∀ i, NormedAddCommGroup (E i)] [∀ i, NormedSpace �� (E i)]

@[fun_prop]
theorem hasFDerivAt_update (x : ∀ i, E i) {i : ι} (y : E i) :
    HasFDerivAt (Function.update x i) (.pi (Pi.single i (.id �� (E i)))) y := by
  rw [hasFDerivAt_pi]
  intro j
  rcases eq_or_ne j i with rfl | hij
  · simpa using! hasFDerivAt_id _
  · simpa [hij] using! hasFDerivAt_const _ _

@[fun_prop]
theorem hasFDerivAt_single {i : ι} (y : E i) :
    HasFDerivAt (Pi.single i) (.pi (Pi.single i (.id �� (E i)))) y :=
  hasFDerivAt_update 0 y

theorem fderiv_update (x : ∀ i, E i) {i : ι} (y : E i) :
    fderiv �� (Function.update x i) y = .pi (Pi.single i (.id �� (E i))) :=
  (hasFDerivAt_update x y).fderiv

theorem fderiv_single {i : ι} (y : E i) :
    fderiv �� (Pi.single i) y = .pi (Pi.single i (.id �� (E i))) :=
  fderiv_update 0 y

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland