- proved: Array Aesop.RappRef → Aesop.RuleResult
- succeeded: Array Aesop.RappRef → Aesop.RuleResult
- failed: Aesop.RuleResult
Instances For
Equations
- (Aesop.RuleResult.proved newRapps).toEmoji = Aesop.ruleProvedEmoji
- (Aesop.RuleResult.succeeded newRapps).toEmoji = Aesop.ruleSuccessEmoji
- Aesop.RuleResult.failed.toEmoji = Aesop.ruleFailureEmoji
Instances For
Equations
- (Aesop.RuleResult.proved newRapps).isSuccessful = true
- (Aesop.RuleResult.succeeded newRapps).isSuccessful = true
- Aesop.RuleResult.failed.isSuccessful = false
Instances For
- regular: Aesop.RuleResult → Aesop.SafeRuleResult
- postponed: Aesop.PostponedSafeRule → Aesop.SafeRuleResult
Instances For
Equations
- (Aesop.SafeRuleResult.regular r).toEmoji = r.toEmoji
- (Aesop.SafeRuleResult.postponed result).toEmoji = Aesop.rulePostponedEmoji
Instances For
Equations
- (Aesop.SafeRuleResult.regular r).isSuccessfulOrPostponed = r.isSuccessful
- (Aesop.SafeRuleResult.postponed result).isSuccessfulOrPostponed = true
Instances For
def
Aesop.runRegularRuleTac
(goal : Aesop.Goal)
(tac : Aesop.RuleTac)
(ruleName : Aesop.RuleName)
(indexMatchLocations : Std.HashSet Aesop.IndexMatchLocation)
(patternInstantiations : Std.HashSet Aesop.RulePatternInstantiation)
(options : Aesop.Options')
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.addRapps
{Q : Type}
[Aesop.Queue Q]
(parentRef : Aesop.GoalRef)
(rule : Aesop.RegularRule)
(rapps : Array Aesop.RuleApplication)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.withRuleTraceNode
{Q : Type}
[Aesop.Queue Q]
{α : Type}
(ruleName : Aesop.RuleName)
(toEmoji : α → String)
(suffix : String)
(k : Aesop.SearchM Q α)
:
Aesop.SearchM Q α
Equations
- Aesop.withRuleTraceNode ruleName toEmoji suffix k = Aesop.withAesopTraceNode Aesop.TraceOption.steps (Aesop.withRuleTraceNode.fmt ruleName toEmoji suffix) k
Instances For
def
Aesop.withRuleTraceNode.fmt
{Q : Type}
[Aesop.Queue Q]
{α : Type}
(ruleName : Aesop.RuleName)
(toEmoji : α → String)
(suffix : String)
(result : Except Lean.Exception α)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.runRegularRuleCore
{Q : Type}
[Aesop.Queue Q]
(parentRef : Aesop.GoalRef)
(rule : Aesop.RegularRule)
(indexMatchLocations : Std.HashSet Aesop.IndexMatchLocation)
(patternInstantiations : Std.HashSet Aesop.RulePatternInstantiation)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.runSafeRule
{Q : Type}
[Aesop.Queue Q]
(parentRef : Aesop.GoalRef)
(matchResult : Aesop.IndexMatchResult Aesop.SafeRule)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.runUnsafeRule
{Q : Type}
[Aesop.Queue Q]
(parentRef : Aesop.GoalRef)
(matchResult : Aesop.IndexMatchResult Aesop.UnsafeRule)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
- proved: Array Aesop.RappRef → Aesop.SafeRulesResult
- succeeded: Array Aesop.RappRef → Aesop.SafeRulesResult
- failed: Array Aesop.PostponedSafeRule → Aesop.SafeRulesResult
- skipped: Aesop.SafeRulesResult
Instances For
Equations
- (Aesop.SafeRulesResult.proved newRapps).toEmoji = Aesop.ruleProvedEmoji
- (Aesop.SafeRulesResult.succeeded newRapps).toEmoji = Aesop.ruleSuccessEmoji
- (Aesop.SafeRulesResult.failed postponed).toEmoji = Aesop.ruleFailureEmoji
- Aesop.SafeRulesResult.skipped.toEmoji = Aesop.ruleSkippedEmoji
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.applyPostponedSafeRule
{Q : Type}
[Aesop.Queue Q]
(r : Aesop.PostponedSafeRule)
(parentRef : Aesop.GoalRef)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.runFirstUnsafeRule
{Q : Type}
[Aesop.Queue Q]
(postponedSafeRules : Array Aesop.PostponedSafeRule)
(parentRef : Aesop.GoalRef)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
partial def
Aesop.runFirstUnsafeRule.loop
{Q : Type}
[Aesop.Queue Q]
(parentRef : Aesop.GoalRef)
(queue : Aesop.UnsafeQueue)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.expandGoal.doUnsafe
{Q : Type}
[Aesop.Queue Q]
(gref : Aesop.GoalRef)
(postponedSafeRules : Array Aesop.PostponedSafeRule)
:
Equations
- Aesop.expandGoal.doUnsafe gref postponedSafeRules = Aesop.withAesopTraceNode Aesop.TraceOption.steps Aesop.expandGoal.fmtUnsafe (Aesop.runFirstUnsafeRule postponedSafeRules gref)
Instances For
Equations
- Aesop.expandGoal.fmtNorm (Except.error a) = pure (Lean.toMessageData "" ++ Lean.toMessageData Aesop.ruleErrorEmoji ++ Lean.toMessageData " Normalisation")
- Aesop.expandGoal.fmtNorm (Except.ok true) = pure (Lean.toMessageData "" ++ Lean.toMessageData Aesop.ruleProvedEmoji ++ Lean.toMessageData " Normalisation")
- Aesop.expandGoal.fmtNorm (Except.ok false) = pure (Lean.toMessageData "" ++ Lean.toMessageData Aesop.ruleSuccessEmoji ++ Lean.toMessageData " Normalisation")
Instances For
def
Aesop.expandGoal.fmtSafe
{Q : Type}
[Aesop.Queue Q]
(result : Except Lean.Exception Aesop.SafeRulesResult)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.expandGoal.fmtUnsafe
{Q : Type}
[Aesop.Queue Q]
(result : Except Lean.Exception Aesop.RuleResult)
:
Equations
- One or more equations did not get rendered due to their size.