Details

Time bar (total: 4.8s)

analyze479.0ms (10.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0490836
1490836
022
122
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
12.5%87.4%0.1%5
18.7%68.7%12.6%6
28.1%59.3%12.6%7
32.8%48.4%18.8%8
38.2%42.9%18.8%9
41%37.1%22%10
43.9%34.1%22%11
45.5%31%23.5%12
46.9%29.6%23.5%13
47.7%28%24.3%14
Compiler

Compiled 17 to 9 computations (47.1% saved)

sample51.0ms (1.1%)

Algorithm
intervals
Results
28.0ms140×body8192exit
8.0ms214×body128valid
3.0ms25×body512valid
1.0ms17×body256valid
0.0msbody128invalid
0.0msbody128overflowed
Compiler

Compiled 33 to 19 computations (42.4% saved)

simplify135.0ms (2.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (129.0ms)

IterNodesCost
0488718
1488718

prune9.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 40 to 26 computations (35% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))
0.0b
(/.f64 x (exp.f64 wj))
5.8b
(+.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)))

rewrite44.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity_binary64_3147
48×add-sqr-sqrt_binary64_3169
38×times-frac_binary64_3153
23×add-cube-cbrt_binary64_3182
10×difference-of-squares_binary64_3116
associate-/l*_binary64_3092
distribute-lft-out_binary64_3098
add-cbrt-cube_binary64_3183 associate-/r*_binary64_3091
add-exp-log_binary64_3185
distribute-lft-out--_binary64_3099 add-log-exp_binary64_3186
pow1_binary64_3208
clear-num_binary64_3146 flip-+_binary64_3121 frac-2neg_binary64_3158 flip3-+_binary64_3150 associate-/l/_binary64_3094 div-sub_binary64_3152 cbrt-undiv_binary64_3181 div-exp_binary64_3198 associate-/r/_binary64_3093 div-inv_binary64_3144
flip--_binary64_3122 flip3--_binary64_3151 associate-+r-_binary64_3081 +-commutative_binary64_3077 sum-log_binary64_3238
Counts
3 → 91
Calls

3 calls:

18.0ms
(+.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)))
14.0ms
(/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))
5.0ms
(/.f64 x (exp.f64 wj))

series126.0ms (2.7%)

Counts
3 → 9
Calls

3 calls:

54.0ms
(/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1))
40.0ms
(+.f64 wj (/.f64 (-.f64 (/.f64 x (exp.f64 wj)) wj) (+.f64 wj 1)))
32.0ms
(/.f64 x (exp.f64 wj))

simplify76.0ms (1.6%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049462095
149462095

prune107.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New955100
Fresh101
Picked011
Done000
Total966102
Error
0.3b
Counts
102 → 6
Compiler

Compiled 2110 to 868 computations (58.9% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 x (*.f64 wj (+.f64 wj (*.f64 x -2))))
0.0b
(*.f64 wj (+.f64 wj (*.f64 x -2)))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_3169
*-un-lft-identity_binary64_3147 add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 pow1_binary64_3208 add-log-exp_binary64_3186 add-cube-cbrt_binary64_3182
associate-*r*_binary64_3087 associate-*l*_binary64_3088
flip-+_binary64_3121 flip3-+_binary64_3150 distribute-lft-in_binary64_3096 associate-+r+_binary64_3079 distribute-rgt-in_binary64_3097 associate-*r/_binary64_3089
*-commutative_binary64_3078 unswap-sqr_binary64_3115 pow-prod-down_binary64_3218 +-commutative_binary64_3077 prod-exp_binary64_3196 cbrt-unprod_binary64_3180 sum-log_binary64_3238
Counts
2 → 35
Calls

2 calls:

6.0ms
(*.f64 wj (+.f64 wj (*.f64 x -2)))
3.0ms
(+.f64 x (*.f64 wj (+.f64 wj (*.f64 x -2))))

series58.0ms (1.2%)

Counts
2 → 6
Calls

2 calls:

32.0ms
(*.f64 wj (+.f64 wj (*.f64 x -2)))
25.0ms
(+.f64 x (*.f64 wj (+.f64 wj (*.f64 x -2))))

simplify60.0ms (1.3%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04970598
14970598

prune39.0ms (0.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New39241
Fresh044
Picked011
Done011
Total39847
Error
0.3b
Counts
47 → 8
Compiler

Compiled 750 to 452 computations (39.7% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 wj) (cbrt.f64 wj))
0.6b
(cbrt.f64 wj)
0.6b
(cbrt.f64 wj)
0.6b
(cbrt.f64 wj)

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64_3178
23×add-sqr-sqrt_binary64_3169
15×*-un-lft-identity_binary64_3147 add-cube-cbrt_binary64_3182
11×pow1_binary64_3208
pow1/3_binary64_3229
add-exp-log_binary64_3185 swap-sqr_binary64_3114 associate-*r*_binary64_3087 associate-*l*_binary64_3088
unswap-sqr_binary64_3115 add-cbrt-cube_binary64_3183 add-log-exp_binary64_3186
pow-prod-down_binary64_3218 pow-prod-up_binary64_3217 pow-sqr_binary64_3120
*-commutative_binary64_3078 prod-exp_binary64_3196 pow-plus_binary64_3210 pow2_binary64_3228 cbrt-unprod_binary64_3180
Counts
4 → 73
Calls

4 calls:

6.0ms
(*.f64 (cbrt.f64 wj) (cbrt.f64 wj))
1.0ms
(cbrt.f64 wj)
1.0ms
(cbrt.f64 wj)
1.0ms
(cbrt.f64 wj)

series364.0ms (7.7%)

Counts
4 → 12
Calls

4 calls:

111.0ms
(*.f64 (cbrt.f64 wj) (cbrt.f64 wj))
90.0ms
(cbrt.f64 wj)
82.0ms
(cbrt.f64 wj)
80.0ms
(cbrt.f64 wj)

simplify63.0ms (1.3%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04892563
14892563

prune84.0ms (1.8%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New82385
Fresh145
Picked011
Done022
Total831093
Error
0.3b
Counts
93 → 10
Compiler

Compiled 1761 to 850 computations (51.7% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (+.f64 wj (*.f64 x -2)) (cbrt.f64 wj))
0.3b
(*.f64 (pow.f64 (*.f64 wj wj) 1/3) (*.f64 (+.f64 wj (*.f64 x -2)) (cbrt.f64 wj)))
0.6b
(cbrt.f64 wj)
29.4b
(pow.f64 (*.f64 wj wj) 1/3)

rewrite29.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
29×add-exp-log_binary64_3185
16×prod-exp_binary64_3196
14×add-sqr-sqrt_binary64_3169 pow1_binary64_3208
11×add-cbrt-cube_binary64_3183
10×*-un-lft-identity_binary64_3147 add-cube-cbrt_binary64_3182
associate-*l*_binary64_3088
associate-*r*_binary64_3087 cbrt-unprod_binary64_3180 cbrt-prod_binary64_3178
pow-exp_binary64_3215 pow-pow_binary64_3219
associate-*l/_binary64_3090 add-log-exp_binary64_3186
pow-to-exp_binary64_3216 unpow1/3_binary64_3214 pow-unpow_binary64_3224
*-commutative_binary64_3078 unpow-prod-down_binary64_3226 unswap-sqr_binary64_3115 flip-+_binary64_3121 pow-prod-down_binary64_3218 flip3-+_binary64_3150 sqr-pow_binary64_3119 associate-*r/_binary64_3089
pow1/3_binary64_3229 pow-plus_binary64_3210 pow2_binary64_3228 pow-prod-up_binary64_3217 pow-sqr_binary64_3120
Counts
4 → 85
Calls

4 calls:

9.0ms
(*.f64 (pow.f64 (*.f64 wj wj) 1/3) (*.f64 (+.f64 wj (*.f64 x -2)) (cbrt.f64 wj)))
7.0ms
(*.f64 (+.f64 wj (*.f64 x -2)) (cbrt.f64 wj))
6.0ms
(pow.f64 (*.f64 wj wj) 1/3)
1.0ms
(cbrt.f64 wj)

series317.0ms (6.7%)

Counts
4 → 12
Calls

4 calls:

107.0ms
(*.f64 (+.f64 wj (*.f64 x -2)) (cbrt.f64 wj))
86.0ms
(pow.f64 (*.f64 wj wj) 1/3)
85.0ms
(cbrt.f64 wj)
39.0ms
(*.f64 (pow.f64 (*.f64 wj wj) 1/3) (*.f64 (+.f64 wj (*.f64 x -2)) (cbrt.f64 wj)))

simplify97.0ms (2%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
049151068
149151068

prune90.0ms (1.9%)

Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New95297
Fresh156
Picked011
Done033
Total9611107
Error
0.3b
Counts
107 → 11
Compiler

Compiled 1759 to 1001 computations (43.1% saved)

regimes233.0ms (4.9%)

Accuracy

Total 0.5b remaining (61.1%)

Threshold costs 0.5b (61.1%)

Compiler

Compiled 2571 to 1608 computations (37.5% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 16 to 8 computations (50% saved)

simplify16.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (14.0ms)

IterNodesCost
044463
144463

end0.0ms (0%)

sample2.2s (46.5%)

Algorithm
intervals
Results
832.0ms3808×body8192exit
255.0ms6559×body128valid
82.0ms695×body512valid
53.0ms721×body256valid
4.0ms87×body128invalid
4.0ms25×body1024valid
0.0ms10×body128overflowed
Compiler

Compiled 920 to 574 computations (37.6% saved)

Profiling

Loading profile data...