Details

Time bar (total: 2.7s)

analyze199.0ms (7.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.1s (42.1%)

Results
967.0ms8256×body128valid
75.0ms582×body128invalid
Compiler

Compiled 65 to 35 computations (46.2% saved)

simplify129.0ms (4.8%)

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

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im)))
4.8b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))

series22.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

11.0ms
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
10.0ms
(fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im)))

rewrite4.0ms (0.2%)

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

simplify104.0ms (3.8%)

Algorithm
egg-herbie
Rules
435×exp-prod_binary64
356×unswap-sqr_binary64
355×fma-def_binary64
319×*-commutative_binary64
271×associate-*l*_binary64
Counts
80 → 66
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0571276
11161183
23361183
311361183
421051183
544651183
649491183
749161183

prune52.0ms (1.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New62466
Fresh101
Picked011
Done000
Total63568
Error
4.9b
Counts
68 → 5
Alt Table
StatusErrorProgram
25.8b
(*.f64 x.im (neg.f64 (*.f64 x.im x.im)))
5.1b
(-.f64 (*.f64 3 (*.f64 (pow.f64 x.re 2) x.im)) (pow.f64 x.im 3))
5.1b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
28.8b
(*.f64 x.im (cbrt.f64 (pow.f64 (-.f64 (*.f64 3 (*.f64 x.re x.re)) (*.f64 x.im x.im)) 3)))
5.2b
(*.f64 x.im (-.f64 (*.f64 3 (pow.f64 x.re 2)) (pow.f64 x.im 2)))
Compiler

Compiled 1214 to 587 computations (51.6% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 3 (*.f64 (pow.f64 x.re 2) x.im)) (pow.f64 x.im 3))
0.2b
(*.f64 3 (*.f64 (pow.f64 x.re 2) x.im))
5.5b
(*.f64 (pow.f64 x.re 2) x.im)

series29.0ms (1.1%)

Counts
3 → 6
Calls

3 calls:

12.0ms
(-.f64 (*.f64 3 (*.f64 (pow.f64 x.re 2) x.im)) (pow.f64 x.im 3))
10.0ms
(*.f64 3 (*.f64 (pow.f64 x.re 2) x.im))
7.0ms
(*.f64 (pow.f64 x.re 2) x.im)

rewrite20.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
18×add-exp-log_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
12×cancel-sign-sub-inv_binary64
Counts
3 → 88
Calls

3 calls:

7.0ms
(-.f64 (*.f64 3 (*.f64 (pow.f64 x.re 2) x.im)) (pow.f64 x.im 3))
5.0ms
(*.f64 3 (*.f64 (pow.f64 x.re 2) x.im))
4.0ms
(*.f64 (pow.f64 x.re 2) x.im)

simplify99.0ms (3.7%)

Algorithm
egg-herbie
Rules
648×fma-neg_binary64
481×exp-prod_binary64
468×*-commutative_binary64
413×fma-def_binary64
317×unswap-sqr_binary64
Counts
94 → 121
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01601355
12891222
211841137
329921109
444131106
549581106
646371106

prune126.0ms (4.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1183121
Fresh123
Picked101
Done011
Total1206126
Error
0.0b
Counts
126 → 6
Alt Table
StatusErrorProgram
5.2b
(-.f64 (*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (*.f64 (pow.f64 x.re 2) x.im))) (pow.f64 x.im 3))
5.1b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
0.2b
(-.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))) (pow.f64 x.im 3))
28.8b
(*.f64 x.im (cbrt.f64 (pow.f64 (-.f64 (*.f64 3 (*.f64 x.re x.re)) (*.f64 x.im x.im)) 3)))
34.7b
(-.f64 (*.f64 3 (*.f64 (*.f64 x.re (sqrt.f64 x.im)) (*.f64 x.re (sqrt.f64 x.im)))) (pow.f64 x.im 3))
5.2b
(*.f64 x.im (-.f64 (*.f64 3 (pow.f64 x.re 2)) (pow.f64 x.im 2)))
Compiler

Compiled 2405 to 1614 computations (32.9% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series32.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

15.0ms
(-.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))) (pow.f64 x.im 3))
9.0ms
(*.f64 3 (*.f64 x.re (*.f64 x.re x.im)))
7.0ms
(*.f64 x.re (*.f64 x.re x.im))

rewrite23.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
17×pow1_binary64
12×cancel-sign-sub-inv_binary64
12×prod-diff_binary64
Counts
3 → 81
Calls

3 calls:

10.0ms
(-.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))) (pow.f64 x.im 3))
5.0ms
(*.f64 3 (*.f64 x.re (*.f64 x.re x.im)))
4.0ms
(*.f64 x.re (*.f64 x.re x.im))

simplify116.0ms (4.3%)

Algorithm
egg-herbie
Rules
706×fma-neg_binary64
528×*-commutative_binary64
437×exp-prod_binary64
436×fma-def_binary64
264×unswap-sqr_binary64
Counts
153 → 107
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01521985
12871839
212291753
330761740
444871739
549621739
646611739

prune105.0ms (3.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1043107
Fresh224
Picked011
Done101
Total1076113
Error
0.0b
Counts
113 → 6
Alt Table
StatusErrorProgram
0.5b
(-.f64 (*.f64 3 (*.f64 (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re)) (*.f64 (cbrt.f64 x.re) (*.f64 x.re x.im)))) (pow.f64 x.im 3))
0.6b
(-.f64 (*.f64 3 (*.f64 (*.f64 (cbrt.f64 (*.f64 x.re (*.f64 x.re x.im))) (cbrt.f64 (*.f64 x.re (*.f64 x.re x.im)))) (cbrt.f64 (*.f64 x.re (*.f64 x.re x.im))))) (pow.f64 x.im 3))
0.1b
(-.f64 (*.f64 (*.f64 3 x.re) (*.f64 x.re x.im)) (pow.f64 x.im 3))
0.2b
(-.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))) (pow.f64 x.im 3))
28.8b
(*.f64 x.im (cbrt.f64 (pow.f64 (-.f64 (*.f64 3 (*.f64 x.re x.re)) (*.f64 x.im x.im)) 3)))
5.2b
(*.f64 x.im (-.f64 (*.f64 3 (pow.f64 x.re 2)) (pow.f64 x.im 2)))
Compiler

Compiled 2197 to 1170 computations (46.7% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series24.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

15.0ms
(-.f64 (*.f64 (*.f64 3 x.re) (*.f64 x.re x.im)) (pow.f64 x.im 3))
9.0ms
(*.f64 (*.f64 3 x.re) (*.f64 x.re x.im))

rewrite16.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
14×add-cbrt-cube_binary64
14×add-exp-log_binary64
14×pow1_binary64
12×cancel-sign-sub-inv_binary64
12×prod-diff_binary64
Counts
2 → 62
Calls

2 calls:

7.0ms
(-.f64 (*.f64 (*.f64 3 x.re) (*.f64 x.re x.im)) (pow.f64 x.im 3))
5.0ms
(*.f64 (*.f64 3 x.re) (*.f64 x.re x.im))

simplify96.0ms (3.5%)

Algorithm
egg-herbie
Rules
827×fma-neg_binary64
486×*-commutative_binary64
474×fma-def_binary64
434×exp-prod_binary64
249×unswap-sqr_binary64
Counts
110 → 77
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01391609
12671508
211491429
330651419
445141418
546441418

prune63.0ms (2.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh044
Picked011
Done011
Total77683
Error
0.0b
Counts
83 → 6
Alt Table
StatusErrorProgram
0.5b
(-.f64 (*.f64 3 (*.f64 (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re)) (*.f64 (cbrt.f64 x.re) (*.f64 x.re x.im)))) (pow.f64 x.im 3))
0.6b
(-.f64 (*.f64 3 (*.f64 (*.f64 (cbrt.f64 (*.f64 x.re (*.f64 x.re x.im))) (cbrt.f64 (*.f64 x.re (*.f64 x.re x.im)))) (cbrt.f64 (*.f64 x.re (*.f64 x.re x.im))))) (pow.f64 x.im 3))
0.1b
(-.f64 (*.f64 (*.f64 3 x.re) (*.f64 x.re x.im)) (pow.f64 x.im 3))
0.2b
(-.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))) (pow.f64 x.im 3))
28.8b
(*.f64 x.im (cbrt.f64 (pow.f64 (-.f64 (*.f64 3 (*.f64 x.re x.re)) (*.f64 x.im x.im)) 3)))
5.2b
(*.f64 x.im (-.f64 (*.f64 3 (pow.f64 x.re 2)) (pow.f64 x.im 2)))
Compiler

Compiled 1639 to 956 computations (41.7% saved)

regimes190.0ms (7%)

Accuracy

Total 0.1b remaining (77.4%)

Threshold costs 0.1b (77.4%)

Counts
63 → 1
Compiler

Compiled 3117 to 2199 computations (29.5% 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
0916
11416
21916
32116
42216
52216

end86.0ms (3.2%)

Compiler

Compiled 129 to 81 computations (37.2% saved)

Profiling

Loading profile data...