And do you have any examples of where UB from unsafe rust leaks to outside the program? Surely you would look back at the unsafe code always to fix it.
If you're looking for a full blown SMT solver and general purpose dependently-typed PL have a look at F*
https://fstar-lang.org