hilbert
6
Search
☰
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
GitHub
return to top
source
Imports
Lean.Expr
Lean.Util.PtrSet
Imported by
Lean
.
Expr
.
replaceImpl
Lean
.
Expr
.
replace
Lean
.
Expr
.
replaceNoCache
Lean
.
Util
.
ReplaceExpr
source
@[extern lean_replace_expr]
opaque
Lean
.
Expr
.
replaceImpl
(
f?
:
Expr
→
Option
Expr
)
(
e
:
Expr
)
:
Expr
source
@[inline]
def
Lean
.
Expr
.
replace
(
f?
:
Expr
→
Option
Expr
)
(
e
:
Expr
)
:
Expr
Equations
Lean.Expr.replace
f?
e
=
Lean.Expr.replaceImpl
f?
e
Instances For
source
@[specialize #[]]
def
Lean
.
Expr
.
replaceNoCache
(
f?
:
Expr
→
Option
Expr
)
(
e
:
Expr
)
:
Expr
Equations
One or more equations did not get rendered due to their size.
Lean.Expr.replaceNoCache
f?
e
=
match
f?
e
with |
some
eNew
=>
eNew
|
none
=>
e
Instances For