Lean4: Proving AI Reliability and Safety