Details

Time bar (total: 3.9s)

analyze212.0ms (5.4%)

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 (30.3%)

Results
1.0s8256×body128valid
71.0ms616×body128invalid
Compiler

Compiled 65 to 35 computations (46.2% saved)

simplify130.0ms (3.3%)

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
11.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
11.5b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
11.4b
(+.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)

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.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)
10.7b
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.im)

series44.0ms (1.1%)

Counts
4 → 96
Calls

4 calls:

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

rewrite26.0ms (0.7%)

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

simplify72.0ms (1.8%)

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

prune131.0ms (3.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1345139
Fresh011
Picked011
Done000
Total1347141
Error
0.1b
Counts
141 → 7
Alt Table
StatusErrorProgram
0.3b
(+.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))
11.5b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
24.3b
(+.f64 (neg.f64 (pow.f64 x.im 3)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
11.8b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))) (cbrt.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) (*.f64 (cbrt.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))
11.8b
(+.f64 (*.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) (*.f64 (cbrt.f64 x.im) (cbrt.f64 x.im))) (cbrt.f64 x.im)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
11.8b
(+.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))
11.4b
(+.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 4342 to 946 computations (78.2% 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.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))

series27.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

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

rewrite29.0ms (0.7%)

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

2 calls:

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

simplify105.0ms (2.7%)

Algorithm
egg-herbie
Rules
535×associate-*l*_binary64
483×associate-*r*_binary64
427×fma-neg_binary64
304×distribute-rgt-out_binary64
299×distribute-rgt-in_binary64
Counts
107 → 103
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01733975
16673223
231762270
343042268
446752268

prune167.0ms (4.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1597166
Fresh415
Picked101
Done101
Total1658173
Error
0.0b
Counts
173 → 8
Alt Table
StatusErrorProgram
11.8b
(+.f64 (*.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) (*.f64 (cbrt.f64 x.im) (cbrt.f64 x.im))) (cbrt.f64 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))
11.4b
(-.f64 (*.f64 3 (*.f64 x.im (*.f64 x.re x.re))) (pow.f64 x.im 3))
11.4b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 2 (*.f64 x.im (*.f64 x.re x.re))))
0.6b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (*.f64 (*.f64 2 (*.f64 x.im x.re)) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re)))
0.5b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.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.5b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x.im x.re)) 3)) x.re))
0.2b
(fma.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))
Compiler

Compiled 6119 to 1378 computations (77.5% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 x.re x.im) x.im)
0.0b
(+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re))
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) x.im) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))

series25.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

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

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
associate-*l*_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 34
Calls

2 calls:

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

simplify92.0ms (2.3%)

Algorithm
egg-herbie
Rules
834×fma-def_binary64
381×*-commutative_binary64
379×exp-prod_binary64
293×fma-neg_binary64
252×associate-*l*_binary64
Counts
82 → 65
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711147
1144995
2409995
31394925
43300925
54985925
64958925

prune128.0ms (3.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1253128
Fresh437
Picked011
Done000
Total1297136
Error
0.0b
Counts
136 → 7
Alt Table
StatusErrorProgram
11.4b
(-.f64 (*.f64 3 (*.f64 x.im (*.f64 x.re x.re))) (pow.f64 x.im 3))
0.7b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.im) (cbrt.f64 x.im))) (cbrt.f64 x.im)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
11.4b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im) (*.f64 2 (*.f64 x.im (*.f64 x.re x.re))))
0.6b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (*.f64 (*.f64 2 (*.f64 x.im x.re)) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re)))
0.6b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (cbrt.f64 (*.f64 (-.f64 x.re x.im) x.im)) (cbrt.f64 (*.f64 (-.f64 x.re x.im) x.im))) (cbrt.f64 (*.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))
0.2b
(fma.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))
Compiler

Compiled 3333 to 773 computations (76.8% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im))
0.2b
(*.f64 (*.f64 2 (*.f64 x.im x.re)) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re)))
0.5b
(*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))
0.6b
(cbrt.f64 x.re)

series461.0ms (11.8%)

Counts
3 → 48
Calls

3 calls:

382.0ms
(*.f64 (*.f64 2 (*.f64 x.im x.re)) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re)))
42.0ms
(*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))
37.0ms
(cbrt.f64 x.re)

rewrite19.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
31×pow1_binary64
26×add-exp-log_binary64
20×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
18×add-cbrt-cube_binary64
Counts
3 → 85
Calls

3 calls:

8.0ms
(*.f64 (*.f64 2 (*.f64 x.im x.re)) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re)))
4.0ms
(*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))
1.0ms
(cbrt.f64 x.re)

simplify115.0ms (2.9%)

Algorithm
egg-herbie
Rules
770×fma-def_binary64
540×*-commutative_binary64
347×sqr-pow_binary64
311×log-prod_binary64
280×exp-prod_binary64
Counts
133 → 112
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01181633
12551319
210031194
318081180
430031088
545911088
649781088
748791088

prune189.0ms (4.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1981199
Fresh055
Picked101
Done011
Total1997206
Error
0.0b
Counts
206 → 7
Alt Table
StatusErrorProgram
11.4b
(-.f64 (*.f64 3 (*.f64 x.im (*.f64 x.re x.re))) (pow.f64 x.im 3))
0.7b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.im) (cbrt.f64 x.im))) (cbrt.f64 x.im)) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
0.7b
(+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im)) (*.f64 (*.f64 (*.f64 2 (*.f64 x.im x.re)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re)))) (cbrt.f64 (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))))) (cbrt.f64 x.re)))
0.6b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (cbrt.f64 (*.f64 (-.f64 x.re x.im) x.im)) (cbrt.f64 (*.f64 (-.f64 x.re x.im) x.im))) (cbrt.f64 (*.f64 (-.f64 x.re x.im) x.im))) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
11.4b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.im) (*.f64 2 (*.f64 x.im (*.f64 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) x.im) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.re))
Compiler

Compiled 6102 to 1810 computations (70.3% saved)

regimes594.0ms (15.1%)

Accuracy

Total 0.2b remaining (87.5%)

Threshold costs 0.2b (87.5%)

Counts
184 → 1
Compiler

Compiled 15183 to 7803 computations (48.6% 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
01024
11624
22124
32324
42424
52424

end106.0ms (2.7%)

Compiler

Compiled 236 to 104 computations (55.9% saved)

Profiling

Loading profile data...