Details

Time bar (total: 4.4s)

analyze516.0ms (11.7%)

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)

sample2.0s (44.4%)

Results
865.0ms6219×body128valid
385.0ms669×body2048valid
380.0ms574×body4096valid
190.0ms435×body1024valid
73.0ms219×body512valid
32.0ms140×body256valid
Compiler

Compiled 53 to 38 computations (28.3% saved)

simplify7.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

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

NewErrorProgram
0.6b
(+.f64 re (hypot.f64 re im))

series12.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

12.0ms
(+.f64 re (hypot.f64 re im))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
fma-def_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 17
Calls

1 calls:

2.0ms
(+.f64 re (hypot.f64 re im))

simplify61.0ms (1.4%)

Algorithm
egg-herbie
Rules
609×fma-neg_binary64
513×cancel-sign-sub-inv_binary64
257×associate-/r/_binary64
248×distribute-rgt-neg-in_binary64
241×distribute-lft-neg-in_binary64
Counts
41 → 48
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
081623
1237598
2604590
32282590
44708590
55107590

prune38.0ms (0.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New43548
Fresh000
Picked101
Done000
Total44549
Error
6.7b
Counts
49 → 5
Alt Table
StatusErrorProgram
46.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
28.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
14.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
49.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 1008 to 676 computations (32.9% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series104.0ms (2.4%)

Counts
3 → 48
Calls

3 calls:

44.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
33.0ms
(cbrt.f64 re)
27.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

rewrite8.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:

4.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))

simplify96.0ms (2.2%)

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
12671039
2861983
33718968
44753956
54987956
64914956

prune103.0ms (2.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1632165
Fresh044
Picked011
Done000
Total1637170
Error
6.7b
Counts
170 → 7
Alt Table
StatusErrorProgram
28.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
14.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.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 re) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
46.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
49.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
17.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)))))))
Compiler

Compiled 3485 to 1689 computations (51.5% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series82.0ms (1.9%)

Counts
1 → 24
Calls

1 calls:

82.0ms
(*.f64 (cbrt.f64 (fma.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 re) (hypot.f64 re im))))

rewrite12.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
16×cbrt-prod_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
1 → 42
Calls

1 calls:

5.0ms
(*.f64 (cbrt.f64 (fma.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 re) (hypot.f64 re im))))

simplify70.0ms (1.6%)

Algorithm
egg-herbie
Rules
340×times-frac_binary64
298×associate-/l*_binary64
234×associate-/r*_binary64
233×cancel-sign-sub-inv_binary64
226×associate-*l/_binary64
Counts
66 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02172996
15821940
219721780
349841780

prune379.0ms (8.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New6001601
Fresh145
Picked011
Done011
Total6017608
Error
6.7b
Counts
608 → 7
Alt Table
StatusErrorProgram
28.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
14.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.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 re) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (+.f64 re (hypot.f64 re im))) (cbrt.f64 (fma.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 re) (hypot.f64 re im)))))))
46.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
49.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 28728 to 7453 computations (74.1% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 re)
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.6b
(+.f64 re (hypot.f64 re im))
13.8b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

prune246.0ms (5.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3771378
Fresh044
Picked011
Done112
Total3787385
Error
6.7b
Counts
385 → 7
Alt Table
StatusErrorProgram
28.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (+.f64 re (hypot.f64 re im))) (cbrt.f64 (fma.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 re) (hypot.f64 re im)))))))
46.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
49.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (+.f64 re (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (+.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re)) (hypot.f64 re im)))))))
Compiler

Compiled 15735 to 4412 computations (72% saved)

regimes519.0ms (11.8%)

Accuracy

Total 3.1b remaining (29.5%)

Threshold costs 0b (0%)

Counts
43 → 3
Compiler

Compiled 7220 to 4210 computations (41.7% saved)

bsearch2.0ms (0%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03796
14996
24896

end136.0ms (3.1%)

Compiler

Compiled 273 to 161 computations (41% saved)

Profiling

Loading profile data...