Statistics.Distribution.Binomial:$cvariance from math-functions-0.1.5.2

Time bar (total: 736.0ms)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample593.0ms (80.6%)

Memory
0.3MiB live, 882.4MiB allocated
Samples
368.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 183.0ms
ival-mult: 123.0ms (67.3% of total)
ival-sub: 46.0ms (25.2% of total)
ival-true: 6.0ms (3.3% of total)
exact: 5.0ms (2.7% of total)
ival-assert: 3.0ms (1.6% of total)
Bogosity

explain55.0ms (7.5%)

Memory
-14.2MiB live, 108.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(-.f64 #s(literal 1 binary64) y)
00-0-(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
00-0-y
00-0-#s(literal 1 binary64)
00-0-(*.f64 x y)
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
24.0ms512×0valid
Compiler

Compiled 59 to 28 computations (52.5% saved)

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

preprocess3.0ms (0.4%)

Memory
6.2MiB live, 6.2MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Outputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0.1%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify0.0ms (0%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 #s(literal 1 binary64) y)
cost-diff0
(*.f64 x y)
cost-diff0
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
(*.f64 x y)
x
y
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
Outputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
(*.f64 x y)
x
y
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)

localize18.0ms (2.5%)

Memory
-12.7MiB live, 25.2MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy0.0
(*.f64 x y)
accuracy0.0625
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Samples
11.0ms256×0valid
Compiler

Compiled 34 to 14 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (59.2% of total)
ival-sub: 1.0ms (19.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.8%)

Memory
11.2MiB live, 11.2MiB allocated
Counts
3 → 10
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
(*.f64 x y)
(-.f64 #s(literal 1 binary64) y)
Outputs
(* x (* y (- 1 y)))
(* x y)
(* y (+ x (* -1 (* x y))))
1
(+ 1 (* -1 y))
(* -1 (* x (pow y 2)))
(* (pow y 2) (+ (* -1 x) (/ x y)))
(* -1 y)
(* y (- (/ 1 y) 1))
(* -1 (* y (- 1 (/ 1 y))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@inf
((* (* x y) (- 1 y)) (* x y) (- 1 y))
1.0ms
x
@0
((* (* x y) (- 1 y)) (* x y) (- 1 y))
1.0ms
x
@-inf
((* (* x y) (- 1 y)) (* x y) (- 1 y))
1.0ms
y
@-inf
((* (* x y) (- 1 y)) (* x y) (- 1 y))
1.0ms
x
@inf
((* (* x y) (- 1 y)) (* x y) (- 1 y))

simplify0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
egg-herbie
Counts
10 → 3
Calls
Call 1
Inputs
(* x (* y (- 1 y)))
(* x y)
(* y (+ x (* -1 (* x y))))
1
(+ 1 (* -1 y))
(* -1 (* x (pow y 2)))
(* (pow y 2) (+ (* -1 x) (/ x y)))
(* -1 y)
(* y (- (/ 1 y) 1))
(* -1 (* y (- 1 (/ 1 y))))
Outputs
(* x (* y (- 1 y)))
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
(* x y)
(*.f64 x y)
(* y (+ x (* -1 (* x y))))
(-.f64 #s(literal 1 binary64) y)

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
(*.f64 x y)
(-.f64 #s(literal 1 binary64) y)
Outputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
(*.f64 x y)
(-.f64 #s(literal 1 binary64) y)

eval1.0ms (0.1%)

Memory
1.3MiB live, 1.3MiB allocated
Compiler

Compiled 58 to 14 computations (75.9% saved)

prune1.0ms (0.1%)

Memory
2.0MiB live, 2.0MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New516
Fresh000
Picked011
Done000
Total527
Accuracy
99.9%
Counts
7 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
3.8%
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
Compiler

Compiled 18 to 15 computations (16.7% saved)

simplify0.0ms (0%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 #s(literal 1 binary64) y)
cost-diff0
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
Calls
Call 1
Inputs
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y
Outputs
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
#s(literal 1 binary64)
y

localize17.0ms (2.2%)

Memory
-13.4MiB live, 24.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(-.f64 #s(literal 1 binary64) y)
accuracy61.57583257900463
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
Samples
12.0ms256×0valid
Compiler

Compiled 30 to 17 computations (43.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult: 3.0ms (59.2% of total)
ival-sub: 1.0ms (19.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.3%)

Memory
3.4MiB live, 3.4MiB allocated
Counts
2 → 10
Calls
Call 1
Inputs
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
Outputs
(* x (* y (- 1 y)))
(* x y)
(* y (+ x (* -1 (* x y))))
1
(+ 1 (* -1 y))
(* -1 (* x (pow y 2)))
(* (pow y 2) (+ (* -1 x) (/ x y)))
(* -1 y)
(* y (- (/ 1 y) 1))
(* -1 (* y (- 1 (/ 1 y))))
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((* (* x y) (- 1 y)) (- 1 y))
0.0ms
x
@0
((* (* x y) (- 1 y)) (- 1 y))
0.0ms
y
@-inf
((* (* x y) (- 1 y)) (- 1 y))
0.0ms
x
@inf
((* (* x y) (- 1 y)) (- 1 y))
0.0ms
y
@inf
((* (* x y) (- 1 y)) (- 1 y))

simplify0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
egg-herbie
Counts
10 → 2
Calls
Call 1
Inputs
(* x (* y (- 1 y)))
(* x y)
(* y (+ x (* -1 (* x y))))
1
(+ 1 (* -1 y))
(* -1 (* x (pow y 2)))
(* (pow y 2) (+ (* -1 x) (/ x y)))
(* -1 y)
(* y (- (/ 1 y) 1))
(* -1 (* y (- 1 (/ 1 y))))
Outputs
(* x (* y (- 1 y)))
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
(* x y)
(-.f64 #s(literal 1 binary64) y)

rewrite0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Counts
2 → 2
Calls
Call 1
Inputs
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)
Outputs
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
(-.f64 #s(literal 1 binary64) y)

eval0.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Compiler

Compiled 41 to 10 computations (75.6% saved)

prune2.0ms (0.2%)

Memory
2.8MiB live, 2.8MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New303
Fresh000
Picked011
Done011
Total325
Accuracy
99.9%
Counts
5 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.9%
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
3.8%
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
Compiler

Compiled 36 to 26 computations (27.8% saved)

regimes4.0ms (0.6%)

Memory
9.1MiB live, 9.1MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Outputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Calls

3 calls:

1.0ms
x
1.0ms
y
1.0ms
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Results
AccuracySegmentsBranch
99.9%1x
99.9%1y
99.9%1(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

regimes4.0ms (0.5%)

Memory
8.3MiB live, 8.3MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
Outputs
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
Calls

3 calls:

1.0ms
y
1.0ms
x
1.0ms
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Results
AccuracySegmentsBranch
3.8%1x
3.8%1y
3.8%1(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
Compiler

Compiled 9 to 10 computations (-11.1% saved)

simplify11.0ms (1.5%)

Memory
-46.7MiB live, 9.4MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))
Outputs
(*.f64 (*.f64 x y) (-.f64 #s(literal 1 binary64) y))
#s(approx (* (* x y) (- 1 y)) (-.f64 #s(literal 1 binary64) y))

soundness0.0ms (0.1%)

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

Compiled 18 to 11 computations (38.9% saved)

preprocess17.0ms (2.3%)

Memory
-4.7MiB live, 33.4MiB allocated
Compiler

Compiled 50 to 34 computations (32% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...