- script : Script.UScript
- proofHasMVar : Bool
Instances For
@[reducible, inline]
Equations
- Aesop.ExtractScriptM = StateRefT' IO.RealWorld Aesop.ExtractScriptM.State Aesop.TreeM
Instances For
Equations
- x.run = do let __discr ← StateRefT'.run x { } match __discr with | (fst, r) => pure (r.script, r.proofHasMVar)
Instances For
def
Aesop.ExtractScript.lazyStepToStep
(ruleName : DisplayRuleName)
(lstep : Script.LazyStep)
:
Lean.MetaM Script.Step
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.ExtractScript.lazyStepsToSteps
(ruleName : DisplayRuleName)
:
Option (Array Script.LazyStep) → Lean.MetaM (Array Script.Step)
Equations
- Aesop.ExtractScript.lazyStepsToSteps ruleName none = Lean.throwError (Lean.toMessageData "tactic script generation is not supported by rule " ++ Lean.toMessageData ruleName)
- Aesop.ExtractScript.lazyStepsToSteps ruleName (some lsteps) = Array.mapM (Aesop.ExtractScript.lazyStepToStep ruleName) lsteps
Instances For
Equations
- Aesop.ExtractScript.recordStep step = modify fun (s : Aesop.ExtractScriptM.State) => { script := Array.push s.script step, proofHasMVar := s.proofHasMVar }
Instances For
def
Aesop.ExtractScript.recordLazySteps
(ruleName : DisplayRuleName)
(steps? : Option (Array Script.LazyStep))
:
ExtractScriptM Unit
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
@[inline]
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- mref.extractSafePrefixScriptCore = do let __do_lift ← ST.Ref.get mref Array.forM (fun (x : Aesop.GoalRef) => x.extractSafePrefixScriptCore) __do_lift.goals
Instances For
Equations
- One or more equations did not get rendered due to their size.