Equations
Instances For
Evaluates a tactic script in form of a syntax node with alternating tactics and separators as children.
Instances For
Equations
Instances For
Equations
- Lean.Elab.Tactic.isCheckpointableTactic arg = pure (arg.getKind == `Lean.Parser.Tactic.save)
Instances For
Takes a sepByIndent tactic "; "
, and inserts checkpoint
blocks for save
tactics.
Input:
a
b
save
c
d
save
e
Output:
checkpoint
a
b
save
checkpoint
c
d
save
e
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
Equations
- Lean.Elab.Tactic.evalRotateLeft stx = do let __do_lift ← Lean.Elab.Tactic.getGoals Lean.Elab.Tactic.setGoals (__do_lift.rotateLeft (Lean.Elab.Tactic.getOptRotation stx[1]))
Instances For
Equations
- Lean.Elab.Tactic.evalRotateRight stx = do let __do_lift ← Lean.Elab.Tactic.getGoals Lean.Elab.Tactic.setGoals (__do_lift.rotateRight (Lean.Elab.Tactic.getOptRotation stx[1]))
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.
Instances For
Equations
- Lean.Elab.Tactic.evalChoice stx = Lean.Elab.Tactic.evalChoiceAux stx.getArgs 0
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Elab.Tactic.evalAssumption x = Lean.Elab.Tactic.liftMetaTactic fun (mvarId : Lean.MVarId) => Lean.Meta.withAssignableSyntheticOpaque do mvarId.assumption pure []
Instances For
Equations
- Lean.Elab.Tactic.evalContradiction x = Lean.Elab.Tactic.liftMetaTactic fun (mvarId : Lean.MVarId) => do mvarId.contradiction pure []
Instances For
Equations
- Lean.Elab.Tactic.evalRefl x = Lean.Elab.Tactic.liftMetaTactic fun (mvarId : Lean.MVarId) => do mvarId.refl pure []
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.Tactic.evalIntro.introStep
(ref : Option Lean.Syntax)
(n : Lean.Name)
(typeStx? : optParam (Option Lean.Syntax) none)
:
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
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.Tactic.forEachVar
(hs : Array Lean.Syntax)
(tac : Lean.MVarId → Lean.FVarId → Lean.MetaM Lean.MVarId)
:
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
- Lean.Elab.Tactic.evalSubstVars x = Lean.Elab.Tactic.liftMetaTactic fun (mvarId : Lean.MVarId) => do let __do_lift ← Lean.Meta.substVars mvarId pure [__do_lift]
Instances For
Equations
- Lean.Elab.Tactic.evalSubstEqs x = Lean.Elab.Tactic.liftMetaTactic1 fun (x : Lean.MVarId) => x.substEqs
Instances For
def
Lean.Elab.Tactic.renameInaccessibles
(mvarId : Lean.MVarId)
(hs : Lean.TSyntaxArray `Lean.binderIdent)
:
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
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
- Lean.Elab.Tactic.evalDbgTrace stx = match stx[1].isStrLit? with | none => Lean.Elab.throwIllFormedSyntax | some msg => dbgTrace (toString msg) fun (x : Unit) => pure PUnit.unit
Instances For
Equations
- Lean.Elab.Tactic.evalSleep stx = match stx[1].isNatLit? with | none => Lean.Elab.throwIllFormedSyntax | some ms => liftM (IO.sleep ms.toUInt32)
Instances For
Equations
- Lean.Elab.Tactic.evalLeft _stx = Lean.Elab.Tactic.liftMetaTactic fun (g : Lean.MVarId) => Lean.MVarId.nthConstructor `left 0 (some 2) g
Instances For
Equations
- Lean.Elab.Tactic.evalRight _stx = Lean.Elab.Tactic.liftMetaTactic fun (g : Lean.MVarId) => Lean.MVarId.nthConstructor `right 1 (some 2) g
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.