Diagnostic Utilities for Interval Tactics #
Error reporting, shadow diagnostics, and helpful error messages for interval tactics.
Extract interval bounds as rationals for diagnostics
Equations
Instances For
Format context of the goal for diagnostics
Equations
- LeanCert.Tactic.Auto.formatGoalContext goalType = pure (Lean.toMessageData "Goal: " ++ Lean.toMessageData goalType)
Instances For
Count foralls in an expression
Try to find the comparison in the body
Analyze goal structure for diagnostics
Equations
- One or more equations did not get rendered due to their size.
Instances For
Suggest next actions based on analysis
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
LeanCert.Tactic.Auto.mkDiagnosticReport
(tacticName : String)
(goalType : Lean.Expr)
(stage : String)
(hint : Option Lean.MessageData := none)
:
Generate a diagnostic report for parse errors
Equations
- One or more equations did not get rendered due to their size.