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

Time bar (total: 954.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.2MiB live, 0.2MiB 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)

sample691.0ms (72.4%)

Memory
-7.5MiB live, 840.4MiB allocated
Samples
462.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 213.0ms
ival-log: 127.0ms (59.7% of total)
ival-mult: 78.0ms (36.7% of total)
ival-true: 5.0ms (2.3% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

explain46.0ms (4.8%)

Memory
-24.6MiB live, 90.1MiB 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
23.0ms512×0valid
Compiler

Compiled 22 to 13 computations (40.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-log: 7.0ms (66.4% of total)
ival-mult: 3.0ms (28.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess13.0ms (1.4%)

Memory
28.1MiB live, 28.1MiB allocated
Algorithm
egg-herbie
Rules
32×distribute-lft-neg-in
18×associate-*r*
18×cancel-sign-sub-inv
16×unsub-neg
16×distribute-rgt-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
11811
23811
310411
414411
515511
615711
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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 4 to 3 computations (25% saved)

simplify9.0ms (0.9%)

Memory
-36.1MiB live, 5.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(log.f64 x)
cost-diff0
(*.f64 x (log.f64 x))
Rules
lower-*.f32
*-commutative
lower-*.f64
lift-*.f64
lift-log.f64
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)

localize13.0ms (1.4%)

Memory
25.9MiB live, 25.9MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(log.f64 x)
accuracy0.25
(*.f64 x (log.f64 x))
Samples
9.0ms256×0valid
Compiler

Compiled 9 to 5 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-log: 3.0ms (59.1% of total)
ival-mult: 2.0ms (39.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series66.0ms (6.9%)

Memory
18.4MiB live, 126.7MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())
#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())
Outputs
#s(alt (* x (log x)) (taylor 0 x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* x (log x)) (taylor 0 x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* x (log x)) (taylor 0 x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* x (log x)) (taylor 0 x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (log x) (taylor 0 x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (log x) (taylor 0 x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (log x) (taylor 0 x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (log x) (taylor 0 x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (* -1 (* x (log (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* -1 (* x (log (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* -1 (* x (log (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* -1 (* x (log (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* -1 (log (/ 1 x))) (taylor inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (* -1 (log (/ 1 x))) (taylor inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (* -1 (log (/ 1 x))) (taylor inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (* -1 (log (/ 1 x))) (taylor inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (* x (+ (log -1) (* -1 (log (/ -1 x))))) (taylor -inf x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* x (+ (log -1) (* -1 (log (/ -1 x))))) (taylor -inf x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* x (+ (log -1) (* -1 (log (/ -1 x))))) (taylor -inf x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (* x (+ (log -1) (* -1 (log (/ -1 x))))) (taylor -inf x) (#s(alt (*.f64 x (log.f64 x)) (patch (*.f64 x (log.f64 x)) #<representation:binary64>) () ())) ())
#s(alt (+ (log -1) (* -1 (log (/ -1 x)))) (taylor -inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (+ (log -1) (* -1 (log (/ -1 x)))) (taylor -inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (+ (log -1) (* -1 (log (/ -1 x)))) (taylor -inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
#s(alt (+ (log -1) (* -1 (log (/ -1 x)))) (taylor -inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation:binary64>) () ())) ())
Calls

3 calls:

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

simplify25.0ms (2.7%)

Memory
-21.9MiB live, 17.8MiB allocated
Algorithm
egg-herbie
Rules
320×lower-fma.f64
320×lower-fma.f32
224×lower-*.f64
224×lower-*.f32
104×unsub-neg
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
016120
137112
263112
3104112
4167112
5298112
6555104
7616104
8620104
9624104
0624104
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(* x (log x))
(* x (log x))
(* x (log x))
(* x (log x))
(log x)
(log x)
(log x)
(log x)
(* -1 (* x (log (/ 1 x))))
(* -1 (* x (log (/ 1 x))))
(* -1 (* x (log (/ 1 x))))
(* -1 (* x (log (/ 1 x))))
(* -1 (log (/ 1 x)))
(* -1 (log (/ 1 x)))
(* -1 (log (/ 1 x)))
(* -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)))))
(* 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))))
(+ (log -1) (* -1 (log (/ -1 x))))
Outputs
(* x (log x))
(*.f64 (log.f64 x) x)
(* x (log x))
(*.f64 (log.f64 x) x)
(* x (log x))
(*.f64 (log.f64 x) x)
(* x (log x))
(*.f64 (log.f64 x) x)
(log x)
(log.f64 x)
(log x)
(log.f64 x)
(log x)
(log.f64 x)
(log x)
(log.f64 x)
(* -1 (* x (log (/ 1 x))))
(*.f64 (log.f64 x) x)
(* -1 (* x (log (/ 1 x))))
(*.f64 (log.f64 x) x)
(* -1 (* x (log (/ 1 x))))
(*.f64 (log.f64 x) x)
(* -1 (* x (log (/ 1 x))))
(*.f64 (log.f64 x) 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)
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(*.f64 (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) x)
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(*.f64 (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) x)
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(*.f64 (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) x)
(* x (+ (log -1) (* -1 (log (/ -1 x)))))
(*.f64 (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) x)
(+ (log -1) (* -1 (log (/ -1 x))))
(+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))
(+ (log -1) (* -1 (log (/ -1 x))))
(+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))
(+ (log -1) (* -1 (log (/ -1 x))))
(+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))
(+ (log -1) (* -1 (log (/ -1 x))))
(+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))

rewrite16.0ms (1.7%)

Memory
-4.1MiB live, 31.9MiB allocated
Rules
lower-*.f32
lower-*.f64
*-commutative
lift-*.f64
lift-log.f64
Iterations

Useful iterations: 0 (0.0ms)

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

eval2.0ms (0.2%)

Memory
5.9MiB live, 5.9MiB allocated
Compiler

Compiled 164 to 16 computations (90.2% saved)

prune2.0ms (0.2%)

Memory
6.1MiB live, 6.1MiB 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 8 to 6 computations (25% saved)

simplify26.0ms (2.7%)

Memory
24.7MiB live, 62.2MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
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))
(*.f64 (log.f64 x) x)

soundness3.0ms (0.3%)

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

Compiled 4 to 3 computations (25% saved)

preprocess41.0ms (4.3%)

Memory
-2.1MiB live, 51.7MiB allocated
Compiler

Compiled 16 to 12 computations (25% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...