Documentation
Lean
.
Compiler
.
LCNF
.
Probing
Search
return to top
source
Imports
Lean.Compiler.LCNF.PhaseExt
Imported by
Lean
.
Compiler
.
LCNF
.
Probe
Lean
.
Compiler
.
LCNF
.
Probe
.
map
Lean
.
Compiler
.
LCNF
.
Probe
.
filter
Lean
.
Compiler
.
LCNF
.
Probe
.
sorted
Lean
.
Compiler
.
LCNF
.
Probe
.
sortedBySize
Lean
.
Compiler
.
LCNF
.
Probe
.
countUnique
Lean
.
Compiler
.
LCNF
.
Probe
.
countUniqueSorted
Lean
.
Compiler
.
LCNF
.
Probe
.
getLetValues
Lean
.
Compiler
.
LCNF
.
Probe
.
getJps
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByLet
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByFun
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByJp
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByFunDecl
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByCases
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByJmp
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByReturn
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByUnreach
Lean
.
Compiler
.
LCNF
.
Probe
.
declNames
Lean
.
Compiler
.
LCNF
.
Probe
.
toString
Lean
.
Compiler
.
LCNF
.
Probe
.
count
Lean
.
Compiler
.
LCNF
.
Probe
.
sum
Lean
.
Compiler
.
LCNF
.
Probe
.
tail
Lean
.
Compiler
.
LCNF
.
Probe
.
head
Lean
.
Compiler
.
LCNF
.
Probe
.
toPass
source
@[reducible, inline]
abbrev
Lean
.
Compiler
.
LCNF
.
Probe
(
α
:
Type
u_1)
(
β
:
Type
)
:
Type
u_1
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
map
{
α
:
Type
u_1}
{
β
:
Type
}
(
f
:
α
→
CompilerM
β
)
:
Probe
α
β
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filter
{
α
:
Type
}
(
f
:
α
→
CompilerM
Bool
)
:
Probe
α
α
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
sorted
{
α
:
Type
}
[
Inhabited
α
]
[
LT
α
]
[
DecidableLT
α
]
:
Probe
α
α
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
sortedBySize
(
pu
:
Purity
)
:
Probe
(
Decl
pu
)
(
Nat
×
Decl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
countUnique
{
α
:
Type
}
[
ToString
α
]
[
BEq
α
]
[
Hashable
α
]
:
Probe
α
(
α
×
Nat
)
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
countUniqueSorted
{
α
:
Type
}
[
ToString
α
]
[
BEq
α
]
[
Hashable
α
]
[
Inhabited
α
]
:
Probe
α
(
α
×
Nat
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
getLetValues
(
pu
:
Purity
)
:
Probe
(
Decl
pu
)
(
LetValue
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
getJps
(
pu
:
Purity
)
:
Probe
(
Decl
pu
)
(
FunDecl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByLet
(
pu
:
Purity
)
(
f
:
LetDecl
pu
→
CompilerM
Bool
)
:
Probe
(
Decl
pu
)
(
Decl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByFun
(
pu
:
Purity
)
(
f
:
FunDecl
pu
→
CompilerM
Bool
)
:
Probe
(
Decl
pu
)
(
Decl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByJp
(
pu
:
Purity
)
(
f
:
FunDecl
pu
→
CompilerM
Bool
)
:
Probe
(
Decl
pu
)
(
Decl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByFunDecl
(
pu
:
Purity
)
(
f
:
FunDecl
pu
→
CompilerM
Bool
)
:
Probe
(
Decl
pu
)
(
Decl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByCases
(
pu
:
Purity
)
(
f
:
Cases
pu
→
CompilerM
Bool
)
:
Probe
(
Decl
pu
)
(
Decl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByJmp
(
pu
:
Purity
)
(
f
:
FVarId
→
Array
(
Arg
pu
)
→
CompilerM
Bool
)
:
Probe
(
Decl
pu
)
(
Decl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByReturn
(
pu
:
Purity
)
(
f
:
FVarId
→
CompilerM
Bool
)
:
Probe
(
Decl
pu
)
(
Decl
pu
)
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
filterByUnreach
(
pu
:
Purity
)
(
f
:
Expr
→
CompilerM
Bool
)
:
Probe
(
Decl
pu
)
(
Decl
pu
)
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
declNames
(
pu
:
Purity
)
:
Probe
(
Decl
pu
)
Name
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
toString
{
α
:
Type
u_1}
[
ToString
α
]
:
Probe
α
String
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
count
{
α
:
Type
u_1}
:
Probe
α
Nat
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
sum
:
Probe
Nat
Nat
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
tail
{
α
:
Type
}
(
n
:
Nat
)
:
Probe
α
α
Instances For
source
@[inline]
def
Lean
.
Compiler
.
LCNF
.
Probe
.
head
{
α
:
Type
}
(
n
:
Nat
)
:
Probe
α
α
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
Probe
.
toPass
{
β
:
Type
}
[
ToString
β
]
(
phase
:
Phase
)
(
probe
:
Probe
(
Decl
phase
.
toPurity
)
β
)
:
Pass
Instances For