Documentation
Lean
.
Util
.
FindLevelMVar
Search
return to top
source
Imports
Lean.Expr
Imported by
Lean
.
FindLevelMVar
.
Visitor
Lean
.
FindLevelMVar
.
visit
Lean
.
FindLevelMVar
.
main
Lean
.
FindLevelMVar
.
visitLevel
Lean
.
FindLevelMVar
.
mainLevel
Lean
.
Expr
.
findLevelMVar?
source
@[reducible, inline]
abbrev
Lean
.
FindLevelMVar
.
Visitor
:
Type
Equations
Lean.FindLevelMVar.Visitor
=
(
Option
Lean.LMVarId
→
Option
Lean.LMVarId
)
Instances For
source
partial def
Lean
.
FindLevelMVar
.
visit
(p :
LMVarId
→
Bool
)
(e :
Expr
)
:
Visitor
source
partial def
Lean
.
FindLevelMVar
.
main
(p :
LMVarId
→
Bool
)
:
Expr
→
Visitor
source
partial def
Lean
.
FindLevelMVar
.
visitLevel
(p :
LMVarId
→
Bool
)
(l :
Level
)
:
Visitor
source
partial def
Lean
.
FindLevelMVar
.
mainLevel
(p :
LMVarId
→
Bool
)
:
Level
→
Visitor
source
@[inline]
def
Lean
.
Expr
.
findLevelMVar?
(e :
Expr
)
(p :
LMVarId
→
Bool
)
:
Option
LMVarId
Equations
e
.findLevelMVar?
p
=
Lean.FindLevelMVar.main
p
e
none
Instances For