Documentation

Lean.Meta.Tactic.Grind.CollectParams

Given an auto-generated grind tactic script, collect params for single shot finish or top-level grind tactic.

@[reducible, inline]
Equations
    Instances For

      Given a grind tactic sequence, extracts parameters and builds an terminal finish only tactic.

      Equations
        Instances For
          def Lean.Meta.Grind.mkGrindOnlyTactics (cfg : TSyntax `Lean.Parser.Tactic.optConfig) (seq : List TGrind) (extraParams : Array TParam := #[]) :
          CoreM (Array (TSyntax `tactic))

          Given a grind tactic sequence, extracts parameters and builds a grind only tactics. It returns at most two. The first tactic uses anchors to restrict the search if applicable. The second does not restrict the search using anchors. The second option is included only if there are anchors.

          The extraParams are additional parameters (e.g., term arguments from the original grind? call) that should always be included in the suggestion.

          Equations
            Instances For