Equations
- Lean.Meta.Simp.instInhabitedResult = { default := { expr := default, proof? := default, dischargeDepth := default } }
@[inline]
@[inline]
- config : Lean.Meta.Simp.Config
- simpTheorems : Lean.Meta.SimpTheoremsArray
- congrTheorems : Lean.Meta.SimpCongrTheorems
- dischargeDepth : Nat
Equations
- Lean.Meta.Simp.instInhabitedContext = { default := { config := default, simpTheorems := default, congrTheorems := default, parent? := default, dischargeDepth := default } }
Equations
- Lean.Meta.Simp.Context.isDeclToUnfold ctx declName = Lean.Meta.SimpTheoremsArray.isDeclToUnfold ctx.simpTheorems declName
Equations
- One or more equations did not get rendered due to their size.
- cache : Lean.Meta.Simp.Cache
- congrCache : Lean.Meta.Simp.CongrCache
- numSteps : Nat
@[inline]
Equations
- Lean.Meta.Simp.instMonadBacktrackSavedStateSimpM = { saveState := liftM Lean.Meta.saveState, restoreState := fun s => liftM (Lean.Meta.SavedState.restore s) }
Equations
- Lean.Meta.Simp.instInhabitedStep = { default := Lean.Meta.Simp.Step.visit default }
Equations
- Lean.Meta.Simp.Step.result _fun_discr = match _fun_discr with | Lean.Meta.Simp.Step.visit r => r | Lean.Meta.Simp.Step.done r => r
Equations
- One or more equations did not get rendered due to their size.
- post : Lean.Expr → Lean.Meta.SimpM Lean.Meta.Simp.Step
- discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr)
Equations
- Lean.Meta.Simp.instInhabitedMethods = { default := { pre := default, post := default, discharge? := default } }
@[inline]
Equations
- Lean.Meta.Simp.pre e = do let a ← read liftM (Lean.Meta.Simp.Methods.pre a e)
Equations
- Lean.Meta.Simp.post e = do let a ← read liftM (Lean.Meta.Simp.Methods.post a e)
Equations
- Lean.Meta.Simp.discharge? e = do let a ← read liftM (Lean.Meta.Simp.Methods.discharge? a e)
Equations
- Lean.Meta.Simp.getConfig = do let a ← readThe Lean.Meta.Simp.Context pure a.config
@[inline]
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Meta.Simp.getSimpTheorems = do let a ← readThe Lean.Meta.Simp.Context pure a.simpTheorems
Equations
- Lean.Meta.Simp.getSimpCongrTheorems = do let a ← readThe Lean.Meta.Simp.Context pure a.congrTheorems
@[inline]
def
Lean.Meta.Simp.withSimpTheorems
{α : Type}
(s : Lean.Meta.SimpTheoremsArray)
(x : Lean.Meta.Simp.M α)
:
Equations
- One or more equations did not get rendered due to their size.