Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
Equations
- Lean.Elab.Tactic.isCheckpointableTactic arg = let kind := Lean.Syntax.getKind arg; pure (kind == Lean.Name.mkStr4 "Lean" "Parser" "Tactic" "save")
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.
Evaluate `sepByIndent tactic "; "
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.Tactic.evalRotateLeft stx = let n := Lean.Elab.Tactic.getOptRotation stx[1]; do let a ← Lean.Elab.Tactic.getGoals Lean.Elab.Tactic.setGoals (List.rotateLeft a n)
Equations
- Lean.Elab.Tactic.evalRotateRight stx = let n := Lean.Elab.Tactic.getOptRotation stx[1]; do let a ← Lean.Elab.Tactic.getGoals Lean.Elab.Tactic.setGoals (List.rotateRight a n)
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.Tactic.evalAssumption x = Lean.Elab.Tactic.liftMetaTactic fun mvarId => do Lean.MVarId.assumption mvarId pure []
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.Tactic.evalRefl x = Lean.Elab.Tactic.liftMetaTactic fun mvarId => do Lean.MVarId.refl mvarId pure []
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
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.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.Tactic.evalSubstVars x = Lean.Elab.Tactic.liftMetaTactic fun mvarId => do let a ← Lean.Meta.substVars mvarId pure [a]
def
Lean.Elab.Tactic.renameInaccessibles
(mvarId : Lean.MVarId)
(hs : Lean.TSyntaxArray (Lean.Name.mkStr2 "Lean" "binderIdent"))
:
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.Tactic.evalDbgTrace stx = match Lean.Syntax.isStrLit? stx[1] with | none => Lean.Elab.throwIllFormedSyntax | some msg => dbgTrace (toString msg) fun x => pure PUnit.unit
Equations
- Lean.Elab.Tactic.evalSleep stx = match Lean.Syntax.isNatLit? stx[1] with | none => Lean.Elab.throwIllFormedSyntax | some ms => liftM (IO.sleep (Nat.toUInt32 ms))