- canUnfold? : Option (Config → ConstantInfo → CoreM Bool)
Instances For
@[reducible, inline]
Instances For
@[always_inline]
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
- Auto.MetaState.instAddMessageContextMetaStateM = { addMessageContext := Lean.addMessageContextFull }
Equations
- Auto.MetaState.saveState = do let __do_lift ← getThe Lean.Core.State let __do_lift_1 ← get pure { core := __do_lift, meta := __do_lift_1 }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Auto.MetaState.instMonadBacktrackSavedStateMetaStateM = { saveState := Auto.MetaState.saveState, restoreState := fun (s : Auto.MetaState.SavedState) => s.restore }
Equations
- Auto.MetaState.getToContext = do let st ← get pure st.toContext
Instances For
Equations
- Auto.MetaState.setToContext field = modify fun (st : Auto.MetaState.State) => { toState := st.toState, toContext := field }
Instances For
Equations
- Auto.MetaState.setToState field = modify fun (st : Auto.MetaState.State) => { toState := field, toContext := st.toContext }
Instances For
Equations
- Auto.MetaState.getToState = do let st ← get pure st.toState
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Run n
, set State and discard context
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Auto.MetaState.runWithIntroducedFVars
{n : Type → Type u_1}
{α β : Type}
[MonadControlT Lean.MetaM n]
[Monad n]
(m : MetaStateM (Array Lean.FVarId × α))
(k : α → n β)
:
n β
Equations
- Auto.MetaState.runWithIntroducedFVars m k = Lean.Meta.map1MetaM (fun {α_1 : Type} (k : α → Lean.MetaM α_1) => Auto.MetaState.runWithIntroducedFVarsImp✝ m k) k
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
def
Auto.MetaState.mkLocalDecl
(fvarId : Lean.FVarId)
(userName : Lean.Name)
(type : Lean.Expr)
(bi : Lean.BinderInfo := Lean.BinderInfo.default)
(kind : Lean.LocalDeclKind := Lean.LocalDeclKind.default)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Auto.MetaState.mkLetDecl
(fvarId : Lean.FVarId)
(userName : Lean.Name)
(type value : Lean.Expr)
(nonDep : Bool := false)
(kind : Lean.LocalDeclKind := default)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Auto.MetaState.withLocalDecl
(n : Lean.Name)
(bi : Lean.BinderInfo)
(type : Lean.Expr)
(kind : Lean.LocalDeclKind)
:
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
Auto.MetaState.withTemporaryLCtx
{n : Type → Type u_1}
{α : Type}
[MonadLiftT MetaStateM n]
[Monad n]
(lctx : Lean.LocalContext)
(localInsts : Lean.LocalInstances)
(k : n α)
:
n α
Equations
- One or more equations did not get rendered due to their size.