Details

Time bar (total: 4.4s)

analyze494.0ms (11.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 (40%)

Results
767.0ms6247×body128valid
349.0ms543×body4096valid
339.0ms671×body2048valid
182.0ms442×body1024valid
75.0ms233×body512valid
28.0ms120×body256valid
Compiler

Compiled 53 to 38 computations (28.3% saved)

simplify9.0ms (0.2%)

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

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
13.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
13.5b
(*.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 3 expressions with local error:

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

series47.0ms (1.1%)

Counts
3 → 56
Calls

3 calls:

28.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
10.0ms
(+.f64 re (hypot.f64 re im))
9.0ms
(hypot.f64 re im)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
3 → 42
Calls

3 calls:

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

simplify87.0ms (2%)

Algorithm
egg-herbie
Rules
615×fma-def_binary64
531×fma-neg_binary64
460×associate-*r*_binary64
385×associate-*l*_binary64
294×cancel-sign-sub-inv_binary64
Counts
98 → 118
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01881829
15141737
214651673
349901673
453081673

prune77.0ms (1.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1135118
Fresh000
Picked011
Done000
Total1136119
Error
8.5b
Counts
119 → 6
Alt Table
StatusErrorProgram
15.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
47.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
48.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
57.6b
(*.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))))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
13.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 2669 to 1828 computations (31.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.5b
(cbrt.f64 re)
15.2b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

series93.0ms (2.1%)

Counts
3 → 48
Calls

3 calls:

35.0ms
(cbrt.f64 re)
35.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
23.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
10×pow1_binary64
Counts
3 → 65
Calls

3 calls:

7.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
1.0ms
(cbrt.f64 re)
0.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

simplify92.0ms (2.1%)

Algorithm
egg-herbie
Rules
749×times-frac_binary64
486×fma-neg_binary64
403×associate-/r*_binary64
393×distribute-neg-frac_binary64
314×fma-def_binary64
Counts
113 → 127
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01181156
12671083
28611037
337181022
447531010
549871010
649141010

prune135.0ms (3.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2022204
Fresh044
Picked101
Done011
Total2037210
Error
8.5b
Counts
210 → 7
Alt Table
StatusErrorProgram
15.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2) (cbrt.f64 (cbrt.f64 re)))) (cbrt.f64 re) (hypot.f64 re im)))))
48.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
47.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
57.6b
(*.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))))))
15.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im)))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
13.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 4538 to 2266 computations (50.1% saved)

localize11.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)
0.5b
(cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re)))
15.2b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))

series53.0ms (1.2%)

Counts
2 → 36
Calls

2 calls:

29.0ms
(cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re)))
24.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 22
Calls

2 calls:

5.0ms
(cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re)))
0.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))

simplify51.0ms (1.1%)

Algorithm
egg-herbie
Rules
432×times-frac_binary64
419×fma-neg_binary64
408×distribute-rgt-neg-in_binary64
314×distribute-neg-frac_binary64
298×associate-*r*_binary64
Counts
58 → 71
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
087595
1210574
2641566
33551565
45145565

prune190.0ms (4.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2822284
Fresh145
Picked101
Done011
Total2847291
Error
8.5b
Counts
291 → 7
Alt Table
StatusErrorProgram
15.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im)))))
13.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
47.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
48.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
57.6b
(*.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))))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
16.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im)))))))
Compiler

Compiled 7723 to 2934 computations (62% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re)))
0.5b
(cbrt.f64 (cbrt.f64 re))
0.9b
(pow.f64 (cbrt.f64 (cbrt.f64 re)) 4)
15.1b
(fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))

series544.0ms (12.3%)

Counts
3 → 48
Calls

3 calls:

273.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 re)) 4)
248.0ms
(cbrt.f64 (cbrt.f64 re))
22.0ms
(fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod_binary64
unpow-prod-down_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
3 → 52
Calls

3 calls:

2.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 re)) 4)
1.0ms
(cbrt.f64 (cbrt.f64 re))
0.0ms
(fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))

simplify77.0ms (1.7%)

Algorithm
egg-herbie
Rules
575×fma-neg_binary64
509×times-frac_binary64
458×associate-*l*_binary64
437×associate-*r*_binary64
324×associate-/r*_binary64
Counts
100 → 109
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01321590
12991296
28201282
344891282
449931282

prune137.0ms (3.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1531154
Fresh055
Picked101
Done011
Total1547161
Error
8.5b
Counts
161 → 7
Alt Table
StatusErrorProgram
47.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
16.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im)))))))
48.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
57.6b
(*.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))))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
13.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
16.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re))) (hypot.f64 re im)))))))
Compiler

Compiled 4815 to 2195 computations (54.4% saved)

regimes343.0ms (7.8%)

Accuracy

Total 2.9b remaining (28.1%)

Threshold costs 0b (0%)

Counts
32 → 3
Compiler

Compiled 5450 to 3345 computations (38.6% saved)

bsearch1.0ms (0%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
042120
154120
254120

end141.0ms (3.2%)

Compiler

Compiled 383 to 205 computations (46.5% saved)

Profiling

Loading profile data...