Statistics.Distribution.Binomial:directEntropy from math-functions-0.1.5.2

Time bar (total: 677.0ms)

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
100%50%0%0%0%50%0%2
Compiler

Compiled 6 to 5 computations (16.7% saved)

sample459.0ms (67.7%)

Memory
-41.2MiB live, 1 032.5MiB allocated
Samples
325.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 174.0ms
ival-log: 112.0ms (64.3% of total)
ival-mult: 54.0ms (31% of total)
ival-true: 5.0ms (2.9% of total)
ival-assert: 3.0ms (1.7% of total)
Bogosity

preprocess17.0ms (2.5%)

Memory
-6.4MiB live, 32.5MiB allocated
Algorithm
egg-herbie
Rules
52×associate-*r*
44×distribute-lft-neg-in
30×associate-*l*
28×unsub-neg
28×distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
12115
24115
311715
420515
526415
627015
727215
827515
927715
034
144
044
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(* x (log x))
Outputs
(* x (log x))
(*.f64 x (log.f64 x))
Call 2
Inputs
(* x (log x))
(* (neg x) (log (neg x)))
(neg (* (neg x) (log (neg x))))
Outputs
(* x (log x))
(* (neg x) (log (neg x)))
(neg (* (neg x) (log (neg x))))
(* x (log (neg x)))

explain42.0ms (6.3%)

Memory
13.7MiB live, 95.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(log.f64 x)
00-0-(*.f64 x (log.f64 x))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
22.0ms512×0valid
Compiler

Compiled 28 to 16 computations (42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-log: 9.0ms (70.8% of total)
ival-mult: 3.0ms (23.6% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Memory
1.9MiB live, 2.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(*.f64 x (log.f64 x))
Compiler

Compiled 5 to 3 computations (40% saved)

simplify3.0ms (0.5%)

Memory
6.5MiB live, 6.5MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(log.f64 x)
cost-diff0
(*.f64 x (log.f64 x))
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
log-lowering-log.f64
log-lowering-log.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
037
147
047
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(* x (log x))
x
(log x)
Outputs
(* x (log x))
(*.f64 x (log.f64 x))
x
(log x)
(log.f64 x)

localize15.0ms (2.2%)

Memory
-9.3MiB live, 29.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(log.f64 x)
accuracy99.6%
(*.f64 x (log.f64 x))
Samples
11.0ms256×0valid
Compiler

Compiled 9 to 5 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-log: 4.0ms (67.9% of total)
ival-mult: 2.0ms (34% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series61.0ms (9.1%)

Memory
15.2MiB live, 132.9MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#<alt (* x (log x))>
#<alt (log x)>
Outputs
#<alt (* x (log x))>
#<alt (* x (log x))>
#<alt (* x (log x))>
#<alt (* x (log x))>
#<alt (* -1 (* x (log (/ 1 x))))>
#<alt (* -1 (* x (log (/ 1 x))))>
#<alt (* -1 (* x (log (/ 1 x))))>
#<alt (* -1 (* x (log (/ 1 x))))>
#<alt (* x (+ (log -1) (* -1 (log (/ -1 x)))))>
#<alt (* x (+ (log -1) (* -1 (log (/ -1 x)))))>
#<alt (* x (+ (log -1) (* -1 (log (/ -1 x)))))>
#<alt (* x (+ (log -1) (* -1 (log (/ -1 x)))))>
#<alt (log x)>
#<alt (log x)>
#<alt (log x)>
#<alt (log x)>
#<alt (* -1 (log (/ 1 x)))>
#<alt (* -1 (log (/ 1 x)))>
#<alt (* -1 (log (/ 1 x)))>
#<alt (* -1 (log (/ 1 x)))>
#<alt (+ (log -1) (* -1 (log (/ -1 x))))>
#<alt (+ (log -1) (* -1 (log (/ -1 x))))>
#<alt (+ (log -1) (* -1 (log (/ -1 x))))>
#<alt (+ (log -1) (* -1 (log (/ -1 x))))>
Calls

6 calls:

TimeVariablePointExpression
34.0ms
x
@0
(* x (log x))
20.0ms
x
@-inf
(* x (log x))
7.0ms
x
@inf
(* x (log x))
0.0ms
x
@0
(log x)
0.0ms
x
@inf
(log x)

rewrite17.0ms (2.5%)

Memory
-1.5MiB live, 36.7MiB allocated
Algorithm
batch-egg-rewrite
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
log-lowering-log.f64
log-lowering-log.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036
146
046
Stop Event
iter limit
saturated
Counts
2 → 3
Calls
Call 1
Inputs
(* x (log x))
(log x)
Outputs
(*.f64 x (log.f64 x))
(*.f64 (log.f64 x) x)
(log.f64 x)

simplify26.0ms (3.8%)

Memory
13.2MiB live, 52.4MiB allocated
Algorithm
egg-herbie
Rules
320×accelerator-lowering-fma.f32
320×accelerator-lowering-fma.f64
224×*-lowering-*.f32
224×*-lowering-*.f64
104×unsub-neg
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
016120
137112
263112
3104112
4167112
5298112
6553104
7612104
8616104
9620104
0620104
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(* x (log x))
(* x (log x))
(* x (log x))
(* x (log x))
(* -1 (* x (log (/ 1 x))))
(* -1 (* x (log (/ 1 x))))
(* -1 (* x (log (/ 1 x))))
(* -1 (* x (log (/ 1 x))))
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(log x)
(log x)
(log x)
(log x)
(* -1 (log (/ 1 x)))
(* -1 (log (/ 1 x)))
(* -1 (log (/ 1 x)))
(* -1 (log (/ 1 x)))
(+ (log -1) (* -1 (log (/ -1 x))))
(+ (log -1) (* -1 (log (/ -1 x))))
(+ (log -1) (* -1 (log (/ -1 x))))
(+ (log -1) (* -1 (log (/ -1 x))))
Outputs
(* x (log x))
(fma.f64 x (log.f64 x) #s(literal 0 binary64))
(* x (log x))
(fma.f64 x (log.f64 x) #s(literal 0 binary64))
(* x (log x))
(fma.f64 x (log.f64 x) #s(literal 0 binary64))
(* x (log x))
(fma.f64 x (log.f64 x) #s(literal 0 binary64))
(* -1 (* x (log (/ 1 x))))
(fma.f64 x (log.f64 x) #s(literal 0 binary64))
(* -1 (* x (log (/ 1 x))))
(fma.f64 x (log.f64 x) #s(literal 0 binary64))
(* -1 (* x (log (/ 1 x))))
(fma.f64 x (log.f64 x) #s(literal 0 binary64))
(* -1 (* x (log (/ 1 x))))
(fma.f64 x (log.f64 x) #s(literal 0 binary64))
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(fma.f64 x (+.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (-.f64 #s(literal 0 binary64) x))) #s(literal 0 binary64))
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(fma.f64 x (+.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (-.f64 #s(literal 0 binary64) x))) #s(literal 0 binary64))
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(fma.f64 x (+.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (-.f64 #s(literal 0 binary64) x))) #s(literal 0 binary64))
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(fma.f64 x (+.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (-.f64 #s(literal 0 binary64) x))) #s(literal 0 binary64))
(log x)
(log.f64 x)
(log x)
(log.f64 x)
(log x)
(log.f64 x)
(log x)
(log.f64 x)
(* -1 (log (/ 1 x)))
(log.f64 x)
(* -1 (log (/ 1 x)))
(log.f64 x)
(* -1 (log (/ 1 x)))
(log.f64 x)
(* -1 (log (/ 1 x)))
(log.f64 x)
(+ (log -1) (* -1 (log (/ -1 x))))
(+.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (-.f64 #s(literal 0 binary64) x)))
(+ (log -1) (* -1 (log (/ -1 x))))
(+.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (-.f64 #s(literal 0 binary64) x)))
(+ (log -1) (* -1 (log (/ -1 x))))
(+.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (-.f64 #s(literal 0 binary64) x)))
(+ (log -1) (* -1 (log (/ -1 x))))
(+.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (-.f64 #s(literal 0 binary64) x)))

eval4.0ms (0.5%)

Memory
-30.6MiB live, 8.8MiB allocated
Compiler

Compiled 161 to 13 computations (91.9% saved)

prune1.0ms (0.2%)

Memory
3.5MiB live, 3.5MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New27027
Fresh000
Picked011
Done000
Total27128
Accuracy
99.6%
Counts
28 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(*.f64 x (log.f64 x))
Compiler

Compiled 10 to 6 computations (40% saved)

simplify6.0ms (0.9%)

Memory
16.0MiB live, 16.0MiB allocated
Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
144
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 x (log.f64 x))
Outputs
(*.f64 x (log.f64 x))

soundness0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Stop Event
done
Compiler

Compiled 5 to 3 computations (40% saved)

preprocess25.0ms (3.7%)

Memory
-27.3MiB live, 55.2MiB allocated
Compiler

Compiled 20 to 12 computations (40% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...