The lemma
ax_expr_compose is used to prove the structural Hoare rules for
expressions. It is proven by chasing all (interleaved) reduction paths for the
compound expression. This is done step-wise by distinguishing the following
cases:
-
All subexpressions are values.
-
Some subexpression contains a redex that is not a function call.
-
Some subexpression contains a redex that is a function call. In this case we
use the lemma ax_call_compose.
.
}.
.
.
.
.
.
.
.
.
|].
.
.
.
.
.
).
).
.
).
.