Details

Time bar (total: 3.6s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 22 to 12 computations (45.5% saved)

sample843.0ms (23.3%)

Results
742.0ms8256×body128valid
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
7.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
10.0b
(-.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)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 x.im x.im) -3)
2.0b
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))
5.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))

series29.0ms (0.8%)

Counts
3 → 60
Calls

3 calls:

18.0ms
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
9.0ms
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))
2.0ms
(*.f64 (*.f64 x.im x.im) -3)

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
10×pow1_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
Counts
3 → 53
Calls

3 calls:

5.0ms
(*.f64 (*.f64 x.im x.im) -3)
3.0ms
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
0.0ms
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))

simplify57.0ms (1.6%)

Algorithm
egg-herbie
Rules
652×distribute-rgt-in_binary64
645×distribute-lft-in_binary64
429×fma-def_binary64
175×*-commutative_binary64
160×associate-+l+_binary64
Counts
113 → 93
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0881459
11811302
25251293
311351293
449531293

prune84.0ms (2.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New89493
Fresh011
Picked101
Done000
Total90595
Error
4.9b
Counts
95 → 5
Alt Table
StatusErrorProgram
16.3b
(*.f64 x.re (fma.f64 x.re x.re (cbrt.f64 (*.f64 (pow.f64 x.im 6) -27))))
29.4b
(pow.f64 x.re 3)
10.0b
(-.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))
7.3b
(*.f64 (*.f64 x.re (*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))))
Compiler

Compiled 1607 to 793 computations (50.7% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)))
0.2b
(*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))
2.0b
(fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3)))
5.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))))

series232.0ms (6.4%)

Counts
4 → 72
Calls

4 calls:

78.0ms
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))))
68.0ms
(fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3)))
44.0ms
(*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))
41.0ms
(*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)))

rewrite35.0ms (1%)

Algorithm
rewrite-expression-head
Rules
52×pow1_binary64
36×add-exp-log_binary64
28×pow-prod-down_binary64
23×add-cbrt-cube_binary64
22×cbrt-unprod_binary64
Counts
4 → 95
Calls

4 calls:

17.0ms
(*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))
8.0ms
(*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)))
3.0ms
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))))
0.0ms
(fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3)))

simplify79.0ms (2.2%)

Algorithm
egg-herbie
Rules
658×distribute-rgt-in_binary64
540×unswap-sqr_binary64
515×fma-def_binary64
411×*-commutative_binary64
242×associate-*l*_binary64
Counts
167 → 140
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01262245
12551919
29461876
319291874
455031874

prune140.0ms (3.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1400140
Fresh044
Picked011
Done000
Total1405145
Error
4.9b
Counts
145 → 5
Alt Table
StatusErrorProgram
16.3b
(*.f64 x.re (fma.f64 x.re x.re (cbrt.f64 (*.f64 (pow.f64 x.im 6) -27))))
29.4b
(pow.f64 x.re 3)
10.0b
(-.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))
7.3b
(*.f64 (*.f64 x.re (*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))))
Compiler

Compiled 3150 to 1988 computations (36.9% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))
2.0b
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))
6.0b
(*.f64 x.re (*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))))
30.1b
(cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))

series157.0ms (4.3%)

Counts
3 → 72
Calls

3 calls:

71.0ms
(*.f64 x.re (*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))))
46.0ms
(*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))
40.0ms
(cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))

rewrite21.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
15×pow1_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
3 → 76
Calls

3 calls:

9.0ms
(*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))
6.0ms
(*.f64 x.re (*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))))
1.0ms
(cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))

simplify146.0ms (4%)

Algorithm
egg-herbie
Rules
826×fma-def_binary64
790×times-frac_binary64
260×associate-*r*_binary64
185×fma-neg_binary64
178×associate-*l*_binary64
Counts
148 → 212
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03325590
19195281
229714782
349784782
449574782

prune440.0ms (12.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3910391
Fresh033
Picked011
Done011
Total3915396
Error
4.9b
Counts
396 → 5
Alt Table
StatusErrorProgram
16.3b
(*.f64 x.re (fma.f64 x.re x.re (cbrt.f64 (*.f64 (pow.f64 x.im 6) -27))))
29.4b
(pow.f64 x.re 3)
10.0b
(-.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))
7.3b
(*.f64 (*.f64 x.re (*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))))
Compiler

Compiled 17103 to 10186 computations (40.4% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
2.8b
(-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))
3.4b
(-.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.0b
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)

series46.0ms (1.3%)

Counts
4 → 96
Calls

4 calls:

16.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))
12.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
11.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
7.0ms
(-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))

rewrite28.0ms (0.8%)

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 → 82
Calls

4 calls:

9.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))
6.0ms
(*.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)
3.0ms
(-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))

simplify97.0ms (2.7%)

Algorithm
egg-herbie
Rules
343×unswap-sqr_binary64
222×associate-*l*_binary64
210×distribute-rgt-out_binary64
207×fma-neg_binary64
202×cancel-sign-sub-inv_binary64
Counts
178 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01633003
14522674
217642513
335922504
447952504

prune143.0ms (3.9%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1451146
Fresh022
Picked101
Done022
Total1465151
Error
0.0b
Counts
151 → 5
Alt Table
StatusErrorProgram
16.3b
(*.f64 x.re (fma.f64 x.re x.re (cbrt.f64 (*.f64 (pow.f64 x.im 6) -27))))
29.4b
(pow.f64 x.re 3)
7.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 (*.f64 x.im x.im) (*.f64 (cbrt.f64 -3) (cbrt.f64 -3))) (cbrt.f64 -3))))
3.8b
(-.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.3b
(*.f64 (*.f64 x.re (*.f64 (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))) (cbrt.f64 (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))))
Compiler

Compiled 4213 to 796 computations (81.1% saved)

regimes725.0ms (20%)

Accuracy

Total 2.2b remaining (97.7%)

Threshold costs 0b (0%)

Counts
132 → 3
Compiler

Compiled 8338 to 4997 computations (40.1% saved)

bsearch34.0ms (0.9%)

Steps
ItersRangePoint
7
2.947827716034381e+194
4.150526837819337e+196
3.1664951455267414e+196
9
-2.9520782217183094e+163
-2.8173716230720835e+155
-2.6528090666816572e+163
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify5.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
02146
13546
24946
36346
47046
57346
67446
77446

end101.0ms (2.8%)

Compiler

Compiled 157 to 94 computations (40.1% saved)

Profiling

Loading profile data...