The rewrite by section command applies the rewrite rules of a chosen section within a selection until none are applicable. The form of a rewrite rule is explained in rewrite by rule, along with the effect of a rewrite.
When applied interactively, the section is chosen from a menu of the names of those sections that are ancestors of the goal's section.
"rewrite by section" "section_name" e
This example applies the rewrite by section command using the rewrite rules of the section named ``section_name'' within the expression e in the goal.