- unindexed : IndexingMode
- target (keys : Array Lean.Meta.DiscrTree.Key) : IndexingMode
- hyps (keys : Array Lean.Meta.DiscrTree.Key) : IndexingMode
- or (imodes : Array IndexingMode) : IndexingMode
Instances For
Equations
- Aesop.instInhabitedIndexingMode = { default := Aesop.IndexingMode.unindexed }
Equations
- Aesop.IndexingMode.instToFormat = { format := Aesop.IndexingMode.format }
Equations
- Aesop.IndexingMode.targetMatchingConclusion type = do let path ← Aesop.getConclusionDiscrTreeKeys type pure (Aesop.IndexingMode.target path)
Instances For
Equations
- Aesop.IndexingMode.hypsMatchingConst decl = do let path ← Aesop.getConstDiscrTreeKeys decl pure (Aesop.IndexingMode.hyps path)
Instances For
- none : IndexMatchLocation
- target : IndexMatchLocation
- hyp (ldecl : Lean.LocalDecl) : IndexMatchLocation
Instances For
Equations
- Aesop.instInhabitedIndexMatchLocation = { default := Aesop.IndexMatchLocation.none }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
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 : Std.HashSet IndexMatchLocation
Goal locations where the rule matched. The rule's
indexingMode
determines which locations can be contained in this set. - patternSubsts? : Option (Std.HashSet Substitution)
Pattern substitutions for this rule that were found in the goal.
none
iff the rule doesn't have a pattern.
Instances For
Equations
- Aesop.instInhabitedIndexMatchResult = { default := { rule := default, locations := default, patternSubsts? := default } }
Equations
- Aesop.IndexMatchResult.instOrd = { compare := fun (r s : Aesop.IndexMatchResult α) => compare r.rule s.rule }
Equations
Equations
- Aesop.IndexMatchResult.instToMessageData = { toMessageData := fun (r : Aesop.IndexMatchResult α) => Lean.toMessageData r.rule }