- options : Options'
- ruleSet : LocalRuleSet
- normSimpContext : NormSimpContext
Instances For
- forwardState : ForwardState
- forwardRuleMatches : ForwardRuleMatches
Instances For
@[instance_reducible]
Equations
@[reducible, inline]
Equations
Instances For
Equations
- Aesop.getForwardState = do let __do_lift ← getThe Aesop.NormM.State pure __do_lift.forwardState
Instances For
Equations
- Aesop.getResetForwardState = modifyGetThe Aesop.NormM.State fun (s : Aesop.NormM.State) => (s.forwardState, { forwardState := ∅, forwardRuleMatches := s.forwardRuleMatches })
Instances For
def Aesop.modifyForwardState (fs : ForwardState) (newMatches : Array ForwardRuleMatch) (erasedHyps : Std.HashSet Lean.FVarId) :
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
- succeeded (goal : Lean.MVarId) (steps? : Option (Array Script.LazyStep)) : NormRuleResult
- proved (steps? : Option (Array Script.LazyStep)) : 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]
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Aesop.runNormRuleTac (rule : NormRule) (input : RuleTacInput) (fs : ForwardState) (rs : LocalRuleSet) :
On success, returns the rule tactic's result, the new forward state and the
new forward rule matches. If rule corresponds to some forward rule matches,
returns the matches as well.
Instances For
def Aesop.runNormRule (goal : Lean.MVarId) (mvars : UnorderedArraySet Lean.MVarId) (rule : IndexMatchResult NormRule) :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Aesop.runFirstNormRule (goal : Lean.MVarId) (mvars : UnorderedArraySet Lean.MVarId) (rules : Array (IndexMatchResult 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 postState : Lean.Meta.SavedState) (usedTheorems : Lean.Meta.Simp.UsedSimps) :
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
@[always_inline]
def Aesop.checkSimp (name : String) (mayCloseGoal : Bool) (goal : Lean.MVarId) (x : NormM (Option 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 (script : Array (DisplayRuleName × Option (Array Script.LazyStep))) : NormSeqResult
- changed (goal : Lean.MVarId) (script : Array (DisplayRuleName × Option (Array Script.LazyStep))) : NormSeqResult
- unchanged : 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
@[reducible, inline]
Equations
Instances For
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.