Using Python, implement a simple automatic braking function. Given current speed v (m/s), distance to obstacle d (m), maximum deceleration a_max (m/s^ 2), and reaction time t_r (s), decide whether to brake immediately to stop before the obstacle; return the braking decision, braking start time, and expected stopping distance.