Four authors formalize the Hamilton-Perelman proof of the Poincaré conjecture in Lean