Details

Time bar (total: 2.9s)

analyze189.0ms (6.6%)

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 (72.8%)

Results
715.0ms1391×body1024valid
633.0ms5845×body128valid
296.0ms655×body1024invalid
202.0ms678×body512valid
91.0ms327×body512invalid
65.0ms341×body256valid
34.0ms185×body128invalid
30.0ms160×body256invalid
1.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify8.0ms (0.3%)

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 2 expressions with local error:

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

series9.0ms (0.3%)

Counts
2 → 12
Calls

2 calls:

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

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
pow1_binary64
Counts
2 → 29
Calls

2 calls:

4.0ms
(*.f64 (exp.f64 re) (cos.f64 im))
1.0ms
(cos.f64 im)

simplify111.0ms (3.9%)

Algorithm
egg-herbie
Rules
379×fma-neg_binary64
372×distribute-rgt-neg-in_binary64
371×cancel-sign-sub-inv_binary64
334×sub-neg_binary64
289×*-commutative_binary64
Counts
41 → 61
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078522
1198475
2556445
31489430
42711430
54561430
64969430
74997430
84877430

prune34.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New59261
Fresh000
Picked011
Done000
Total59362
Error
0b
Counts
62 → 3
Alt Table
StatusErrorProgram
0.2b
(*.f64 (exp.f64 re) (cbrt.f64 (pow.f64 (cos.f64 im) 3)))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
20.3b
(fma.f64 (cos.f64 im) re (cos.f64 im))
Compiler

Compiled 727 to 298 computations (59% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cbrt.f64 (pow.f64 (cos.f64 im) 3)))
0.0b
(cos.f64 im)
0.3b
(pow.f64 (cos.f64 im) 3)
0.4b
(cbrt.f64 (pow.f64 (cos.f64 im) 3))

series16.0ms (0.6%)

Counts
3 → 40
Calls

3 calls:

9.0ms
(*.f64 (exp.f64 re) (cbrt.f64 (pow.f64 (cos.f64 im) 3)))
5.0ms
(pow.f64 (cos.f64 im) 3)
2.0ms
(cbrt.f64 (pow.f64 (cos.f64 im) 3))

rewrite13.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod_binary64
23×add-sqr-sqrt_binary64
15×associate-*r*_binary64
14×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
Counts
3 → 84
Calls

3 calls:

7.0ms
(*.f64 (exp.f64 re) (cbrt.f64 (pow.f64 (cos.f64 im) 3)))
2.0ms
(pow.f64 (cos.f64 im) 3)
2.0ms
(cbrt.f64 (pow.f64 (cos.f64 im) 3))

simplify91.0ms (3.2%)

Algorithm
egg-herbie
Rules
714×fma-neg_binary64
320×*-commutative_binary64
318×fma-def_binary64
260×log-prod_binary64
252×unswap-sqr_binary64
Counts
124 → 133
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01361275
12981194
210411144
322461132
440941123
549111123
649421123

prune77.0ms (2.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1500150
Fresh011
Picked011
Done011
Total1503153
Error
0b
Counts
153 → 3
Alt Table
StatusErrorProgram
0.2b
(*.f64 (exp.f64 re) (cbrt.f64 (pow.f64 (cos.f64 im) 3)))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
20.3b
(fma.f64 (cos.f64 im) re (cos.f64 im))
Compiler

Compiled 2026 to 1074 computations (47% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 im)
0.0b
(fma.f64 (cos.f64 im) re (cos.f64 im))

series8.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

7.0ms
(fma.f64 (cos.f64 im) re (cos.f64 im))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 (cos.f64 im) re (cos.f64 im))

simplify68.0ms (2.4%)

Algorithm
egg-herbie
Rules
570×associate--r+_binary64
478×fma-neg_binary64
350×associate-+l-_binary64
340×distribute-rgt-neg-in_binary64
271×associate-+r-_binary64
Counts
34 → 30
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046428
1116399
2395389
31630380
44368380
54914380
65035380

prune31.0ms (1.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh000
Picked011
Done022
Total64367
Error
0b
Counts
67 → 3
Alt Table
StatusErrorProgram
0.2b
(*.f64 (exp.f64 re) (cbrt.f64 (pow.f64 (cos.f64 im) 3)))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
20.3b
(fma.f64 (cos.f64 im) re (cos.f64 im))
Compiler

Compiled 803 to 391 computations (51.3% saved)

regimes59.0ms (2.1%)

Accuracy

Total 0.0b remaining (50.6%)

Threshold costs 0.0b (50.6%)

Counts
12 → 1
Compiler

Compiled 642 to 465 computations (27.6% 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 39 to 27 computations (30.8% saved)

Profiling

Loading profile data...