You're confusing abstract type theory constructs and the concrete Lean implementation.
To prove that Lean corresponds one-to-one with the abstract type theory you'd have to formally verify Lean. (And formal verification is a pseudoscience, no software is formally verified.)
Lean’s kernel is formally verified: https://leodemoura.github.io/blog/2026-10-15-lean-now-ships-...
This effort was undertaken in direct response to the bugs being surfaced by LLM-generated proofs.