Lean4: How the theorem prover works and why it’s the new competitive edge in AI