Data.HyperLogLog.Config:hll from hyperloglog-0.3.4

Time bar (total: 1.5s)

analyze0.0ms (0%)

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 8 to 5 computations (37.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-mult: 0.0ms (0% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample1.0s (70.8%)

Results
786.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 165.0ms
ival-mult: 156.0ms (94.6% of total)
const: 7.0ms (4.2% of total)
backward-pass: 2.0ms (1.2% of total)
Bogosity

preprocess22.0ms (1.5%)

Algorithm
egg-herbie
Rules
86×associate-*r*
58×unsub-neg
54×distribute-lft-in
50×distribute-lft-neg-in
36×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01432
15032
211032
324032
435332
538032
638632
045
185
295
095
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(* (* x y) y)
Outputs
(* (* x y) y)
(*.f64 x (*.f64 y y))
Call 2
Inputs
(* (* x y) y)
(* (* (neg x) y) y)
(* (* x (neg y)) (neg y))
(neg (* (* (neg x) y) y))
(neg (* (* x (neg y)) (neg y)))
(* (* y x) x)
Outputs
(* (* x y) y)
(* x (* y y))
(* (* (neg x) y) y)
(* x (* y (neg y)))
(* (* x (neg y)) (neg y))
(* x (* y y))
(neg (* (* (neg x) y) y))
(* x (* y y))
(neg (* (* x (neg y)) (neg y)))
(* x (* y (neg y)))
(* (* y x) x)
(* y (* x x))
Symmetry

(abs y)

(negabs x)

explain43.0ms (2.9%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(*.f64 (*.f64 x y) y)
00-0-(*.f64 x y)
00-0-x
00-0-y
Results
25.0ms512×0valid
Compiler

Compiled 33 to 14 computations (57.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.0ms
ival-mult: 8.0ms (92.4% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 7 to 4 computations (42.9% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x y) y)
89.6%
(*.f64 x (*.f64 y y))
Compiler

Compiled 14 to 8 computations (42.9% saved)

localize40.0ms (2.7%)

Algorithm
egg-herbie
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(*.f64 (*.f64 x y) y)
cost-diff0
(*.f64 y y)
cost-diff0
(*.f64 x (*.f64 y y))
accuracy100.0%
(*.f64 x y)
accuracy99.8%
(*.f64 (*.f64 x y) y)
accuracy100.0%
(*.f64 y y)
accuracy89.6%
(*.f64 x (*.f64 y y))
Rules
14×*-lowering-*.f32
14×*-lowering-*.f64
*-commutative
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
1918
0918
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(* x (* y y))
x
(* y y)
y
(* (* x y) y)
(* x y)
Outputs
(* x (* y y))
(*.f64 y (*.f64 x y))
x
(* y y)
(*.f64 y y)
y
(* (* x y) y)
(*.f64 y (*.f64 x y))
(* x y)
(*.f64 x y)
Results
21.0ms256×0valid
Compiler

Compiled 23 to 7 computations (69.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-mult: 9.0ms (91.7% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series13.0ms (0.9%)

Counts
4 → 84
Calls
Call 1
Inputs
#<alt (* x (* y y))>
#<alt (* y y)>
#<alt (* (* x y) y)>
#<alt (* 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 (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (pow y 2)>
#<alt (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 (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

21 calls:

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

rewrite162.0ms (11.1%)

Algorithm
batch-egg-rewrite
Rules
2136×pow-lowering-pow.f64
2136×pow-lowering-pow.f32
1592×*-lowering-*.f32
1592×*-lowering-*.f64
1412×prod-exp
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0618
11118
21818
33418
49018
527910
616924
717174
818404
930804
084674
Stop Event
iter limit
node limit
Counts
4 → 11
Calls
Call 1
Inputs
(* x (* y y))
(* y y)
(* (* x y) y)
(* x y)
Outputs
x
(*.f64 #s(literal 1 binary64) x)
(*.f64 x #s(literal 1 binary64))
#s(literal 1 binary64)
y
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))

simplify9.0ms (0.6%)

Algorithm
egg-herbie
Rules
14×*-lowering-*.f32
14×*-lowering-*.f64
*-commutative
pow-lowering-pow.f64
pow-lowering-pow.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06348
19348
211348
011348
Stop Event
iter limit
saturated
Counts
84 → 84
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))
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(pow y 2)
(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 (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 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(pow y 2)
(*.f64 y y)
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y y))
(* x (pow y 2))
(*.f64 x (*.f64 y 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)

eval8.0ms (0.5%)

Compiler

Compiled 455 to 22 computations (95.2% saved)

prune2.0ms (0.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New93295
Fresh000
Picked022
Done000
Total93497
Accuracy
99.9%
Counts
97 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x y) y)
89.6%
(*.f64 x (*.f64 y y))
30.2%
(*.f64 x y)
5.0%
x
Compiler

Compiled 22 to 13 computations (40.9% saved)

localize56.0ms (3.8%)

Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
accuracy100.0%
(*.f64 x y)
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035
145
045
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
x
(* x y)
y
Outputs
x
(* x y)
(*.f64 x y)
y
Results
45.0ms256×0valid
Compiler

Compiled 9 to 4 computations (55.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (76.8% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

series1.0ms (0.1%)

Counts
1 → 24
Calls
Call 1
Inputs
#<alt (* 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
x
@0
(* x y)
0.0ms
y
@inf
(* x y)
0.0ms
x
@inf
(* x y)
0.0ms
x
@-inf
(* x y)
0.0ms
y
@-inf
(* x y)

rewrite9.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

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

simplify4.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-lowering-*.f32
*-lowering-*.f64
*-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)

eval2.0ms (0.2%)

Compiler

Compiled 80 to 4 computations (95% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New26026
Fresh000
Picked022
Done022
Total26430
Accuracy
99.9%
Counts
30 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(*.f64 (*.f64 x y) y)
89.6%
(*.f64 x (*.f64 y y))
30.2%
(*.f64 x y)
5.0%
x
Compiler

Compiled 38 to 19 computations (50% saved)

regimes6.0ms (0.4%)

Counts
4 → 1
Calls
Call 1
Inputs
x
(*.f64 x y)
(*.f64 x (*.f64 y y))
(*.f64 (*.f64 x y) y)
Outputs
(*.f64 (*.f64 x y) y)
Calls

3 calls:

2.0ms
y
2.0ms
x
1.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)

regimes7.0ms (0.5%)

Counts
3 → 1
Calls
Call 1
Inputs
x
(*.f64 x y)
(*.f64 x (*.f64 y y))
Outputs
(*.f64 x (*.f64 y y))
Calls

2 calls:

5.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
89.6%1x
89.6%1y
Compiler

Compiled 6 to 4 computations (33.3% saved)

regimes3.0ms (0.2%)

Counts
2 → 1
Calls
Call 1
Inputs
x
(*.f64 x y)
Outputs
(*.f64 x y)
Calls

2 calls:

1.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
30.2%1y
30.2%1x
Compiler

Compiled 6 to 4 computations (33.3% saved)

regimes1.0ms (0.1%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

2 calls:

0.0ms
x
0.0ms
y
Results
AccuracySegmentsBranch
5.0%1y
5.0%1x
Compiler

Compiled 6 to 4 computations (33.3% saved)

soundness1.0ms (0%)

Stop Event
done
Compiler

Compiled 16 to 6 computations (62.5% saved)

preprocess33.0ms (2.3%)

Remove

(negabs x)

(abs y)

Compiler

Compiled 186 to 100 computations (46.2% saved)

end0.0ms (0%)

Profiling

Loading profile data...