Details

Time bar (total: 5.0s)

analyze397.0ms (7.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample3.3s (66.7%)

Results
1.6s2607×body1024valid
760.0ms1272×body2048valid
525.0ms1266×body512valid
279.0ms2445×body128valid
146.0ms621×body256valid
34.0ms45×body4096valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
hypot-1-def_binary64
fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0812
1139
2149
3139

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
47.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
47.5b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 30 to 21 computations (30% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.4b
(+.f64 x (hypot.f64 1 x))
4.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
2.0ms
(+.f64 x (hypot.f64 1 x))

rewrite109.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
575×log1p-expm1-u_binary64
575×expm1-log1p-u_binary64
462×prod-diff_binary64
347×fma-udef_binary64
185×fma-def_binary64
Counts
2 → 67
Calls

2 calls:

107.0ms
(+.f64 x (hypot.f64 1 x))
107.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0616
112016
2143616
3483116
4480416
5497616
000
100

simplify57.0ms (1.1%)

Algorithm
egg-herbie
Rules
799×fma-neg_binary64
426×associate-/r*_binary64
387×associate-*l*_binary64
364×cancel-sign-sub-inv_binary64
308×associate-*r*_binary64
Counts
91 → 111
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
084411
1253397
2680391
31945391
44405391
54908391

prune63.0ms (1.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1065111
Fresh000
Picked101
Done000
Total1075112
Error
0.0b
Counts
112 → 5
Alt Table
StatusErrorProgram
48.6b
(exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))
30.0b
(fma.f64 (pow.f64 x 3) -1/6 x)
47.5b
(log.f64 (fma.f64 x 1 (hypot.f64 1 x)))
46.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
60.1b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
Compiler

Compiled 1555 to 1158 computations (25.5% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (pow.f64 x 3) -1/6 x)

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(fma.f64 (pow.f64 x 3) -1/6 x)

rewrite107.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
493×log1p-expm1-u_binary64
493×expm1-log1p-u_binary64
281×unpow-prod-down_binary64
223×log-prod_binary64
208×prod-diff_binary64
Counts
1 → 36
Calls

1 calls:

106.0ms
(fma.f64 (pow.f64 x 3) -1/6 x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11268
212808
348898
450108
000
100

simplify167.0ms (3.3%)

Algorithm
egg-herbie
Rules
1705×fma-def_binary64
865×fma-neg_binary64
818×unswap-sqr_binary64
615×sqr-pow_binary64
528×cube-prod_binary64
Counts
48 → 41
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
09105
123105
25987
314787
429887
577487
6112087
7171087
8321787
9416487
10427787
11426187
12404487
13330487
14393987
15436087
16481087
17477087

prune23.0ms (0.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New41041
Fresh044
Picked011
Done000
Total41546
Error
0.0b
Counts
46 → 5
Alt Table
StatusErrorProgram
48.6b
(exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))
30.0b
(fma.f64 (pow.f64 x 3) -1/6 x)
47.5b
(log.f64 (fma.f64 x 1 (hypot.f64 1 x)))
46.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
60.1b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
Compiler

Compiled 591 to 452 computations (23.5% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
0.3b
(/.f64 1/8 (pow.f64 x 3))
11.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))

series13.0ms (0.3%)

Counts
3 → 24
Calls

3 calls:

7.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
3.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
3.0ms
(/.f64 1/8 (pow.f64 x 3))

rewrite70.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
914×prod-diff_binary64
193×log1p-udef_binary64
110×add-sqr-sqrt_binary64
109×log1p-expm1-u_binary64
109×expm1-log1p-u_binary64
Counts
3 → 104
Calls

3 calls:

69.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
69.0ms
(/.f64 1/8 (pow.f64 x 3))
69.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01035
123031
2288631
3488431
000
100

simplify52.0ms (1%)

Algorithm
egg-herbie
Rules
880×fma-neg_binary64
732×fma-def_binary64
685×times-frac_binary64
524×cancel-sign-sub-inv_binary64
387×associate-*l*_binary64
Counts
128 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
063410
1180402
2497400
31626396
44148396
55672396

prune69.0ms (1.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1310131
Fresh033
Picked011
Done011
Total1315136
Error
0.0b
Counts
136 → 5
Alt Table
StatusErrorProgram
48.6b
(exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))
30.0b
(fma.f64 (pow.f64 x 3) -1/6 x)
47.5b
(log.f64 (fma.f64 x 1 (hypot.f64 1 x)))
46.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
60.1b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
Compiler

Compiled 2218 to 1756 computations (20.8% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.4b
(fma.f64 x 1 (hypot.f64 1 x))
4.0b
(log.f64 (fma.f64 x 1 (hypot.f64 1 x)))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(log.f64 (fma.f64 x 1 (hypot.f64 1 x)))
2.0ms
(fma.f64 x 1 (hypot.f64 1 x))

rewrite81.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
790×log1p-udef_binary64
430×log1p-expm1-u_binary64
430×expm1-log1p-u_binary64
302×prod-diff_binary64
270×unpow-prod-down_binary64
Counts
2 → 93
Calls

2 calls:

79.0ms
(fma.f64 x 1 (hypot.f64 1 x))
79.0ms
(log.f64 (fma.f64 x 1 (hypot.f64 1 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
111016
2112916
3463416
4629616
000
100

simplify57.0ms (1.1%)

Algorithm
egg-herbie
Rules
799×fma-neg_binary64
426×associate-/r*_binary64
387×associate-*l*_binary64
364×cancel-sign-sub-inv_binary64
308×associate-*r*_binary64
Counts
117 → 137
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
084411
1253397
2680391
31945391
44405391
54908391

prune123.0ms (2.5%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1370137
Fresh022
Picked011
Done022
Total1375142
Error
0.0b
Counts
142 → 5
Alt Table
StatusErrorProgram
48.6b
(exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))
30.0b
(fma.f64 (pow.f64 x 3) -1/6 x)
47.5b
(log.f64 (fma.f64 x 1 (hypot.f64 1 x)))
46.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
60.1b
(log.f64 (/.f64 (-.f64 (*.f64 x x) (fma.f64 x x 1)) (-.f64 x (hypot.f64 1 x))))
Compiler

Compiled 2034 to 1564 computations (23.1% saved)

regimes118.0ms (2.3%)

Accuracy

Total 0.1b remaining (84.4%)

Threshold costs 0.1b (84.4%)

Counts
32 → 3
Compiler

Compiled 972 to 742 computations (23.7% saved)

bsearch36.0ms (0.7%)

Steps
ItersRangePoint
8
2.861332380623058e-6
0.021286450759173393
0.0010906364138287723
9
-4.83044265941669
-9.161204285302546e-6
-1.0730541910957112
Compiler

Compiled 2 to 1 computations (50% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02442
12742
22642

end85.0ms (1.7%)

Compiler

Compiled 111 to 81 computations (27% saved)

Profiling

Loading profile data...