Documentation

Aesop.Index.Basic

Instances For
    def Aesop.IndexingMode.hypsMatchingConst (decl : Lean.Name) :
    Lean.MetaM IndexingMode
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The source of a rule match reported by the index. We assume that only IndexMatchLocations belonging to the same goal are equated or compared.

      Instances For
        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        structure Aesop.IndexMatchResult (α : Type) :

        A rule that, according to the index, should be applied to the current goal. In addition to the rule, this data structure contains information about how the rule should be applied. For example, if the rule has rule patterns, we report the substitutions obtained by matching the rule patterns against the current goal.

        • rule : α

          The rule that should be applied.

        • locations : Array IndexMatchLocation

          Goal locations where the rule matched. The rule's indexingMode determines which locations can be contained in this set. The array contains no duplicates.

        • patternSubsts? : Option (Array Substitution)

          Pattern substitutions for this rule that were found in the goal. none iff the rule doesn't have a pattern. The array contains no duplicates.

        Instances For
          @[implicit_reducible]
          instance Aesop.instInhabitedIndexMatchResult {a✝ : Type} [Inhabited a✝] :
          Inhabited (IndexMatchResult a✝)
          Equations
          Equations
          Instances For
            @[implicit_reducible]
            instance Aesop.IndexMatchResult.instOrd {α : Type} [Ord α] :
            Equations
            @[implicit_reducible]
            instance Aesop.IndexMatchResult.instLTOfOrd {α : Type} [Ord α] :
            Equations
            @[implicit_reducible]
            instance Aesop.IndexMatchResult.instToMessageData {α : Type} [Lean.ToMessageData α] :
            Lean.ToMessageData (IndexMatchResult α)
            Equations