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

Time bar (total: 1.8s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated; 0ms collecting garbage
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)

sample1.4s (77.5%)

Memory
-24.2MiB live, 1 236.5MiB allocated; 1.0s collecting garbage
Samples
572.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 432.0ms
ival-log: 285.0ms (66% of total)
ival-mult: 138.0ms (32% of total)
ival-true: 5.0ms (1.2% of total)
ival-assert: 3.0ms (0.7% of total)
adjust: 2.0ms (0.5% of total)
Bogosity

explain45.0ms (2.5%)

Memory
-16.9MiB live, 130.0MiB allocated; 11ms collecting garbage
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
25.0ms512×0valid
Compiler

Compiled 22 to 13 computations (40.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
ival-log: 10.0ms (70.1% of total)
ival-mult: 3.0ms (21% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess13.0ms (0.7%)

Memory
-12.5MiB live, 33.9MiB allocated; 2ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
11211
21711
32211
42711
034
054
164
064
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 x (log.f64 x))
Outputs
(*.f64 x (log.f64 x))
(*.f64 (log.f64 x) x)
Compiler

Compiled 4 to 3 computations (25% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(*.f64 x (log.f64 x))
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0.2%)

Memory
8.0MiB live, 8.0MiB allocated; 0ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(log.f64 x)
cost-diff0
(*.f64 x (log.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
037
057
167
067
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 x (log.f64 x))
x
(log.f64 x)
Outputs
(*.f64 x (log.f64 x))
(*.f64 (log.f64 x) x)
x
(log.f64 x)

localize15.0ms (0.8%)

Memory
2.3MiB live, 49.3MiB allocated; 2ms collecting garbage
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(log.f64 x)
accuracy0.26953125
(*.f64 x (log.f64 x))
Samples
10.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: 3.0ms (51.9% of total)
ival-mult: 3.0ms (51.9% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series63.0ms (3.5%)

Memory
2.6MiB live, 189.5MiB allocated; 16ms collecting garbage
Counts
2 → 6
Calls
Call 1
Inputs
(*.f64 x (log.f64 x))
(log.f64 x)
Outputs
#s(approx (* x (log x)) #s(hole binary64 (* x (log x))))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx (* x (log x)) #s(hole binary64 (* -1 (* x (log (/ 1 x))))))
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (* x (log x)) #s(hole binary64 (* x (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x))))))
Calls

3 calls:

TimeVariablePointExpression
34.0ms
x
@0
((* x (log x)) (log x))
19.0ms
x
@-inf
((* x (log x)) (log x))
9.0ms
x
@inf
((* x (log x)) (log x))

simplify166.0ms (9.2%)

Memory
6.2MiB live, 194.4MiB allocated; 57ms collecting garbage
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
02254
14652
28852
316552
450452
5251750
0565250
Stop Event
iter limit
iter limit
node limit
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (* x (log x)) #s(hole binary64 (* x (log x))))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx (* x (log x)) #s(hole binary64 (* -1 (* x (log (/ 1 x))))))
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (* x (log x)) #s(hole binary64 (* x (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x))))))
Outputs
#s(approx (* x (log x)) #s(hole binary64 (* x (log x))))
#s(approx (* x (log x)) (*.f64 x (log.f64 x)))
#s(approx (log x) #s(hole binary64 (log x)))
#s(approx (log x) (log.f64 x))
#s(approx (* x (log x)) #s(hole binary64 (* -1 (* x (log (/ 1 x))))))
#s(approx (* x (log x)) (*.f64 x (log.f64 x)))
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x)))))
#s(approx (log x) (log.f64 x))
#s(approx (* x (log x)) #s(hole binary64 (* x (+ (log -1) (* -1 (log (/ -1 x)))))))
#s(approx (* x (log x)) (*.f64 x (-.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))))
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x))))))
#s(approx (log x) (-.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))))

rewrite41.0ms (2.2%)

Memory
10.1MiB live, 55.7MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036
056
186
2136
3446
02436
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 14
Calls
Call 1
Inputs
(*.f64 x (log.f64 x))
(log.f64 x)
Outputs
(*.f64 (*.f64 (/.f64 x #s(literal 2 binary64)) #s(literal 2 binary64)) (log.f64 x))
(*.f64 (/.f64 x #s(literal 2 binary64)) (log.f64 (*.f64 x x)))
(*.f64 #s(literal 2 binary64) (log.f64 (sqrt.f64 (pow.f64 x x))))
(*.f64 (log.f64 x) (log.f64 (exp.f64 x)))
(*.f64 (log.f64 x) x)
(*.f64 x (log.f64 x))
(/.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) (log.f64 (sqrt.f64 (pow.f64 x x)))) (*.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) (log.f64 (sqrt.f64 (pow.f64 x x))))) (-.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) (log.f64 (sqrt.f64 (pow.f64 x x)))))
(/.f64 (+.f64 (pow.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) #s(literal 3 binary64)) (pow.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) #s(literal 3 binary64))) (fma.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) (log.f64 (sqrt.f64 (pow.f64 x x))) (-.f64 (*.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) (log.f64 (sqrt.f64 (pow.f64 x x)))) (*.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) (log.f64 (sqrt.f64 (pow.f64 x x)))))))
(fma.f64 (/.f64 x #s(literal 2 binary64)) (log.f64 x) (log.f64 (sqrt.f64 (pow.f64 x x))))
(fma.f64 (log.f64 x) (/.f64 x #s(literal 2 binary64)) (log.f64 (sqrt.f64 (pow.f64 x x))))
(+.f64 (log.f64 (neg.f64 (sqrt.f64 (pow.f64 x x)))) (log.f64 (neg.f64 (sqrt.f64 (pow.f64 x x)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 x x))) (log.f64 (sqrt.f64 (pow.f64 x x))))
(log.f64 (pow.f64 x x))
(log.f64 x)

eval2.0ms (0.1%)

Memory
5.0MiB live, 5.0MiB allocated; 0ms collecting garbage
Compiler

Compiled 216 to 48 computations (77.8% saved)

prune1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated; 0ms collecting garbage
Pruning

1 alts after pruning (0 fresh and 1 done)

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

Compiled 8 to 6 computations (25% saved)

simplify44.0ms (2.5%)

Memory
-33.3MiB live, 13.3MiB allocated; 33ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

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

derivations0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated; 0ms collecting garbage
Stop Event
done
Compiler

Compiled 4 to 3 computations (25% saved)

preprocess13.0ms (0.7%)

Memory
28.7MiB live, 28.7MiB allocated; 0ms collecting garbage
Compiler

Compiled 16 to 12 computations (25% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...