Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.synthesizeArgs
(thmName : Lean.Name)
(xs : Array Lean.Expr)
(bis : Array Lean.BinderInfo)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.synthesizeArgs.synthesizeInstance
(thmName : Lean.Name)
(x : Lean.Expr)
(type : Lean.Expr)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.tryTheoremWithExtraArgs?
(e : Lean.Expr)
(thm : Lean.Meta.SimpTheorem)
(numExtraArgs : Nat)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.tryTheorem?
(e : Lean.Expr)
(thm : Lean.Meta.SimpTheorem)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.rewrite?
(e : Lean.Expr)
(s : Lean.Meta.DiscrTree Lean.Meta.SimpTheorem)
(erased : Std.PHashSet Lean.Name)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
(tag : String)
(rflOnly : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.rewrite?.inErasedSet
(erased : Std.PHashSet Lean.Name)
(thm : Lean.Meta.SimpTheorem)
:
Equations
- Lean.Meta.Simp.rewrite?.inErasedSet erased thm = match thm.name? with | none => false | some name => Std.PersistentHashSet.contains erased name
@[inline]
def
Lean.Meta.Simp.andThen
(s : Lean.Meta.Simp.Step)
(f? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Meta.Simp.Step))
:
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.
@[inline]
Equations
- Lean.Meta.Simp.tryRewriteCtorEq? e = do let a ← liftM (Lean.Meta.Simp.rewriteCtorEq? e) match a with | some r => pure (some (Lean.Meta.Simp.Step.done r)) | none => pure none
Equations
- One or more equations did not get rendered due to their size.
@[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.
def
Lean.Meta.Simp.simpMatchCore?
(app : Lean.Meta.MatcherApp)
(e : Lean.Expr)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.simpMatch?
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
(e : Lean.Expr)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.rewritePre
(e : Lean.Expr)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
(rflOnly : optParam Bool false)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.rewritePost
(e : Lean.Expr)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
(rflOnly : optParam Bool false)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Meta.Simp.preDefault
(e : Lean.Expr)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
:
Equations
- Lean.Meta.Simp.preDefault e discharge? = do let s ← Lean.Meta.Simp.rewritePre e discharge? false Lean.Meta.Simp.andThen s Lean.Meta.Simp.tryRewriteUsingDecide?
def
Lean.Meta.Simp.postDefault
(e : Lean.Expr)
(discharge? : Lean.Expr → Lean.Meta.SimpM (Option Lean.Expr))
:
Equations
- One or more equations did not get rendered due to their size.