Details

Time bar (total: 3.7s)

analyze176.0ms (4.8%)

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)

sample1.7s (44.9%)

Results
1.5s8256×body128valid
69.0ms411×body128invalid
Compiler

Compiled 65 to 35 computations (46.2% saved)

simplify22.0ms (0.6%)

Algorithm
egg-herbie
Rules
594×fma-neg_binary64
507×fma-def_binary64
396×cancel-sign-sub-inv_binary64
243×associate--l+_binary64
211×distribute-neg-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01226
13125
27823
324116
474514
5258314
Stop Event
node limit
Counts
1 → 2

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
6.6b
Counts
3 → 2
Alt Table
StatusErrorProgram
6.6b
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3))
6.7b
(-.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))
Compiler

Compiled 97 to 55 computations (43.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x.im (*.f64 x.im -3))
6.1b
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3))

series14.0ms (0.4%)

Counts
2 → 36
Calls

2 calls:

12.0ms
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3))
2.0ms
(*.f64 x.im (*.f64 x.im -3))

rewrite43.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
747×log1p-expm1-u_binary64
747×expm1-log1p-u_binary64
176×prod-diff_binary64
88×add-sqr-sqrt_binary64
82×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
118521
2208521
Stop Event
node limit
Counts
2 → 39
Calls

2 calls:

43.0ms
(*.f64 x.im (*.f64 x.im -3))
43.0ms
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3))

simplify40.0ms (1.1%)

Algorithm
egg-herbie
Rules
984×fma-def_binary64
593×unswap-sqr_binary64
342×fma-neg_binary64
255×distribute-rgt-neg-in_binary64
232×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
013414
137414
292378
3251378
4757378
51495378
62222378
73499378
Stop Event
node limit
Counts
75 → 46

prune44.0ms (1.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New43346
Fresh011
Picked011
Done000
Total43548
Error
0.0b
Counts
48 → 5
Alt Table
StatusErrorProgram
6.6b
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3))
6.7b
(-.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))
0.1b
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))
30.3b
(*.f64 (*.f64 x.im x.im) (*.f64 -3 x.re))
7.2b
(pow.f64 (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 3)
Compiler

Compiled 771 to 475 computations (38.4% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series15.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

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

rewrite41.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
761×log1p-expm1-u_binary64
761×expm1-log1p-u_binary64
164×prod-diff_binary64
89×add-sqr-sqrt_binary64
83×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
118621
2211721
Stop Event
node limit
Counts
2 → 38
Calls

2 calls:

40.0ms
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))
40.0ms
(*.f64 x.im (*.f64 -3 x.re))

simplify43.0ms (1.2%)

Algorithm
egg-herbie
Rules
989×fma-def_binary64
593×unswap-sqr_binary64
342×fma-neg_binary64
322×cancel-sign-sub-inv_binary64
254×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
014498
140498
296462
3248462
4723462
51466462
62182462
73412462
Stop Event
node limit
Counts
86 → 45

prune45.0ms (1.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New42345
Fresh123
Picked011
Done011
Total43750
Error
0.0b
Counts
50 → 7
Alt Table
StatusErrorProgram
6.6b
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3))
6.7b
(-.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))
0.1b
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))
7.2b
(pow.f64 (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 3)
12.4b
(fma.f64 x.im (cbrt.f64 (pow.f64 (*.f64 (*.f64 x.im x.re) -3) 3)) (pow.f64 x.re 3))
24.2b
(fma.f64 x.im (pow.f64 (sqrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 2) (pow.f64 x.re 3))
0.5b
(fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 3) (pow.f64 x.re 3))
Compiler

Compiled 822 to 516 computations (37.2% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 3) (pow.f64 x.re 3))
0.2b
(*.f64 (*.f64 x.im x.re) -3)
0.5b
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 3)
12.4b
(cbrt.f64 (*.f64 (*.f64 x.im x.re) -3))

series889.0ms (24.1%)

Counts
4 → 96
Calls

4 calls:

381.0ms
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 3)
331.0ms
(cbrt.f64 (*.f64 (*.f64 x.im x.re) -3))
172.0ms
(fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 3) (pow.f64 x.re 3))
5.0ms
(*.f64 (*.f64 x.im x.re) -3)

rewrite50.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
850×log1p-expm1-u_binary64
850×expm1-log1p-u_binary64
188×prod-diff_binary64
99×egg-rr
97×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01137
122537
2241537
Stop Event
node limit
Counts
4 → 99
Calls

4 calls:

48.0ms
(fma.f64 x.im (pow.f64 (cbrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 3) (pow.f64 x.re 3))
48.0ms
(*.f64 (*.f64 x.im x.re) -3)
48.0ms
(pow.f64 (cbrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 3)
48.0ms
(cbrt.f64 (*.f64 (*.f64 x.im x.re) -3))

simplify55.0ms (1.5%)

Algorithm
egg-herbie
Rules
284×*-commutative_binary64
269×unsub-neg_binary64
264×unswap-sqr_binary64
242×fma-def_binary64
202×fma-neg_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0701956
11881950
25731821
31614918
43466910
Stop Event
node limit
Counts
195 → 113

prune107.0ms (2.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1112113
Fresh044
Picked101
Done022
Total1128120
Error
0.0b
Counts
120 → 8
Alt Table
StatusErrorProgram
6.6b
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3))
6.7b
(-.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))
0.5b
(fma.f64 x.im (*.f64 (pow.f64 (cbrt.f64 x.im) 2) (*.f64 (cbrt.f64 x.im) (*.f64 x.re -3))) (pow.f64 x.re 3))
0.1b
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))
0.2b
(fma.f64 -3 (*.f64 x.im (*.f64 x.im x.re)) (pow.f64 x.re 3))
7.2b
(pow.f64 (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 3)
12.4b
(fma.f64 x.im (cbrt.f64 (pow.f64 (*.f64 (*.f64 x.im x.re) -3) 3)) (pow.f64 x.re 3))
24.2b
(fma.f64 x.im (pow.f64 (sqrt.f64 (*.f64 (*.f64 x.im x.re) -3)) 2) (pow.f64 x.re 3))
Compiler

Compiled 2113 to 1458 computations (31% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series21.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

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

rewrite37.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
748×log1p-expm1-u_binary64
748×expm1-log1p-u_binary64
140×prod-diff_binary64
88×add-sqr-sqrt_binary64
82×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
118521
2208921
Stop Event
node limit
Counts
2 → 38
Calls

2 calls:

36.0ms
(fma.f64 -3 (*.f64 x.im (*.f64 x.im x.re)) (pow.f64 x.re 3))
36.0ms
(*.f64 x.im (*.f64 x.im x.re))

simplify41.0ms (1.1%)

Algorithm
egg-herbie
Rules
973×fma-def_binary64
593×unswap-sqr_binary64
340×fma-neg_binary64
336×cancel-sign-sub-inv_binary64
254×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
012498
135498
288462
3246462
4710462
51445462
62166462
73399462
Stop Event
node limit
Counts
86 → 45

prune45.0ms (1.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New44145
Fresh145
Picked011
Done022
Total45853
Error
0.0b
Counts
53 → 8
Alt Table
StatusErrorProgram
6.6b
(fma.f64 x.re (*.f64 x.im (*.f64 x.im -3)) (pow.f64 x.re 3))
6.7b
(-.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.2b
(pow.f64 (cbrt.f64 (fma.f64 x.re (*.f64 -3 (*.f64 x.im x.im)) (pow.f64 x.re 3))) 3)
6.6b
(fma.f64 -3 (*.f64 x.re (pow.f64 x.im 2)) (pow.f64 x.re 3))
0.5b
(fma.f64 x.im (*.f64 (pow.f64 (cbrt.f64 x.im) 2) (*.f64 (cbrt.f64 x.im) (*.f64 x.re -3))) (pow.f64 x.re 3))
0.1b
(fma.f64 x.im (*.f64 x.im (*.f64 -3 x.re)) (pow.f64 x.re 3))
0.2b
(fma.f64 -3 (*.f64 x.im (*.f64 x.im x.re)) (pow.f64 x.re 3))
12.4b
(fma.f64 x.im (cbrt.f64 (pow.f64 (*.f64 (*.f64 x.im x.re) -3) 3)) (pow.f64 x.re 3))
Compiler

Compiled 751 to 422 computations (43.8% saved)

regimes155.0ms (4.2%)

Accuracy

Total 0.2b remaining (88.6%)

Threshold costs 0.2b (88.6%)

Counts
55 → 1
Compiler

Compiled 2319 to 1617 computations (30.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11114
Stop Event
saturated

end110.0ms (3%)

Compiler

Compiled 141 to 94 computations (33.3% saved)

Profiling

Loading profile data...