1. Introduction
Before touching an optimizer, we need a reason to put a neural network in a proof assistant at all. We begin with a prediction whose surrounding claim is unclear, learn just enough Lean to read the code, and then write the regression model that will stay with us through the rest of the book.