VOD: https://www.youtube.com/watch?v=-jTTxv9WvNw


Verification of Program Optimisations (Lean)

Agenda. From last time to now has been entirely cleanup. I’ve moved a lot of the modules around and fleshed out the lemmas for the most basic optimisations (like x + 0 ~> 0 for example).

The opt_rw lemma tactic is now orw [lemma] to be in line with rw.

Aftermath

There are a decent amount of issues when encoding annoying to use hypotheses around the instructions that need it. For example a (h : (b : iN n) < n) is quite unwieldy for the user and proving side.