Details

Time bar (total: 3.0s)

analyze188.0ms (6.3%)

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

Results
711.0ms1409×body1024valid
660.0ms5820×body128valid
296.0ms680×body1024invalid
195.0ms685×body512valid
99.0ms361×body512invalid
70.0ms340×body256valid
37.0ms156×body256invalid
24.0ms207×body128invalid
4.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 2 expressions with local error:

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

series10.0ms (0.3%)

Counts
2 → 12
Calls

2 calls:

8.0ms
(*.f64 (exp.f64 re) (cos.f64 im))
1.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)

simplify107.0ms (3.6%)

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

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New59261
Fresh000
Picked011
Done000
Total59362
Error
0b
Counts
62 → 3
Alt Table
StatusErrorProgram
12.6b
(*.f64 (exp.f64 re) (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im))))
0.1b
(*.f64 (exp.f64 re) (log1p.f64 (expm1.f64 (cos.f64 im))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 733 to 302 computations (58.8% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (log1p.f64 (expm1.f64 (cos.f64 im))))
0.0b
(cos.f64 im)
0.2b
(log1p.f64 (expm1.f64 (cos.f64 im)))
0.6b
(expm1.f64 (cos.f64 im))

series12.0ms (0.4%)

Counts
3 → 48
Calls

3 calls:

7.0ms
(*.f64 (exp.f64 re) (log1p.f64 (expm1.f64 (cos.f64 im))))
3.0ms
(expm1.f64 (cos.f64 im))
1.0ms
(log1p.f64 (expm1.f64 (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
3 → 42
Calls

3 calls:

3.0ms
(*.f64 (exp.f64 re) (log1p.f64 (expm1.f64 (cos.f64 im))))
0.0ms
(expm1.f64 (cos.f64 im))
0.0ms
(log1p.f64 (expm1.f64 (cos.f64 im)))

simplify69.0ms (2.3%)

Algorithm
egg-herbie
Rules
653×fma-neg_binary64
484×sub-neg_binary64
307×fma-def_binary64
293×associate-*l*_binary64
242×associate-*r*_binary64
Counts
90 → 93
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0108900
1263832
2762798
32136774
44525774
55065774

prune55.0ms (1.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done011
Total1103113
Error
0b
Counts
113 → 3
Alt Table
StatusErrorProgram
12.6b
(*.f64 (exp.f64 re) (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im))))
0.1b
(*.f64 (exp.f64 re) (log1p.f64 (expm1.f64 (cos.f64 im))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 1402 to 577 computations (58.8% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 im)
0.0b
(sqrt.f64 (cos.f64 im))
0.1b
(*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)))

series9.0ms (0.3%)

Counts
2 → 16
Calls

2 calls:

6.0ms
(*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)))
2.0ms
(sqrt.f64 (cos.f64 im))

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

5.0ms
(*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)))
1.0ms
(sqrt.f64 (cos.f64 im))

simplify122.0ms (4.1%)

Algorithm
egg-herbie
Rules
567×unswap-sqr_binary64
474×fma-def_binary64
404×sub-neg_binary64
334×distribute-rgt-neg-in_binary64
326×cancel-sign-sub-inv_binary64
Counts
84 → 86
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
076610
1151574
2392560
31044526
42489526
54044526
64389512
74785504
84956504
94898504

prune73.0ms (2.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1430143
Fresh000
Picked011
Done022
Total1433146
Error
0b
Counts
146 → 3
Alt Table
StatusErrorProgram
12.6b
(*.f64 (exp.f64 re) (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im))))
0.1b
(*.f64 (exp.f64 re) (log1p.f64 (expm1.f64 (cos.f64 im))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 2128 to 786 computations (63.1% saved)

regimes42.0ms (1.4%)

Accuracy

Total 0.0b remaining (22.7%)

Threshold costs 0.0b (22.7%)

Counts
8 → 1
Compiler

Compiled 437 to 305 computations (30.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
278

end89.0ms (3%)

Compiler

Compiled 42 to 29 computations (31% saved)

Profiling

Loading profile data...