Details

Time bar (total: 4.6s)

analyze467.0ms (10.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14
Compiler

Compiled 18 to 13 computations (27.8% saved)

sample1.8s (38.7%)

Results
808.0ms6318×body128valid
327.0ms651×body2048valid
321.0ms522×body4096valid
180.0ms436×body1024valid
64.0ms216×body512valid
32.0ms113×body256valid
Compiler

Compiled 53 to 38 computations (28.3% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
12515
22915
33115
43115

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
12.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 51 to 37 computations (27.5% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
0.8b
(+.f64 re (hypot.f64 re im))

series57.0ms (1.2%)

Counts
2 → 32
Calls

2 calls:

44.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
13.0ms
(+.f64 re (hypot.f64 re im))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
fma-def_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
2.0ms
(+.f64 re (hypot.f64 re im))

simplify65.0ms (1.4%)

Algorithm
egg-herbie
Rules
862×fma-neg_binary64
517×fma-def_binary64
437×associate-*r*_binary64
361×associate-*l*_binary64
244×cancel-sign-sub-inv_binary64
Counts
64 → 79
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01611270
14351196
212551148
346831148
454131148

prune56.0ms (1.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New74579
Fresh000
Picked011
Done000
Total74680
Error
6.7b
Counts
80 → 6
Alt Table
StatusErrorProgram
48.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
15.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
57.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 (/.f64 (*.f64 im im) re) -1/2 (*.f64 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) -1/16))))))
54.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
48.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 1864 to 1282 computations (31.2% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.5b
(cbrt.f64 re)
14.7b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

series169.0ms (3.7%)

Counts
4 → 56
Calls

4 calls:

68.0ms
(sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))
36.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
35.0ms
(cbrt.f64 re)
29.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
14×pow1_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
4 → 78
Calls

4 calls:

4.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
2.0ms
(sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))
1.0ms
(cbrt.f64 re)
0.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

simplify118.0ms (2.6%)

Algorithm
egg-herbie
Rules
710×fma-def_binary64
702×associate-/l*_binary64
325×cancel-sign-sub-inv_binary64
294×fma-neg_binary64
220×unswap-sqr_binary64
Counts
134 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02111923
15181757
218671664
346671645
448621645
549851645
649621645

prune117.0ms (2.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1961197
Fresh044
Picked101
Done011
Total1976203
Error
6.7b
Counts
203 → 6
Alt Table
StatusErrorProgram
48.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
57.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 (/.f64 (*.f64 im im) re) -1/2 (*.f64 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) -1/16))))))
54.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
18.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
48.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 4544 to 2402 computations (47.1% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.5b
(cbrt.f64 re)
4.9b
(exp.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))
14.7b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

series28.0ms (0.6%)

Counts
1 → 24
Calls

1 calls:

28.0ms
(exp.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))

rewrite2.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
exp-prod_binary64
exp-sum_binary64
log-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
1 → 17
Calls

1 calls:

1.0ms
(exp.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))

simplify55.0ms (1.2%)

Algorithm
egg-herbie
Rules
481×cancel-sign-sub-inv_binary64
395×fma-neg_binary64
298×associate-/r/_binary64
273×associate-/l/_binary64
216×times-frac_binary64
Counts
41 → 58
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
088775
1207536
2544530
32358522
44699522
54964522

prune99.0ms (2.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2173220
Fresh134
Picked101
Done011
Total2197226
Error
6.7b
Counts
226 → 7
Alt Table
StatusErrorProgram
20.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (pow.f64 (exp.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))))))
48.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
49.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (neg.f64 im))))))
54.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (/.f64 (*.f64 im im) re) (fma.f64 1/8 (/.f64 im (/.f64 (*.f64 re re) im)) -1/2)))))
57.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 (/.f64 (*.f64 im im) re) -1/2 (*.f64 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) -1/16))))))
48.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 4970 to 2570 computations (48.3% saved)

localize19.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 re)
2.7b
(exp.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))))
4.9b
(pow.f64 (exp.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
14.7b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

series525.0ms (11.5%)

Counts
2 → 48
Calls

2 calls:

315.0ms
(pow.f64 (exp.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
210.0ms
(exp.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow-unpow_binary64
add-log-exp_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 37
Calls

2 calls:

3.0ms
(pow.f64 (exp.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
1.0ms
(exp.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))))

simplify109.0ms (2.4%)

Algorithm
egg-herbie
Rules
446×fma-def_binary64
356×associate-*l*_binary64
306×associate-*r/_binary64
266×times-frac_binary64
236×associate-/r*_binary64
Counts
85 → 155
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05497159
117415740
254825740

prune315.0ms (6.9%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4613464
Fresh055
Picked101
Done011
Total4629471
Error
6.7b
Counts
471 → 9
Alt Table
StatusErrorProgram
48.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
54.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (/.f64 (*.f64 im im) re) (fma.f64 1/8 (/.f64 im (/.f64 (*.f64 re re) im)) -1/2)))))
50.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (pow.f64 (exp.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))))))
49.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (neg.f64 im))))))
57.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (fma.f64 (/.f64 (*.f64 im im) re) -1/2 (*.f64 (/.f64 (pow.f64 im 6) (pow.f64 re 5)) -1/16))))))
20.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (*.f64 (*.f64 (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))) (cbrt.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))))
58.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 3/2 (*.f64 (+.f64 (cbrt.f64 -1) 1) (pow.f64 (/.f64 -1 re) (cbrt.f64 -1))) (*.f64 (*.f64 (cbrt.f64 -1) (/.f64 (*.f64 (*.f64 im im) (pow.f64 (/.f64 -1 re) (cbrt.f64 -1))) (*.f64 re re))) -1/2)))))
48.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 26388 to 9498 computations (64% saved)

regimes299.0ms (6.6%)

Accuracy

Total 4.6b remaining (38.8%)

Threshold costs 0b (0%)

Counts
27 → 2
Compiler

Compiled 5203 to 3082 computations (40.8% saved)

bsearch76.0ms (1.7%)

Steps
ItersRangePoint
10
-2.4370651620935205e+211
-8.823753745983514e+195
-2.926404548759696e+196
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02652
13252
23252

end152.0ms (3.3%)

Compiler

Compiled 296 to 194 computations (34.5% saved)

Profiling

Loading profile data...