Details

Time bar (total: 3.7s)

analyze183.0ms (5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%62.4%12.6%6
31.2%50%18.8%7
40.6%37.5%22%8
45.3%26.5%28.2%9
46.8%19.5%33.7%10
48.8%14%37.2%11
51.7%10.1%38.1%12
52.8%7.1%40.1%13
53.3%5.1%41.6%14
Compiler

Compiled 22 to 12 computations (45.5% saved)

sample1.1s (31.1%)

Results
990.0ms8256×body128valid
56.0ms425×body128invalid
Compiler

Compiled 65 to 35 computations (46.2% saved)

simplify127.0ms (3.5%)

Algorithm
egg-herbie
Rules
680×unsub-neg_binary64
594×fma-neg_binary64
560×sub-neg_binary64
520×fma-def_binary64
399×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01226
13025
27123
319416
457314
5177914
6304814
7413714
8461514
9474914
10478414
11490714
12499814

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
6.9b
Counts
3 → 2
Alt Table
StatusErrorProgram
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
6.9b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
Compiler

Compiled 97 to 51 computations (47.4% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))
0.1b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
0.1b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
6.5b
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)

series48.0ms (1.3%)

Counts
4 → 96
Calls

4 calls:

14.0ms
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
13.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
12.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
8.0ms
(+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))

rewrite23.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
12×associate-*l/_binary64
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
4 → 79
Calls

4 calls:

6.0ms
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
5.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
5.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
3.0ms
(+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))

simplify119.0ms (3.3%)

Algorithm
egg-herbie
Rules
245×times-frac_binary64
240×associate-*l*_binary64
214×associate-*r*_binary64
204×fma-neg_binary64
200×distribute-rgt-out_binary64
Counts
175 → 142
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01562858
14472479
217562377
335392365
447752365
550892365

prune118.0ms (3.2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1366142
Fresh011
Picked101
Done000
Total1377144
Error
0.1b
Counts
144 → 7
Alt Table
StatusErrorProgram
7.4b
(-.f64 (*.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
6.9b
(fma.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re (neg.f64 (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)))
37.6b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (*.f64 (*.f64 2 (*.f64 x.re x.im)) (sqrt.f64 x.im)) (sqrt.f64 x.im)))
0.2b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
7.2b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))) (cbrt.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)))) (*.f64 x.im (cbrt.f64 (*.f64 2 (*.f64 x.re x.im))))))
6.9b
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2))))
Compiler

Compiled 4358 to 909 computations (79.1% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 x.re x.im) x.re)
0.1b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
0.1b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
0.2b
(*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re))

series33.0ms (0.9%)

Counts
3 → 72
Calls

3 calls:

14.0ms
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
14.0ms
(*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re))
5.0ms
(*.f64 (-.f64 x.re x.im) x.re)

rewrite37.0ms (1%)

Algorithm
rewrite-expression-head
Rules
42×associate-*l/_binary64
17×flip-+_binary64
17×flip3-+_binary64
16×frac-sub_binary64
12×frac-times_binary64
Counts
3 → 85
Calls

3 calls:

10.0ms
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
9.0ms
(*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re))
5.0ms
(*.f64 (-.f64 x.re x.im) x.re)

simplify115.0ms (3.1%)

Algorithm
egg-herbie
Rules
600×fma-neg_binary64
595×associate-*l*_binary64
551×associate-*r*_binary64
324×cancel-sign-sub-inv_binary64
307×distribute-rgt-in_binary64
Counts
157 → 148
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02073654
17752962
236462738
343582738
446952738

prune190.0ms (5.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1816187
Fresh336
Picked101
Done000
Total1859194
Error
0b
Counts
194 → 9
Alt Table
StatusErrorProgram
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
0.7b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
0.6b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (+.f64 x.re x.im)) (cbrt.f64 (+.f64 x.re x.im))) (*.f64 (cbrt.f64 (+.f64 x.re x.im)) (*.f64 (-.f64 x.re x.im) x.re))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
37.6b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (*.f64 (*.f64 2 (*.f64 x.re x.im)) (sqrt.f64 x.im)) (sqrt.f64 x.im)))
0.9b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))) (cbrt.f64 (-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)))) (cbrt.f64 (-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))))
0.2b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
0.5b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) (cbrt.f64 (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))) (cbrt.f64 (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))))
41.6b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (/.f64 (*.f64 x.im (*.f64 2 (pow.f64 (*.f64 x.re x.im) 3))) (+.f64 (*.f64 (*.f64 x.re x.im) (*.f64 x.re x.im)) (-.f64 (*.f64 (*.f64 x.im x.re) (*.f64 x.im x.re)) (*.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))))))
6.9b
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2))))
Compiler

Compiled 6791 to 1460 computations (78.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 x.re x.im) -2)
0.0b
(*.f64 (-.f64 x.re x.im) x.re)
0.1b
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -2))
0.2b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))

series32.0ms (0.9%)

Counts
3 → 72
Calls

3 calls:

17.0ms
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
11.0ms
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -2))
5.0ms
(*.f64 (*.f64 x.re x.im) -2)

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
17×pow1_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
3 → 53
Calls

3 calls:

5.0ms
(*.f64 x.im (*.f64 (*.f64 x.re x.im) -2))
4.0ms
(*.f64 (*.f64 x.re x.im) -2)
0.0ms
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))

simplify92.0ms (2.5%)

Algorithm
egg-herbie
Rules
582×fma-neg_binary64
443×unswap-sqr_binary64
385×*-commutative_binary64
248×fma-def_binary64
216×distribute-rgt-in_binary64
Counts
125 → 82
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0891604
12041449
27111403
312971381
425771381
547321381
652011381

prune137.0ms (3.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1203123
Fresh538
Picked011
Done000
Total1257132
Error
0b
Counts
132 → 7
Alt Table
StatusErrorProgram
34.9b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 (sqrt.f64 x.im) (*.f64 (sqrt.f64 x.im) (*.f64 (*.f64 x.re x.im) -2))))
0.6b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im))) (*.f64 x.re (cbrt.f64 (-.f64 x.re x.im)))) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
0.2b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
0.7b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re)) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
41.6b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (/.f64 (*.f64 x.im (*.f64 2 (pow.f64 (*.f64 x.re x.im) 3))) (+.f64 (*.f64 (*.f64 x.re x.im) (*.f64 x.re x.im)) (-.f64 (*.f64 (*.f64 x.im x.re) (*.f64 x.im x.re)) (*.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))))))
6.9b
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2))))
Compiler

Compiled 2926 to 1026 computations (64.9% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 x.re (cbrt.f64 (-.f64 x.re x.im)))
0.3b
(*.f64 (*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im))) (*.f64 x.re (cbrt.f64 (-.f64 x.re x.im))))
0.5b
(*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im)))
0.6b
(cbrt.f64 (-.f64 x.re x.im))

series133.0ms (3.6%)

Counts
4 → 96
Calls

4 calls:

44.0ms
(*.f64 x.re (cbrt.f64 (-.f64 x.re x.im)))
39.0ms
(*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im)))
30.0ms
(cbrt.f64 (-.f64 x.re x.im))
19.0ms
(*.f64 (*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im))) (*.f64 x.re (cbrt.f64 (-.f64 x.re x.im))))

rewrite48.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
70×cbrt-div_binary64
40×add-sqr-sqrt_binary64
39×cbrt-prod_binary64
35×flip--_binary64
35×flip3--_binary64
Counts
4 → 153
Calls

4 calls:

13.0ms
(*.f64 (*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im))) (*.f64 x.re (cbrt.f64 (-.f64 x.re x.im))))
9.0ms
(*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im)))
8.0ms
(*.f64 x.re (cbrt.f64 (-.f64 x.re x.im)))
2.0ms
(cbrt.f64 (-.f64 x.re x.im))

simplify146.0ms (4%)

Algorithm
egg-herbie
Rules
557×associate-*r*_binary64
454×associate-*l*_binary64
380×times-frac_binary64
329×unswap-sqr_binary64
303×fma-neg_binary64
Counts
249 → 283
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03816603
110465893
234695703
352065703

prune321.0ms (8.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3870387
Fresh055
Picked011
Done011
Total3877394
Error
0b
Counts
394 → 7
Alt Table
StatusErrorProgram
34.9b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 (sqrt.f64 x.im) (*.f64 (sqrt.f64 x.im) (*.f64 (*.f64 x.re x.im) -2))))
0.6b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (cbrt.f64 (-.f64 x.re x.im)) (cbrt.f64 (-.f64 x.re x.im))) (*.f64 x.re (cbrt.f64 (-.f64 x.re x.im)))) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
0.2b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
0.7b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re)) (*.f64 x.im (*.f64 (*.f64 x.re x.im) -2)))
41.6b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (/.f64 (*.f64 x.im (*.f64 2 (pow.f64 (*.f64 x.re x.im) 3))) (+.f64 (*.f64 (*.f64 x.re x.im) (*.f64 x.re x.im)) (-.f64 (*.f64 (*.f64 x.im x.re) (*.f64 x.im x.re)) (*.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))))))
6.9b
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2))))
Compiler

Compiled 16097 to 6074 computations (62.3% saved)

regimes457.0ms (12.5%)

Accuracy

Total 0.2b remaining (91.7%)

Threshold costs 0.2b (91.7%)

Counts
148 → 1
Compiler

Compiled 11559 to 5796 computations (49.9% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01123
11823
22323
32523
42623
52623

end103.0ms (2.8%)

Compiler

Compiled 200 to 105 computations (47.5% saved)

Profiling

Loading profile data...