HepLean Documentation
Lean
.
Util
.
FindLevelMVar
Search
Google site 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 :
Lean.LMVarId
→
Bool
)
(e :
Lean.Expr
)
:
Lean.FindLevelMVar.Visitor
source
partial def
Lean
.
FindLevelMVar
.
main
(p :
Lean.LMVarId
→
Bool
)
:
Lean.Expr
→
Lean.FindLevelMVar.Visitor
source
partial def
Lean
.
FindLevelMVar
.
visitLevel
(p :
Lean.LMVarId
→
Bool
)
(l :
Lean.Level
)
:
Lean.FindLevelMVar.Visitor
source
partial def
Lean
.
FindLevelMVar
.
mainLevel
(p :
Lean.LMVarId
→
Bool
)
:
Lean.Level
→
Lean.FindLevelMVar.Visitor
source
@[inline]
def
Lean
.
Expr
.
findLevelMVar?
(e :
Lean.Expr
)
(p :
Lean.LMVarId
→
Bool
)
:
Option
Lean.LMVarId
Equations
e
.findLevelMVar?
p
=
Lean.FindLevelMVar.main
p
e
none
Instances For