Documentation

Lean.Meta.Tactic.Grind.AC.Types

Instances For
    @[reducible, inline]
    Instances For
      Instances For
        Instances For

          State for all associative operators detected by grind.

          • structs : Array Struct

            Structures/operators detected. We expect to find a small number of associative operators in a given goal. Thus, using Array is fine here.

          • Mapping from operators to its "operator id". We cache failures using none. opIdOf[op] is some id, then id < structs.size.

          • exprToOpIds : PHashMap ExprPtr (List Nat)

            Mapping from expressions/terms to their structure ids. Recall that term may be the argument of different operators.

          • steps : Nat
          Instances For