Details

Time bar (total: 4.3s)

analyze580.0ms (13.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0523236
033
133
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
0%99.9%0.1%5
0%99.9%0.1%6
23.4%51.5%25.1%7
24.2%50.7%25.1%8
24.6%50.3%25.1%9
36.9%25.5%37.6%10
37.2%25.3%37.6%11
37.3%25.1%37.6%12
43.5%12.7%43.8%13
43.6%12.6%43.8%14
Compiler

Compiled 29 to 21 computations (27.6% saved)

sample39.0ms (0.9%)

Algorithm
intervals
Results
26.0ms256×body128valid
3.0ms30×body128nan
Compiler

Compiled 57 to 44 computations (22.8% saved)

simplify119.0ms (2.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (114.0ms)

IterNodesCost
049689
149689

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.3b
Counts
2 → 2
Compiler

Compiled 40 to 32 computations (20% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×times-frac_binary64_84
10×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
pow1_binary64_139
associate-/r*_binary64_22 log-pow_binary64_167
add-cbrt-cube_binary64_114 associate-/l*_binary64_23 add-exp-log_binary64_116
add-log-exp_binary64_117 cbrt-undiv_binary64_112 div-exp_binary64_129 frac-2neg_binary64_89 div-inv_binary64_75 clear-num_binary64_77
Counts
1 → 31
Calls

1 calls:

3.0ms
(/.f64 (atan2.f64 im re) (log.f64 base))

series47.0ms (1.1%)

Counts
1 → 3
Calls

1 calls:

47.0ms
(/.f64 (atan2.f64 im re) (log.f64 base))

simplify68.0ms (1.6%)

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04804518
14804518

prune37.0ms (0.9%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New241034
Fresh011
Picked011
Done000
Total241236
Error
0.1b
Counts
36 → 12
Compiler

Compiled 562 to 187 computations (66.7% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.3b
(/.f64 1 (log.f64 base))
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64_100
26×times-frac_binary64_84
21×*-un-lft-identity_binary64_78
20×add-cube-cbrt_binary64_113
16×associate-*r*_binary64_18
15×add-exp-log_binary64_116
12×pow1_binary64_139
add-cbrt-cube_binary64_114
log-pow_binary64_167
prod-exp_binary64_127 div-exp_binary64_129 associate-/r*_binary64_22
associate-*l*_binary64_19 associate-/l*_binary64_23 unswap-sqr_binary64_46
add-log-exp_binary64_117 cbrt-unprod_binary64_111 cbrt-undiv_binary64_112 1-exp_binary64_122 div-inv_binary64_75 rec-exp_binary64_128
*-commutative_binary64_9 inv-pow_binary64_163 un-div-inv_binary64_76 frac-2neg_binary64_89 pow-flip_binary64_152 pow-prod-down_binary64_149 associate-*r/_binary64_20 clear-num_binary64_77
Counts
2 → 74
Calls

2 calls:

9.0ms
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
3.0ms
(/.f64 1 (log.f64 base))

series120.0ms (2.8%)

Counts
2 → 6
Calls

2 calls:

71.0ms
(/.f64 1 (log.f64 base))
48.0ms
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))

simplify64.0ms (1.5%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05058875

prune64.0ms (1.5%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New76480
Fresh3710
Picked011
Done011
Total791392
Error
0.0b
Counts
92 → 13
Compiler

Compiled 1090 to 469 computations (57% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.3b
(/.f64 (log.f64 base) (atan2.f64 im re))
0.4b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64_84
60×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
19×associate-/r*_binary64_22 pow1_binary64_139
16×log-pow_binary64_167
15×add-exp-log_binary64_116
add-cbrt-cube_binary64_114
div-exp_binary64_129
associate-/l*_binary64_23
div-inv_binary64_75
cbrt-undiv_binary64_112
add-log-exp_binary64_117 frac-2neg_binary64_89 1-exp_binary64_122 rec-exp_binary64_128 clear-num_binary64_77
inv-pow_binary64_163 pow-flip_binary64_152 associate-/r/_binary64_24
Counts
2 → 119
Calls

2 calls:

7.0ms
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
4.0ms
(/.f64 (log.f64 base) (atan2.f64 im re))

series103.0ms (2.4%)

Counts
2 → 6
Calls

2 calls:

52.0ms
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
50.0ms
(/.f64 (log.f64 base) (atan2.f64 im re))

simplify75.0ms (1.7%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050842327

prune101.0ms (2.3%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1205125
Fresh3710
Picked101
Done022
Total12414138
Error
0.0b
Counts
138 → 14
Compiler

Compiled 2056 to 595 computations (71.1% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 1 (log.f64 base))
0.3b
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
0.6b
(cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))
0.7b
(pow.f64 (/.f64 1 (log.f64 base)) 3)

rewrite56.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
88×times-frac_binary64_84
85×add-sqr-sqrt_binary64_100
84×cbrt-prod_binary64_109
68×*-un-lft-identity_binary64_78
66×add-cube-cbrt_binary64_113
51×unpow-prod-down_binary64_157 cube-prod_binary64_106
41×associate-*r*_binary64_18
31×pow1_binary64_139
22×log-pow_binary64_167
15×add-exp-log_binary64_116
10×add-cbrt-cube_binary64_114
unswap-sqr_binary64_46
div-inv_binary64_75
pow-exp_binary64_146 add-log-exp_binary64_117 div-exp_binary64_129 sqr-pow_binary64_50 associate-/r*_binary64_22
cube-mult_binary64_108 associate-*l*_binary64_19 cube-div_binary64_107 pow-pow_binary64_150 associate-/l*_binary64_23 pow-unpow_binary64_155 unpow3_binary64_144
rem-cube-cbrt_binary64_101 cbrt-div_binary64_110 cbrt-undiv_binary64_112 inv-pow_binary64_163 1-exp_binary64_122 pow-flip_binary64_152 rec-exp_binary64_128
*-commutative_binary64_9 rem-cbrt-cube_binary64_102 pow-to-exp_binary64_147 cbrt-unprod_binary64_111 prod-exp_binary64_127 pow1/3_binary64_160 frac-2neg_binary64_89 pow-prod-down_binary64_149 associate-*r/_binary64_20 clear-num_binary64_77
Counts
4 → 204
Calls

4 calls:

19.0ms
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
6.0ms
(pow.f64 (/.f64 1 (log.f64 base)) 3)
6.0ms
(cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))
4.0ms
(/.f64 1 (log.f64 base))

series302.0ms (7%)

Counts
4 → 12
Calls

4 calls:

105.0ms
(pow.f64 (/.f64 1 (log.f64 base)) 3)
79.0ms
(/.f64 1 (log.f64 base))
70.0ms
(cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))
47.0ms
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))

simplify79.0ms (1.8%)

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049432423
149432423

prune175.0ms (4.1%)

Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New2133216
Fresh4711
Picked011
Done022
Total21713230
Error
0.0b
Counts
230 → 13
Compiler

Compiled 3050 to 1612 computations (47.1% saved)

regimes370.0ms (8.6%)

Accuracy

Total 0.3b remaining (97%)

Threshold costs 0.3b (97%)

Compiler

Compiled 3421 to 2536 computations (25.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
179

end0.0ms (0%)

sample1.8s (42.6%)

Algorithm
intervals
Results
761.0ms8000×body128valid
95.0ms1047×body128nan
Compiler

Compiled 706 to 524 computations (25.8% saved)

Profiling

Loading profile data...