Zulip Chat Archive
Stream: new members
Topic: Backpropagation formalized in Lean.
Tony Johnson (Jul 06 2025 at 23:37):
Hi, I'm looking to formalize backpropagation (http://neuralnetworksanddeeplearning.com/chap2.html) in Lean as a learning exercise. 1) Is this too difficult for a beginner in Lean 2) If not, could somebody familiar with Lean and Backprop possibly point me in the right direction.
Thanks!
Dominic Steinitz (Jul 08 2025 at 06:58):
Caveat: I last looked at this area over 10 years ago and am somewhat new to Lean. I don't know what you mean by formalise here. Do you mean a Lean version of what has been done in Haskell: https://hackage.haskell.org/package/backprop? I haven't looked but I haven't seen anything about AD on zulip or stochastic gradient descent for that matter.
Dominic Steinitz (Jul 08 2025 at 07:00):
And although I have programmed in Haskell for over 30 years, I found proving things in Lean a steep learning curve.
Last updated: Dec 20 2025 at 21:32 UTC