Details

Time bar (total: 3.8s)

analyze208.0ms (5.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%74.9%0.1%6
31.2%50%18.8%7
34.3%43.7%22%8
45.3%26.5%28.2%9
46.8%23.4%29.8%10
48.8%14%37.2%11
49.8%12.1%38.1%12
52.8%7.1%40.1%13
53.3%6.1%40.6%14
Compiler

Compiled 22 to 12 computations (45.5% saved)

sample1.2s (31.6%)

Results
1.0s8256×body128valid
74.0ms591×body128invalid
Compiler

Compiled 65 to 35 computations (46.2% saved)

simplify132.0ms (3.5%)

Algorithm
egg-herbie
Rules
613×sub-neg_binary64
578×fma-neg_binary64
529×neg-mul-1_binary64
501×neg-sub0_binary64
455×unsub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01224
12623
26023
313016
433516
588116
6149616
7351116
8406116
9397716
10461416
11477116
12491816
13491416

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 100 to 54 computations (46% saved)

localize12.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.im) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.2b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re)
5.7b
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.im)

series48.0ms (1.3%)

Counts
4 → 96
Calls

4 calls:

14.0ms
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re)
14.0ms
(+.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.im) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
13.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.im)
7.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 → 77
Calls

4 calls:

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

simplify79.0ms (2.1%)

Algorithm
egg-herbie
Rules
727×distribute-rgt-in_binary64
685×distribute-lft-in_binary64
245×associate-*l*_binary64
206×associate-*r*_binary64
181×distribute-rgt-out_binary64
Counts
173 → 139
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01462758
14272398
216752360
348222360

prune108.0ms (2.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1354139
Fresh011
Picked101
Done000
Total1365141
Error
0.0b
Counts
141 → 5
Alt Table
StatusErrorProgram
6.2b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
6.6b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.im)) (cbrt.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.im))) (cbrt.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.im))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.2b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
15.0b
(+.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.im) (*.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))) (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)))) x.re))
6.1b
(+.f64 (-.f64 (*.f64 (pow.f64 x.re 2) x.im) (pow.f64 x.im 3)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
Compiler

Compiled 4271 to 913 computations (78.6% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series34.0ms (0.9%)

Counts
3 → 72
Calls

3 calls:

16.0ms
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
12.0ms
(*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im))
6.0ms
(*.f64 (-.f64 x.re x.im) x.im)

rewrite32.0ms (0.9%)

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

3 calls:

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

simplify125.0ms (3.3%)

Algorithm
egg-herbie
Rules
602×associate-*l*_binary64
526×associate-*r*_binary64
306×distribute-rgt-out_binary64
303×distribute-rgt-in_binary64
291×distribute-lft-in_binary64
Counts
155 → 144
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01974461
17103616
233932663
343792663
446442663

prune162.0ms (4.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1776183
Fresh224
Picked101
Done000
Total1808188
Error
0.0b
Counts
188 → 8
Alt Table
StatusErrorProgram
20.3b
(+.f64 (*.f64 (+.f64 x.re x.im) (cbrt.f64 (*.f64 (*.f64 (*.f64 (-.f64 x.re x.im) x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (-.f64 x.re x.im) x.im)))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.6b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im))) (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)))) (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
21.6b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (sqrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re)))) (sqrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re))))))
6.1b
(+.f64 (-.f64 (*.f64 (pow.f64 x.re 2) x.im) (pow.f64 x.im 3)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.5b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.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.re (cbrt.f64 (*.f64 2 (*.f64 x.im x.re))))))
34.8b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (*.f64 (*.f64 2 (*.f64 x.im x.re)) (sqrt.f64 x.re)) (sqrt.f64 x.re)))
6.2b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
0.2b
(+.f64 (*.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
Compiler

Compiled 6565 to 1437 computations (78.1% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series34.0ms (0.9%)

Counts
3 → 54
Calls

3 calls:

16.0ms
(+.f64 (*.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
12.0ms
(*.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2)))
6.0ms
(-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2))

rewrite48.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
40×cancel-sign-sub-inv_binary64
40×prod-diff_binary64
34×associate-+l+_binary64
34×distribute-lft-in_binary64
34×distribute-rgt-in_binary64
Counts
3 → 159
Calls

3 calls:

14.0ms
(+.f64 (*.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
9.0ms
(*.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2)))
4.0ms
(-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2))

simplify211.0ms (5.6%)

Algorithm
egg-herbie
Rules
594×associate-*l*_binary64
549×associate-*r*_binary64
480×fma-neg_binary64
445×exp-prod_binary64
355×fma-def_binary64
Counts
213 → 244
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03147089
18825007
238963948
340073932
446343932
548483932
645633932

prune306.0ms (8.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2812283
Fresh347
Picked101
Done000
Total2856291
Error
0.0b
Counts
291 → 6
Alt Table
StatusErrorProgram
20.3b
(+.f64 (*.f64 (+.f64 x.re x.im) (cbrt.f64 (*.f64 (*.f64 (*.f64 (-.f64 x.re x.im) x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (-.f64 x.re x.im) x.im)))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.6b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im))) (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)))) (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
21.6b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (sqrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re)))) (sqrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re))))))
6.1b
(+.f64 (-.f64 (*.f64 (pow.f64 x.re 2) x.im) (pow.f64 x.im 3)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.5b
(+.f64 (*.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2))) (*.f64 (*.f64 (cbrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re)))) (cbrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re))))) (cbrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re))))))
0.2b
(fma.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
Compiler

Compiled 10882 to 3671 computations (66.3% saved)

localize11.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.0b
(-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2))
0.2b
(*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re)
0.2b
(fma.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))

series18.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

18.0ms
(fma.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))

rewrite1.0ms (0%)

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
1 → 10
Calls

1 calls:

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

simplify59.0ms (1.5%)

Algorithm
egg-herbie
Rules
575×associate-*l*_binary64
493×associate-*r*_binary64
401×exp-prod_binary64
366×fma-def_binary64
351×distribute-rgt-in_binary64
Counts
34 → 24
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
030700
161602
2155602
3542592
43427592
54987592

prune147.0ms (3.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1322134
Fresh235
Picked011
Done000
Total1346140
Error
0b
Counts
140 → 6
Alt Table
StatusErrorProgram
21.6b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (sqrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re)))) (sqrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re))))))
6.1b
(+.f64 (-.f64 (*.f64 (pow.f64 x.re 2) x.im) (pow.f64 x.im 3)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.6b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im))) (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)))) (cbrt.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.2b
(fma.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.5b
(fma.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2)) (*.f64 (*.f64 (cbrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re)))) (cbrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re))))) (cbrt.f64 (*.f64 x.re (*.f64 2 (*.f64 x.im x.re))))))
9.6b
(fma.f64 (+.f64 x.re x.im) (-.f64 (*.f64 x.re x.im) (pow.f64 x.im 2)) (*.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x.im x.re)) 3)) x.re))
Compiler

Compiled 3737 to 1190 computations (68.2% saved)

regimes661.0ms (17.4%)

Accuracy

Total 0.2b remaining (78.1%)

Threshold costs 0.2b (78.1%)

Counts
192 → 1
Compiler

Compiled 15360 to 8169 computations (46.8% 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
01226
11726
22226
32426
42526
52526

end112.0ms (3%)

Compiler

Compiled 218 to 115 computations (47.2% saved)

Profiling

Loading profile data...