Details

Time bar (total: 4.4s)

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

sample24.0ms (0.5%)

Algorithm
intervals
Results
14.0ms256×body128valid
1.0ms15×body128invalid
Compiler

Compiled 45 to 25 computations (44.4% saved)

simplify127.0ms (2.9%)

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

Compiled 97 to 51 computations (47.4% saved)

localize11.0ms (0.2%)

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

series47.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.re) (*.f64 (+.f64 (*.f64 x.re x.im) (*.f64 x.im x.re)) x.im))
14.0ms
(*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)
11.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))

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

4 calls:

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

simplify119.0ms (2.7%)

Algorithm
egg-herbie
Rules
245×times-frac_binary64
240×associate-*l*_binary64
214×associate-*r*_binary64
210×distribute-rgt-out_binary64
204×fma-neg_binary64
Counts
175 → 142
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01562898
14452551
217552377
335402365
447762365
550892365

prune106.0ms (2.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1366142
Fresh101
Picked101
Done000
Total1386144
Error
0.0b
Counts
144 → 6
Alt Table
StatusErrorProgram
8.5b
(+.f64 (*.f64 x.re (-.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) (*.f64 x.im (+.f64 x.im x.im)))) 0)
0.3b
(-.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))
38.4b
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)) (*.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 (*.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)))
8.4b
(-.f64 (pow.f64 x.re 3) (*.f64 3 (*.f64 x.re (pow.f64 x.im 2))))
8.8b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.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.im (cbrt.f64 (*.f64 2 (*.f64 x.re x.im))))))
8.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 4386 to 889 computations (79.7% saved)

localize11.0ms (0.2%)

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

series29.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

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

rewrite30.0ms (0.7%)

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:

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

simplify100.0ms (2.3%)

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

prune156.0ms (3.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1645169
Fresh235
Picked101
Done000
Total1678175
Error
0.0b
Counts
175 → 8
Alt Table
StatusErrorProgram
0.3b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im))
38.4b
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)) (*.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 (*.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)))
1.0b
(*.f64 (*.f64 (cbrt.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))) (cbrt.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)))) (cbrt.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))))
8.8b
(-.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.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.im (cbrt.f64 (*.f64 2 (*.f64 x.re 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))
0.2b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (neg.f64 (*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))))
8.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)
8.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 6358 to 1414 computations (77.8% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series41.0ms (0.9%)

Counts
4 → 72
Calls

4 calls:

18.0ms
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (neg.f64 (*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))))
11.0ms
(*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))
7.0ms
(*.f64 2 (*.f64 x.re x.im))
5.0ms
(*.f64 (-.f64 x.re x.im) x.re)

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
20×add-cbrt-cube_binary64
20×add-exp-log_binary64
20×pow1_binary64
12×add-sqr-sqrt_binary64
11×associate-*l*_binary64
Counts
4 → 77
Calls

4 calls:

5.0ms
(*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))
5.0ms
(*.f64 (-.f64 x.re x.im) x.re)
4.0ms
(*.f64 2 (*.f64 x.re x.im))
0.0ms
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (neg.f64 (*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))))

simplify90.0ms (2.1%)

Algorithm
egg-herbie
Rules
798×fma-def_binary64
590×fma-neg_binary64
401×*-commutative_binary64
288×unswap-sqr_binary64
263×associate-+l+_binary64
Counts
149 → 117
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01221941
12841669
29441623
319581541
447861541
552511541

prune168.0ms (3.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1143117
Fresh437
Picked011
Done000
Total1187125
Error
0b
Counts
125 → 7
Alt Table
StatusErrorProgram
0.7b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re)) (neg.f64 (*.f64 x.im (*.f64 2 (*.f64 x.re 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))
0.3b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im))
38.4b
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re) (*.f64 (-.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)) x.re)) (*.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 (*.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)))
8.4b
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3))
0.2b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (neg.f64 (*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))))
0.4b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (neg.f64 (*.f64 x.im (*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 x.re x.im))))))
Compiler

Compiled 2931 to 1114 computations (62% saved)

localize21.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series49.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

28.0ms
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im))
21.0ms
(*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im)

rewrite35.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
11×pow1_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
2 → 39
Calls

2 calls:

19.0ms
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im))
12.0ms
(*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im)

simplify144.0ms (3.3%)

Algorithm
egg-herbie
Rules
465×*-commutative_binary64
394×fma-def_binary64
389×fma-neg_binary64
379×cancel-sign-sub-inv_binary64
215×associate-*l*_binary64
Counts
87 → 65
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0951406
12581348
211231269
331321267
448511267
550001267
648151267

prune225.0ms (5.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1342136
Fresh235
Picked011
Done011
Total1367143
Error
0b
Counts
143 → 7
Alt Table
StatusErrorProgram
8.4b
(fma.f64 -3 (*.f64 x.re (*.f64 x.im x.im)) (pow.f64 x.re 3))
37.1b
(/.f64 (-.f64 (*.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re))) (*.f64 (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im) (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im))) (+.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im)))
0.7b
(fma.f64 (+.f64 x.re x.im) (*.f64 (*.f64 (-.f64 x.re x.im) (*.f64 (cbrt.f64 x.re) (cbrt.f64 x.re))) (cbrt.f64 x.re)) (neg.f64 (*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))))
0.3b
(-.f64 (*.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re)) (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im))
0.2b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (neg.f64 (*.f64 x.im (*.f64 2 (*.f64 x.re x.im)))))
0.4b
(fma.f64 (+.f64 x.re x.im) (*.f64 (-.f64 x.re x.im) x.re) (neg.f64 (*.f64 x.im (*.f64 (sqrt.f64 2) (*.f64 (sqrt.f64 2) (*.f64 x.re x.im))))))
0.7b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (+.f64 x.re x.im)) (cbrt.f64 (+.f64 x.re x.im))) (*.f64 (*.f64 x.re (-.f64 x.re x.im)) (cbrt.f64 (+.f64 x.re x.im)))) (*.f64 (*.f64 2 (*.f64 x.re x.im)) x.im))
Compiler

Compiled 3540 to 1223 computations (65.5% saved)

regimes727.0ms (16.6%)

Accuracy

Total 0.2b remaining (90.3%)

Threshold costs 0.2b (90.3%)

Counts
124 → 1
Compiler

Compiled 10509 to 5265 computations (49.9% saved)

simplify10.0ms (0.2%)

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
01558
12958
24058
35258
45758
56058
66158
76158

end1.0ms (0%)

Compiler

Compiled 41 to 13 computations (68.3% saved)

sample1.8s (41.3%)

Algorithm
intervals
Results
1.0s8000×body128valid
54.0ms429×body128invalid
Compiler

Compiled 249 to 121 computations (51.4% saved)

Profiling

Loading profile data...