Details

Time bar (total: 2.9s)

analyze168.0ms (5.8%)

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.2s (40.7%)

Results
1.0s8256×body128valid
47.0ms421×body128invalid
Compiler

Compiled 65 to 35 computations (46.2% saved)

simplify125.0ms (4.3%)

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.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
6.4b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
6.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))
Compiler

Compiled 97 to 51 computations (47.4% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))
0.2b
(*.f64 (*.f64 x.im x.im) -3)
6.0b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))

series26.0ms (0.9%)

Counts
3 → 60
Calls

3 calls:

16.0ms
(*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))
7.0ms
(fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3))
2.0ms
(*.f64 (*.f64 x.im x.im) -3)

rewrite11.0ms (0.4%)

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:

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

simplify52.0ms (1.8%)

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

prune101.0ms (3.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New87693
Fresh011
Picked101
Done000
Total88795
Error
6.1b
Counts
95 → 7
Alt Table
StatusErrorProgram
6.4b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 x.im -3))))
6.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))
30.1b
(cbrt.f64 (pow.f64 (fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) 3))
26.5b
(*.f64 (sqrt.f64 (*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))) (sqrt.f64 (*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))))
6.5b
(*.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))))
6.4b
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re)))
27.5b
(pow.f64 x.re 3)
Compiler

Compiled 1649 to 819 computations (50.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series21.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

14.0ms
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re)))
7.0ms
(fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re))

rewrite4.0ms (0.1%)

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

2 calls:

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

simplify48.0ms (1.7%)

Algorithm
egg-herbie
Rules
869×distribute-rgt-in_binary64
865×distribute-lft-in_binary64
516×fma-def_binary64
267×associate-*l*_binary64
210×associate-*r*_binary64
Counts
80 → 55
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0551190
11121033
23181033
311351033
451641033

prune49.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New55055
Fresh066
Picked011
Done000
Total55762
Error
6.1b
Counts
62 → 7
Alt Table
StatusErrorProgram
6.4b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 x.im -3))))
6.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))
30.1b
(cbrt.f64 (pow.f64 (fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) 3))
26.5b
(*.f64 (sqrt.f64 (*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))) (sqrt.f64 (*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))))
6.5b
(*.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))))
6.4b
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re)))
27.5b
(pow.f64 x.re 3)
Compiler

Compiled 1028 to 473 computations (54% 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.2b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
6.0b
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)

series42.0ms (1.5%)

Counts
4 → 96
Calls

4 calls:

14.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
12.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))
10.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)
6.0ms
(+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))

rewrite24.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 → 79
Calls

4 calls:

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

simplify117.0ms (4.1%)

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

prune113.0ms (3.9%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1384142
Fresh145
Picked011
Done011
Total13910149
Error
0.0b
Counts
149 → 10
Alt Table
StatusErrorProgram
27.4b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (*.f64 (sqrt.f64 (*.f64 2 (*.f64 x.re x.im))) (sqrt.f64 (*.f64 2 (*.f64 x.re x.im)))) x.im))
6.5b
(*.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))))
6.4b
(*.f64 x.re (fma.f64 x.re x.re (*.f64 x.im (*.f64 x.im -3))))
6.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))
30.1b
(cbrt.f64 (pow.f64 (fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3)) 3))
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))
22.7b
(-.f64 (pow.f64 x.re 3) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
26.5b
(*.f64 (sqrt.f64 (*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))) (sqrt.f64 (*.f64 x.re (fma.f64 x.re x.re (*.f64 (*.f64 x.im x.im) -3)))))
6.4b
(*.f64 x.re (fma.f64 -3 (*.f64 x.im x.im) (*.f64 x.re x.re)))
6.4b
(fma.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re (*.f64 (*.f64 x.re (*.f64 x.im x.im)) -2))
Compiler

Compiled 4383 to 943 computations (78.5% saved)

localize12.0ms (0.4%)

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 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
(*.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))

series24.0ms (0.8%)

Counts
2 → 48
Calls

2 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))
10.0ms
(*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re))

rewrite28.0ms (1%)

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

2 calls:

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

simplify101.0ms (3.5%)

Algorithm
egg-herbie
Rules
567×fma-neg_binary64
525×associate-*l*_binary64
507×associate-*r*_binary64
326×neg-sub0_binary64
325×neg-mul-1_binary64
Counts
109 → 107
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01833168
17322601
234242376
340952376
447022376

prune160.0ms (5.6%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1618169
Fresh527
Picked101
Done202
Total16910179
Error
0b
Counts
179 → 10
Alt Table
StatusErrorProgram
25.4b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 (sqrt.f64 (*.f64 2 (*.f64 x.re x.im))) (sqrt.f64 (*.f64 2 (*.f64 x.re x.im)))) x.im))
0.7b
(-.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))
16.9b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (cbrt.f64 (*.f64 (*.f64 (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))))
6.5b
(*.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.7b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re))) (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)))) (cbrt.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))
23.0b
(*.f64 (sqrt.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))) (sqrt.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))))
39.5b
(-.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))))))
0.5b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 (*.f64 2 (*.f64 x.re x.im)) (*.f64 (cbrt.f64 x.im) (cbrt.f64 x.im))) (cbrt.f64 x.im)))
6.4b
(fma.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re (*.f64 (*.f64 x.re (*.f64 x.im x.im)) -2))
6.4b
(+.f64 (-.f64 (-.f64 (pow.f64 x.re 3) (*.f64 x.re (*.f64 x.im x.im))) (*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))) 0)
Compiler

Compiled 6131 to 1346 computations (78% saved)

regimes312.0ms (10.8%)

Accuracy

Total 0.2b remaining (87.3%)

Threshold costs 0.2b (87.3%)

Counts
107 → 1
Compiler

Compiled 7260 to 3765 computations (48.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
sub-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01225
12623
24223
35423
46023
56323
66423
76323

end142.0ms (4.9%)

Compiler

Compiled 353 to 162 computations (54.1% saved)

Profiling

Loading profile data...