The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V34. The tactics of Mathlib

Mathlib.Tactic.Widget.CongrM

4 declarations. Mathlib docs · Source

CongrM widget

This file defines a congrm? tactic that displays a widget panel allowing to generate a congrm call with holes specified by selecting subexpressions in the goal.

CongrM widget

def makeCongrMString E1 #

Array Lean.SubExpr.GoalsLocation →
  Lean.Expr → SelectInsertParams → Lean.MetaM (String × String × Option (String.Pos.Raw × String.Pos.Raw))

Return the link text and inserted text above and below of the congrm widget.

def CongrMSelectionPanel.rpc E1 #

SelectInsertParams → Lean.Server.RequestM (Lean.Server.RequestTask ProofWidgets.Html)

Rpc function for the congrm widget.

def CongrMSelectionPanel E1 #

ProofWidgets.Component SelectInsertParams

The congrm widget.

def tacticCongrm? E1 #

Lean.ParserDescr

Display a widget panel allowing to generate a congrm call with holes specified by selecting subexpressions in the goal.