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 = let kind := arg.getKind; pure (kind == `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 = let n := Lean.Elab.Tactic.getOptRotation stx[1]; do let __do_lift ← Lean.Elab.Tactic.getGoals Lean.Elab.Tactic.setGoals (__do_lift.rotateLeft n)
Instances For
Equations
- Lean.Elab.Tactic.evalRotateRight stx = let n := Lean.Elab.Tactic.getOptRotation stx[1]; do let __do_lift ← Lean.Elab.Tactic.getGoals Lean.Elab.Tactic.setGoals (__do_lift.rotateRight n)
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
- Lean.Elab.Tactic.evalUnknown stx = do let __do_lift ← Lean.Elab.Tactic.getGoals Lean.Elab.addCompletionInfo (Lean.Elab.CompletionInfo.tactic stx __do_lift)
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 : Lake.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.