Our tool coq-of-rust translates 🦀 Rust code into Coq. There we can specify what a function should do and prove that its translation satisfies the specification.
Our tool coq-of-rust works by translating Rust programs to the general proof system 🐓 Coq. Here we explain how we translate match patterns from Rust to Coq. The specificity of Rust patterns is to be able to match values either by value or reference.