Tactic linters #
This file defines passes to run from the tactic analysis framework.
Define a pass that tries replacing a specific tactic with grind
.
tacticKind
is the SyntaxNodeKind
for the tactic's main parser,
for example Mathlib.Tactic.linarith
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Debug grind
by identifying places where it does not yet supersede linarith
.
Debug grind
by identifying places where it does not yet supersede linarith
.
Equations
- linarithToGrind = grindReplacementWith `Mathlib.Tactic.linarith
Instances For
Debug grind
by identifying places where it does not yet supersede omega
.
Debug grind
by identifying places where it does not yet supersede omega
.
Equations
- omegaToGrind = grindReplacementWith `Lean.Parser.Tactic.ring
Instances For
Debug grind
by identifying places where it does not yet supersede ring
.
Debug grind
by identifying places where it does not yet supersede ring
.
Equations
- ringToGrind = grindReplacementWith `Mathlib.Tactic.RingNF.ring
Instances For
Suggest merging two adjacent rw
tactics if that also solves the goal.
Suggest merging two adjacent rw
tactics if that also solves the goal.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Suggest merging tac; grind
into just grind
if that also solves the goal.
Suggest merging tac; grind
into just grind
if that also solves the goal.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Suggest replacing a sequence of tactics with grind
if that also solves the goal.
Suggest replacing a sequence of tactics with grind
if that also solves the goal.
Equations
- One or more equations did not get rendered due to their size.