Third condition: derivative in W(k)
ProvedLeCun1988.lagrangian_deriv_Wbackpropagationlagrange-multipliersneural-networks
For , if has derivative at , then .
Preamble
import Definitions.Def_LeCun1988_Defs import Mathlib
Formal statement
namespace LeCun1988
theorem lagrangian_deriv_W {E Θ : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup Θ] [NormedSpace ℝ Θ]
{C : E → ℝ} {F : ℕ → E → Θ → E} {N : ℕ} {X : ℕ → E}
{W : ℕ → Θ} {B : ℕ → E →L[ℝ] ℝ} {k : ℕ} (hk : k < N) {DW : Θ →L[ℝ] E}
(hDW : HasFDerivAt (fun w => F k (X k) w) DW (W k)) :
HasFDerivAt (fun w => lagrangian C F N X (Function.update W k w) B)
(-((B (k + 1)).comp DW)) (W k) := by sorry
end LeCun1988Source
Y. LeCun, A Theoretical Framework for Back-Propagation, Proc. 1988 Connectionist Models Summer School (Morgan Kaufmann), pp. 21-28, http://yann.lecun.com/exdb/publis/pdf/lecun-88.pdf Section 2.2.3
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For k < N, if w ↦ F k (X k) w has derivative DW at W k, then w ↦ L(X, W with entry k replaced by w, B) has derivative -(B(k+1) ∘ DW) at W k (W k appears only in term m = k). This is LeCun's ∂L/∂W(k) = -B(k+1)ᵀ ∂F/∂W.
Auditor concerns: none. It is the partial derivative of L in W(k) at arbitrary X, B; by itself it says nothing about the loss gradient, which is the content of lecun / backprop_chain.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.