Documentation

MIPStarRE.LDT.Tactic.AvgCongr

Local avgOver congruence tactic #

This opt-in proof helper peels equality goals headed by the project-local MIPStarRE.LDT.avgOver by first trying avgOver_congr, introducing the averaged variable, and recursing through nested averages. When a using tactic asks it to close the leaf and the plain route cannot do so, it backtracks to the support-restricted theorem avgOver_congr_on_support, introduces both the averaged variable and its support membership hypothesis, and retries the same leaf logic. At non-average leaves it tries an optional user-supplied tactic first, then rfl and simp, and finally leaves an unclosed leaf goal for the following tactic only after at least one average has been peeled.

Usage patterns:

The tactic is intentionally conservative: it registers no global simp rules and first tries the existing avgOver_congr theorem. With a using tactic, the support-restricted theorem avgOver_congr_on_support is used only as a backtracking fallback when the plain route cannot close the resulting leaf.

Recursively peel avgOver equality goals with optional leaf tactics.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Elaborator for the avg_congr tactic syntax.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For