Equations
- Lean.Meta.Simp.instInhabitedResult = { default := { expr := default, proof? := default, dischargeDepth := default } }
@[inline, reducible]
Instances For
@[inline, reducible]
Instances For
- config : Lean.Meta.Simp.Config
- simpTheorems : Lean.Meta.SimpTheoremsArray
- congrTheorems : Lean.Meta.SimpCongrTheorems
- dischargeDepth : Nat
Instances For
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
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline, reducible]
Instances For
- cache : Lean.Meta.Simp.Cache
- congrCache : Lean.Meta.Simp.CongrCache
- usedTheorems : Lean.Meta.Simp.UsedSimps
- numSteps : Nat
Instances For
@[inline, reducible]
Equations
Instances For
Equations
- Lean.Meta.Simp.instMonadBacktrackSavedStateSimpM = { saveState := liftM Lean.Meta.saveState, restoreState := fun s => liftM (Lean.Meta.SavedState.restore s) }
Instances For
Equations
- Lean.Meta.Simp.instInhabitedStep = { default := Lean.Meta.Simp.Step.visit default }
Equations
- Lean.Meta.Simp.Step.result x = match x with | Lean.Meta.Simp.Step.visit r => r | Lean.Meta.Simp.Step.done r => r
Instances For
Equations
- Lean.Meta.Simp.Step.updateResult x x = match x, x with | Lean.Meta.Simp.Step.visit a, r => Lean.Meta.Simp.Step.visit r | Lean.Meta.Simp.Step.done a, r => Lean.Meta.Simp.Step.done r
Instances For
- post : Lean.Expr → Lean.Meta.SimpM Lean.Meta.Simp.Step
- discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr)
Instances For
Equations
- Lean.Meta.Simp.instInhabitedMethods = { default := { pre := default, post := default, discharge? := default } }
@[inline, reducible]
Instances For
Equations
- Lean.Meta.Simp.pre e = do let __do_lift ← read liftM (Lean.Meta.Simp.Methods.pre __do_lift e)
Instances For
Equations
- Lean.Meta.Simp.post e = do let __do_lift ← read liftM (Lean.Meta.Simp.Methods.post __do_lift e)
Instances For
Equations
- Lean.Meta.Simp.discharge? e = do let __do_lift ← read liftM (Lean.Meta.Simp.Methods.discharge? __do_lift e)
Instances For
Equations
- Lean.Meta.Simp.getConfig = do let __do_lift ← readThe Lean.Meta.Simp.Context pure __do_lift.config
Instances For
@[inline]
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.Simp.getSimpTheorems = do let __do_lift ← readThe Lean.Meta.Simp.Context pure __do_lift.simpTheorems
Instances For
Equations
- Lean.Meta.Simp.getSimpCongrTheorems = do let __do_lift ← readThe Lean.Meta.Simp.Context pure __do_lift.congrTheorems
Instances For
@[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.
Instances For
Equations
- One or more equations did not get rendered due to their size.