Program analysis by optimizing for clarity.
- IMP language (Figure 3)
- IMP Relational big-step semantic (Figure 4)
- IMP functonal semantics (Figure 5)
- FUN language (Figure 6)
- FUN value representation for Option Monad (Figure 7)
- FUN small step semantics
-
IMP is deterministic
-
Adequacy between big-step semantics and functional semantics.
-
Soundness of the IMP to FUN transformation