ewrite_with" class="anchor"></a><code><span><span class="keyword">val</span> rewrite_with : <span><span>( <span><a href="#type-term">term</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-term">term</a> )</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-term">term</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-term">term</a></span></code></div><div class="spec-doc"><p>`rewrite_with f t` rewrites the term t by applying the rule f bottom-up.</p></div></div><