In Lean, as in anything else, the program you write can do something else than what you think it does. "Your program" in Lean is a proof.
That is incorrect.