Details

Time bar (total: 2.1s)

analyze136.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 6 to 6 computations (0% saved)

sample38.0ms (1.8%)

Algorithm
intervals
Results
11.0ms38×body1024valid
7.0ms181×body128valid
5.0ms24×body1024invalid
3.0ms21×body512valid
1.0ms16×body256valid
1.0ms11×body512invalid
1.0ms12×body256invalid
0.0msbody128invalid
Compiler

Compiled 11 to 13 computations (-18.2% saved)

simplify167.0ms (8.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
078
178

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 10 to 10 computations (0% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

rewrite7.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_789
associate-*l*_binary64_708 associate-*r*_binary64_707 pow1_binary64_828 *-un-lft-identity_binary64_767 add-cbrt-cube_binary64_803 add-cube-cbrt_binary64_802
add-exp-log_binary64_805
unswap-sqr_binary64_735 cbrt-unprod_binary64_800 prod-exp_binary64_816 *-commutative_binary64_698 add-log-exp_binary64_806 pow-prod-down_binary64_838
Counts
1 → 18
Calls

1 calls:

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

series64.0ms (3.1%)

Counts
1 → 3
Calls

1 calls:

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

simplify55.0ms (2.7%)

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04922219
14922219

prune13.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New20121
Fresh000
Picked011
Done000
Total20222

Merged error: 0.0b

Counts
22 → 2
Compiler

Compiled 205 to 69 computations (66.3% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 re (log.f64 (cos.f64 im)))
0.0b
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
1.5b
(log.f64 (cos.f64 im))

rewrite13.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64_767
pow1_binary64_828 add-log-exp_binary64_806 add-sqr-sqrt_binary64_789 log-prod_binary64_853 add-cube-cbrt_binary64_802
exp-prod_binary64_819
distribute-lft-out_binary64_718 add-exp-log_binary64_805
log-pow_binary64_856 associate-+r+_binary64_699 add-cbrt-cube_binary64_803
sum-log_binary64_858 rem-exp-log_binary64_807
flip-+_binary64_741 exp-sum_binary64_813 +-commutative_binary64_697 rem-log-exp_binary64_808 flip3-+_binary64_770
Counts
3 → 43
Calls

3 calls:

5.0ms
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
4.0ms
(+.f64 re (log.f64 (cos.f64 im)))
2.0ms
(log.f64 (cos.f64 im))

series204.0ms (9.9%)

Counts
3 → 9
Calls

3 calls:

75.0ms
(log.f64 (cos.f64 im))
68.0ms
(+.f64 re (log.f64 (cos.f64 im)))
61.0ms
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))

simplify75.0ms (3.6%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
05037513

prune28.0ms (1.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done011
Total52254

Merged error: 0.0b

Counts
54 → 2
Compiler

Compiled 511 to 162 computations (68.3% saved)

regimes38.0ms (1.9%)

Compiler

Compiled 77 to 85 computations (-10.4% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
178

end0.0ms (0%)

sample1.2s (58.5%)

Algorithm
intervals
Results
373.0ms1360×body1024valid
230.0ms5591×body128valid
142.0ms698×body1024invalid
97.0ms687×body512valid
44.0ms335×body512invalid
35.0ms358×body256valid
13.0ms160×body256invalid
9.0ms183×body128invalid
2.0msbody2048valid
Compiler

Compiled 22 to 24 computations (-9.1% saved)

Profiling

Loading profile data...