Details

Time bar (total: 2.7s)

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

Results
968.0ms8256×body128valid
71.0ms587×body128invalid
Compiler

Compiled 65 to 35 computations (46.2% saved)

simplify128.0ms (4.7%)

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

series23.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

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

simplify106.0ms (3.9%)

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

prune53.0ms (2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New62466
Fresh101
Picked011
Done000
Total63568
Error
8.3b
Counts
68 → 5
Alt Table
StatusErrorProgram
8.7b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
31.9b
(*.f64 (*.f64 x.im (sqrt.f64 (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))) (sqrt.f64 (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im)))))
9.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))) (cbrt.f64 (*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im)))))) (cbrt.f64 (*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))))
27.1b
(*.f64 x.im (neg.f64 (*.f64 x.im x.im)))
8.6b
(-.f64 (*.f64 3 (*.f64 (pow.f64 x.re 2) x.im)) (pow.f64 x.im 3))
Compiler

Compiled 1286 to 615 computations (52.2% saved)

localize8.0ms (0.3%)

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

series33.0ms (1.2%)

Counts
3 → 6
Calls

3 calls:

15.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))
8.0ms
(*.f64 (pow.f64 x.re 2) x.im)

rewrite21.0ms (0.8%)

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))
4.0ms
(*.f64 3 (*.f64 (pow.f64 x.re 2) x.im))
4.0ms
(*.f64 (pow.f64 x.re 2) x.im)

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

prune121.0ms (4.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1156121
Fresh213
Picked101
Done011
Total1188126
Error
0.0b
Counts
126 → 8
Alt Table
StatusErrorProgram
8.7b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
8.6b
(fma.f64 3 (*.f64 (pow.f64 x.re 2) x.im) (neg.f64 (pow.f64 x.im 3)))
33.1b
(-.f64 (*.f64 3 (*.f64 (pow.f64 (sqrt.f64 x.re) 2) (*.f64 x.im x.re))) (pow.f64 x.im 3))
2.8b
(-.f64 (*.f64 3 (*.f64 (pow.f64 (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re)) 2) (*.f64 (pow.f64 (cbrt.f64 x.re) 2) x.im))) (pow.f64 x.im 3))
31.9b
(*.f64 (*.f64 x.im (sqrt.f64 (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))) (sqrt.f64 (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im)))))
34.4b
(-.f64 (*.f64 3 (*.f64 (*.f64 x.re (sqrt.f64 x.im)) (*.f64 x.re (sqrt.f64 x.im)))) (pow.f64 x.im 3))
36.4b
(-.f64 (*.f64 3 (*.f64 (*.f64 x.re (*.f64 x.re (sqrt.f64 x.im))) (sqrt.f64 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))
Compiler

Compiled 2493 to 1662 computations (33.3% 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.1b
(*.f64 x.re (*.f64 x.re x.im))
0.2b
(*.f64 3 (*.f64 x.re (*.f64 x.re x.im)))

series33.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))
10.0ms
(*.f64 3 (*.f64 x.re (*.f64 x.re x.im)))
8.0ms
(*.f64 x.re (*.f64 x.re x.im))

rewrite20.0ms (0.7%)

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:

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

simplify126.0ms (4.6%)

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

prune106.0ms (3.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1025107
Fresh606
Picked101
Done011
Total1096115
Error
0b
Counts
115 → 6
Alt Table
StatusErrorProgram
8.7b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
0.1b
(-.f64 (*.f64 (*.f64 3 x.re) (*.f64 x.re x.im)) (pow.f64 x.im 3))
0.3b
(-.f64 (*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (*.f64 x.re (*.f64 x.re x.im)))) (pow.f64 x.im 3))
0.2b
(fma.f64 3 (*.f64 x.re (*.f64 x.re x.im)) (neg.f64 (pow.f64 x.im 3)))
0.6b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im)))) (cbrt.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))))) (cbrt.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))))) (pow.f64 x.im 3))
0.6b
(-.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))
Compiler

Compiled 2207 to 1183 computations (46.4% saved)

localize7.0ms (0.3%)

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

series25.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

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

rewrite19.0ms (0.7%)

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:

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

simplify88.0ms (3.2%)

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

prune71.0ms (2.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh044
Picked011
Done011
Total77683
Error
0b
Counts
83 → 6
Alt Table
StatusErrorProgram
8.7b
(*.f64 x.im (fma.f64 x.re (*.f64 x.re 3) (neg.f64 (*.f64 x.im x.im))))
0.1b
(-.f64 (*.f64 (*.f64 3 x.re) (*.f64 x.re x.im)) (pow.f64 x.im 3))
0.3b
(-.f64 (*.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 3) (*.f64 x.re (*.f64 x.re x.im)))) (pow.f64 x.im 3))
0.2b
(fma.f64 3 (*.f64 x.re (*.f64 x.re x.im)) (neg.f64 (pow.f64 x.im 3)))
0.6b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im)))) (cbrt.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))))) (cbrt.f64 (*.f64 3 (*.f64 x.re (*.f64 x.re x.im))))) (pow.f64 x.im 3))
0.6b
(-.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))
Compiler

Compiled 1644 to 962 computations (41.5% saved)

regimes174.0ms (6.4%)

Accuracy

Total 0.1b remaining (84.5%)

Threshold costs 0.1b (84.5%)

Counts
63 → 1
Compiler

Compiled 3168 to 2166 computations (31.6% saved)

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

end95.0ms (3.5%)

Compiler

Compiled 134 to 87 computations (35.1% saved)

Profiling

Loading profile data...