Data.HyperLogLog.Config:hll from hyperloglog-0.3.4

Time bar (total: 2.8s)

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 7 to 6 computations (14.3% saved)

sample496.0ms (17.5%)

Memory
6.9MiB live, 924.8MiB allocated
Samples
320.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 150.0ms
ival-mult: 141.0ms (94.3% of total)
ival-true: 6.0ms (4% of total)
ival-assert: 3.0ms (2% of total)
Bogosity

preprocess25.0ms (0.9%)

Memory
-5.2MiB live, 32.4MiB allocated
Algorithm
egg-herbie
Rules
96×associate-*r*
58×unsub-neg
54×distribute-lft-in
50×distribute-lft-neg-in
38×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01231
14627
211227
324827
436427
539027
639627
045
065
1105
2115
0115
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) y)
Outputs
(*.f64 (*.f64 x y) y)
(*.f64 x (*.f64 y y))
Symmetry

(abs y)

(negabs x)

explain85.0ms (3%)

Memory
-37.1MiB live, 61.9MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(*.f64 (*.f64 x y) y)
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
26.0ms512×0valid
Compiler

Compiled 38 to 20 computations (47.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 7.0ms (87.1% 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 2 to 2 computations (0% saved)

prune1.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x y) y)
Compiler

Compiled 7 to 4 computations (42.9% saved)

simplify5.0ms (0.2%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(*.f64 (*.f64 x y) y)
Rules
14×lower-*.f32
10×lower-*.f64
*-commutative
lift-*.f64
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
11010
21110
01110
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) y)
(*.f64 x y)
x
y
Outputs
(*.f64 (*.f64 x y) y)
(*.f64 x (*.f64 y y))
(*.f64 x y)
x
y

localize77.0ms (2.7%)

Memory
-14.9MiB live, 23.0MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x y)
accuracy99.8%
(*.f64 (*.f64 x y) y)
Samples
8.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

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

series4.0ms (0.2%)

Memory
6.3MiB live, 6.3MiB allocated
Counts
2 → 48
Calls
Call 1
Inputs
#<alt (*.f64 (*.f64 x y) y)>
#<alt (*.f64 x y)>
Outputs
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x (pow y 2))>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@0
(* (* x y) y)
1.0ms
y
@inf
(* (* x y) y)
0.0ms
x
@inf
(* (* x y) y)
0.0ms
y
@0
(* (* x y) y)
0.0ms
x
@inf
(* x y)

simplify5.0ms (0.2%)

Memory
8.2MiB live, 8.3MiB allocated
Algorithm
egg-herbie
Rules
14×lower-*.f64
14×lower-*.f32
*-commutative
lower-pow.f64
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06192
19192
211192
011192
Stop Event
iter limit
saturated
Counts
48 → 48
Calls
Call 1
Inputs
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x (pow y 2))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
Outputs
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x (pow y 2))
(*.f64 y (*.f64 x y))
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)

rewrite150.0ms (5.3%)

Memory
-9.0MiB live, 110.1MiB allocated
Algorithm
batch-egg-rewrite
Rules
2 136×lower-pow.f64
2 136×lower-pow.f32
1 592×lower-*.f32
1 590×lower-*.f64
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
0610
11010
21310
32010
43610
59210
62796
716762
817012
918242
1030542
084132
Stop Event
iter limit
node limit
iter limit
Counts
2 → 6
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) y)
(*.f64 x y)
Outputs
x
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))
x
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))

eval5.0ms (0.2%)

Memory
6.9MiB live, 6.9MiB allocated
Compiler

Compiled 310 to 10 computations (96.8% saved)

prune2.0ms (0.1%)

Memory
3.1MiB live, 3.1MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New52254
Fresh000
Picked011
Done000
Total52355
Accuracy
99.8%
Counts
55 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x y) y)
28.9%
(*.f64 x y)
4.9%
x
Compiler

Compiled 15 to 9 computations (40% saved)

simplify5.0ms (0.2%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
Rules
lower-*.f32
*-commutative
lower-*.f64
lift-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036
046
156
056
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
x
(*.f64 x y)
x
y
Outputs
x
(*.f64 x y)
x
y

localize11.0ms (0.4%)

Memory
10.8MiB live, 10.8MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 x y)
Samples
7.0ms256×0valid
Compiler

Compiled 8 to 5 computations (37.5% saved)

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

series0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Counts
1 → 24
Calls
Call 1
Inputs
#<alt (*.f64 x y)>
Outputs
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
#<alt (* x y)>
Calls

6 calls:

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

simplify3.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated
Algorithm
egg-herbie
Rules
lower-*.f64
lower-*.f32
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0372
1472
0472
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
Outputs
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)
(* x y)
(*.f64 x y)

rewrite49.0ms (1.7%)

Memory
-30.6MiB live, 8.9MiB allocated
Algorithm
batch-egg-rewrite
Rules
lower-*.f32
lower-*.f64
*-commutative
lift-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
043
153
053
Stop Event
iter limit
saturated
iter limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 x y)
Outputs
(*.f64 x y)
(*.f64 y x)

eval2.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated
Compiler

Compiled 104 to 4 computations (96.2% saved)

prune2.0ms (0.1%)

Memory
2.4MiB live, 2.4MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New26026
Fresh000
Picked022
Done011
Total26329
Accuracy
99.8%
Counts
29 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x y) y)
28.9%
(*.f64 x y)
4.9%
x
Compiler

Compiled 26 to 13 computations (50% saved)

regimes6.0ms (0.2%)

Memory
8.8MiB live, 8.8MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
x
(*.f64 x y)
(*.f64 (*.f64 x y) y)
Outputs
(*.f64 (*.f64 x y) y)
Calls

3 calls:

2.0ms
y
2.0ms
x
2.0ms
(*.f64 (*.f64 x y) y)
Results
AccuracySegmentsBranch
99.8%1x
99.8%1y
99.8%1(*.f64 (*.f64 x y) y)
Compiler

Compiled 13 to 8 computations (38.5% saved)

regimes5.0ms (0.2%)

Memory
11.2MiB live, 11.2MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
x
(*.f64 x y)
Outputs
(*.f64 x y)
Calls

3 calls:

2.0ms
y
2.0ms
x
1.0ms
(*.f64 (*.f64 x y) y)
Results
AccuracySegmentsBranch
28.9%1x
28.9%1y
28.9%1(*.f64 (*.f64 x y) y)
Compiler

Compiled 13 to 8 computations (38.5% saved)

regimes4.0ms (0.1%)

Memory
10.1MiB live, 10.1MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
x
Outputs
x
Calls

3 calls:

1.0ms
y
1.0ms
x
1.0ms
(*.f64 (*.f64 x y) y)
Results
AccuracySegmentsBranch
4.9%1x
4.9%1(*.f64 (*.f64 x y) y)
4.9%1y
Compiler

Compiled 13 to 8 computations (38.5% saved)

simplify15.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
049
169
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x y) y)
(*.f64 x y)
x
Outputs
(*.f64 (*.f64 x y) y)
(*.f64 y (*.f64 x y))
(*.f64 x y)
x

soundness1.8s (64.6%)

Memory
-4.3MiB live, 112.7MiB allocated
Rules
2 136×lower-pow.f64
2 136×lower-pow.f32
1 592×lower-*.f32
1 590×lower-*.f64
1 412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
048
0610
11010
21310
32010
43610
59210
62796
716762
817012
918242
1030542
084132
Stop Event
done
iter limit
node limit
iter limit
Compiler

Compiled 11 to 4 computations (63.6% saved)

preprocess44.0ms (1.5%)

Memory
1.4MiB live, 122.3MiB allocated
Remove

(negabs x)

(abs y)

Compiler

Compiled 92 to 48 computations (47.8% saved)

end0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

Profiling

Loading profile data...