Details

Time bar (total: 2.9s)

analyze191.0ms (6.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
50%50%0.1%2
50%50%0.1%3
74.9%25%0.1%4
74.9%25%0.1%5
74.9%18.7%6.3%6
74.9%18.7%6.3%7
74.9%15.6%9.5%8
74.9%15.6%9.5%9
74.9%14%11%10
74.9%14%11%11
74.9%13.3%11.8%12
74.9%13.3%11.8%13
74.9%12.9%12.2%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample2.1s (71.4%)

Results
732.0ms1409×body1024valid
620.0ms5818×body128valid
309.0ms690×body1024invalid
193.0ms668×body512valid
97.0ms354×body512invalid
70.0ms360×body256valid
31.0ms158×body256invalid
20.0ms175×body128invalid
1.0msbody2048valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
278

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 21 to 15 computations (28.6% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))

series7.0ms (0.2%)

Counts
1 → 8
Calls

1 calls:

7.0ms
(*.f64 (exp.f64 re) (cos.f64 im))

rewrite39.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
483×log1p-expm1-u_binary64
483×expm1-log1p-u_binary64
330×unpow-prod-down_binary64
280×log-prod_binary64
150×pow2_binary64
Counts
1 → 18
Calls

1 calls:

38.0ms
(*.f64 (exp.f64 re) (cos.f64 im))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11138
212858
349838
000
100

simplify82.0ms (2.8%)

Algorithm
egg-herbie
Rules
767×fma-neg_binary64
720×fma-def_binary64
580×distribute-rgt-neg-in_binary64
544×cancel-sign-sub-inv_binary64
331×neg-mul-1_binary64
Counts
26 → 32
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
038166
1106160
2286142
3883122
42140118
53874118
64468118
74986118
84860118

prune19.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New31132
Fresh000
Picked011
Done000
Total31233
Error
0.0b
Counts
33 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
21.4b
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))))))
Compiler

Compiled 410 to 198 computations (51.7% saved)

localize15.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cos.f64 im) (pow.f64 re 2))
0.1b
(*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)))
0.1b
(*.f64 (cos.f64 im) re)
10.4b
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))))))

series57.0ms (1.9%)

Counts
4 → 27
Calls

4 calls:

24.0ms
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))))))
14.0ms
(*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)))
9.0ms
(*.f64 (cos.f64 im) (pow.f64 re 2))
9.0ms
(*.f64 (cos.f64 im) re)

rewrite77.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
342×log1p-udef_binary64
193×add-sqr-sqrt_binary64
191×log1p-expm1-u_binary64
191×expm1-log1p-u_binary64
182×add-cbrt-cube_binary64
Counts
4 → 83
Calls

4 calls:

75.0ms
(*.f64 (cos.f64 im) (pow.f64 re 2))
75.0ms
(*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)))
75.0ms
(*.f64 (cos.f64 im) re)
75.0ms
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01862
140762
2475862
3517862
000
100

simplify79.0ms (2.7%)

Algorithm
egg-herbie
Rules
482×associate-*l*_binary64
448×associate-*r*_binary64
421×associate--r+_binary64
408×associate--l+_binary64
370×cancel-sign-sub-inv_binary64
Counts
110 → 125
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0107865
1359825
21286709
34862709
44987709
54974709

prune140.0ms (4.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1250125
Fresh000
Picked011
Done011
Total1252127
Error
0.0b
Counts
127 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
21.4b
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))))))
Compiler

Compiled 4317 to 2340 computations (45.8% saved)

regimes76.0ms (2.6%)

Accuracy

Total 0.0b remaining (35.4%)

Threshold costs 0.0b (35.4%)

Counts
15 → 1
Compiler

Compiled 1317 to 825 computations (37.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
278

end46.0ms (1.6%)

Compiler

Compiled 48 to 32 computations (33.3% saved)

Profiling

Loading profile data...