- options : Aesop.Options'
- ruleSet : Aesop.LocalRuleSet
- normSimpContext : Aesop.NormSimpContext
- statsRef : Aesop.StatsRef
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- Aesop.instMonadBacktrackSavedStateNormM = { saveState := liftM Lean.Meta.saveState, restoreState := fun (s : Lean.Meta.SavedState) => liftM s.restore }
Equations
- Aesop.instMonadStatsNormM = Aesop.MonadStats.mk do let __do_lift ← read pure __do_lift.statsRef
Equations
- One or more equations did not get rendered due to their size.
- succeeded: Lean.MVarId → Option (Array Aesop.Script.LazyStep) → Aesop.NormRuleResult
- proved: Option (Array Aesop.Script.LazyStep) → Aesop.NormRuleResult
Instances For
Equations
- (Aesop.NormRuleResult.succeeded goal steps?).newGoal? = some goal
- (Aesop.NormRuleResult.proved steps?).newGoal? = none
Instances For
Equations
- (Aesop.NormRuleResult.succeeded goal steps?).steps? = steps?
- (Aesop.NormRuleResult.proved steps?).steps? = steps?
Instances For
Equations
Instances For
@[always_inline]
def
Aesop.withNormTraceNode
(ruleName : Aesop.DisplayRuleName)
(k : Aesop.NormM (Option Aesop.NormRuleResult))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.withNormTraceNode.fmt
(ruleName : Aesop.DisplayRuleName)
(r : Except Lean.Exception (Option Aesop.NormRuleResult))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.runNormRuleTac.err
(rule : Aesop.NormRule)
(input : Aesop.RuleTacInput)
{α : Type}
(msg : Lean.MessageData)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.runNormRule
(goal : Lean.MVarId)
(mvars : Aesop.UnorderedArraySet Lean.MVarId)
(rule : Aesop.IndexMatchResult Aesop.NormRule)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.runFirstNormRule
(goal : Lean.MVarId)
(mvars : Aesop.UnorderedArraySet Lean.MVarId)
(rules : Array (Aesop.IndexMatchResult Aesop.NormRule))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.mkNormSimpScriptStep
(preGoal : Lean.MVarId)
(postGoal? : Option Lean.MVarId)
(preState : Lean.Meta.SavedState)
(postState : Lean.Meta.SavedState)
(usedTheorems : Lean.Meta.Simp.UsedSimps)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.SimpResult.toNormRuleResult
(originalGoal : Lean.MVarId)
(preState : Lean.Meta.SavedState)
(postState : Lean.Meta.SavedState)
:
Equations
- One or more equations did not get rendered due to their size.
- Aesop.SimpResult.toNormRuleResult originalGoal preState postState Aesop.SimpResult.unchanged = pure none
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.normSimpCore.addLocalRules
(goal : Lean.MVarId)
(localRules : Array Aesop.LocalNormSimpRule)
(ctx : Lean.Meta.Simp.Context)
(simprocs : Lean.Meta.Simp.SimprocsArray)
(isSimpAll : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.checkSimp
(name : String)
(mayCloseGoal : Bool)
(goal : Lean.MVarId)
(x : Aesop.NormM (Option Aesop.NormRuleResult))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- proved: Array (Aesop.DisplayRuleName × Option (Array Aesop.Script.LazyStep)) → Aesop.NormSeqResult
- changed: Lean.MVarId → Array (Aesop.DisplayRuleName × Option (Array Aesop.Script.LazyStep)) → Aesop.NormSeqResult
- unchanged: Aesop.NormSeqResult
Instances For
Equations
- Aesop.NormRuleResult.toNormSeqResult ruleName (Aesop.NormRuleResult.proved steps?) = Aesop.NormSeqResult.proved #[(ruleName, steps?)]
- Aesop.NormRuleResult.toNormSeqResult ruleName (Aesop.NormRuleResult.succeeded goal steps?) = Aesop.NormSeqResult.changed goal #[(ruleName, steps?)]
Instances For
Equations
- Aesop.optNormRuleResultToNormSeqResult (some (ruleName, r)) = Aesop.NormRuleResult.toNormSeqResult ruleName r
- Aesop.optNormRuleResultToNormSeqResult none = Aesop.NormSeqResult.unchanged
Instances For
@[reducible, inline]
Equations
Instances For
def
Aesop.runNormSteps
(goal : Lean.MVarId)
(steps : Array Aesop.NormStep)
(stepsNe : 0 < steps.size)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Aesop.NormStep.runPreSimpRules mvars x✝¹ x✝ x = Aesop.optNormRuleResultToNormSeqResult <$> Aesop.runFirstNormRule x✝¹ mvars x✝
Instances For
Equations
- Aesop.NormStep.runPostSimpRules mvars x✝¹ x✝ x = Aesop.optNormRuleResultToNormSeqResult <$> Aesop.runFirstNormRule x✝¹ mvars x
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.