Documentation

Mathlib.Tactic.Widget.Conv

Conv widget #

This is a slightly improved version of one of the examples that used to be in the ProofWidget library. It defines a conv? tactic that displays a widget panel allowing to generate a conv call zooming to the subexpression selected in the goal.

Return the syntax to insert for the conv widget. Factored out of insertEnter for easy testing.

Equations
    Instances For

      Return the text for the link in the conv widget that inserts the replacement, and also return the replacement, and the range within the file to highlight after the replacement is inserted. The highlighted range will always be the trailing skip.

      Equations
        Instances For

          Display a widget panel allowing to generate a conv call zooming to the subexpression selected in the goal or in the type of a local hypothesis or let-decl.

          Equations
            Instances For