Details

Time bar (total: 2.9s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 22 to 17 computations (22.7% saved)

sample18.0ms (0.6%)

Algorithm
intervals
Results
7.0ms256×pre128true
5.0ms256×body128valid
Compiler

Compiled 29 to 25 computations (13.8% saved)

simplify139.0ms (4.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049810
149810

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 14 to 12 computations (14.3% saved)

localize9.0ms (0.3%)

Local error

Found 2 expressions with local error:

1.0b
(/.f64 x0 (-.f64 1 x1))
7.5b
(-.f64 (/.f64 x0 (-.f64 1 x1)) x0)

rewrite23.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64_3169
28×*-un-lft-identity_binary64_3147
19×times-frac_binary64_3153
14×add-cube-cbrt_binary64_3182
10×difference-of-squares_binary64_3116
associate-/r*_binary64_3091
distribute-lft-out--_binary64_3099
add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 add-log-exp_binary64_3186
cancel-sign-sub-inv_binary64_3113 associate-/l*_binary64_3092
flip--_binary64_3122 flip3--_binary64_3151 pow1_binary64_3208 associate-/r/_binary64_3093
clear-num_binary64_3146 frac-2neg_binary64_3158 sub-neg_binary64_3140 cbrt-undiv_binary64_3181 div-exp_binary64_3198 diff-log_binary64_3239 div-inv_binary64_3144
Counts
2 → 58
Calls

2 calls:

14.0ms
(-.f64 (/.f64 x0 (-.f64 1 x1)) x0)
6.0ms
(/.f64 x0 (-.f64 1 x1))

series60.0ms (2.1%)

Counts
2 → 6
Calls

2 calls:

34.0ms
(-.f64 (/.f64 x0 (-.f64 1 x1)) x0)
27.0ms
(/.f64 x0 (-.f64 1 x1))

simplify60.0ms (2%)

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05131940

prune50.0ms (1.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New62264
Fresh000
Picked101
Done000
Total63265
Error
6.7b
Counts
65 → 2
Compiler

Compiled 896 to 538 computations (40% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (-.f64 1 x1) (-.f64 1 x1))
0.5b
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
1.0b
(/.f64 x0 (-.f64 1 x1))
6.0b
(-.f64 (/.f64 x0 (*.f64 (-.f64 1 x1) (-.f64 1 x1))) x0)

rewrite59.0ms (2%)

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity_binary64_3147
52×add-sqr-sqrt_binary64_3169
22×add-cube-cbrt_binary64_3182
19×times-frac_binary64_3153
18×difference-of-squares_binary64_3116
11×distribute-lft-out--_binary64_3099 pow1_binary64_3208
cancel-sign-sub-inv_binary64_3113
flip--_binary64_3122 add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 swap-sqr_binary64_3114 flip3--_binary64_3151 add-log-exp_binary64_3186
associate-*r*_binary64_3087 associate-/r*_binary64_3091 associate-*l*_binary64_3088
frac-times_binary64_3157 distribute-lft-in_binary64_3096 distribute-rgt-in_binary64_3097
sub-neg_binary64_3140 associate-/l*_binary64_3092
associate-*l/_binary64_3090 associate-/r/_binary64_3093 associate-*r/_binary64_3089
*-commutative_binary64_3078 unswap-sqr_binary64_3115 clear-num_binary64_3146 flip-+_binary64_3121 pow-prod-down_binary64_3218 frac-2neg_binary64_3158 flip3-+_binary64_3150 distribute-lft-out_binary64_3098 +-commutative_binary64_3077 prod-exp_binary64_3196 pow-plus_binary64_3210 cbrt-undiv_binary64_3181 pow2_binary64_3228 pow-prod-up_binary64_3217 cbrt-unprod_binary64_3180 div-exp_binary64_3198 diff-log_binary64_3239 pow-sqr_binary64_3120 div-inv_binary64_3144 sum-log_binary64_3238
Counts
4 → 122
Calls

4 calls:

17.0ms
(-.f64 (/.f64 x0 (*.f64 (-.f64 1 x1) (-.f64 1 x1))) x0)
12.0ms
(*.f64 (-.f64 1 x1) (-.f64 1 x1))
11.0ms
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
8.0ms
(/.f64 x0 (-.f64 1 x1))

series128.0ms (4.4%)

Counts
4 → 12
Calls

4 calls:

58.0ms
(-.f64 (/.f64 x0 (*.f64 (-.f64 1 x1) (-.f64 1 x1))) x0)
35.0ms
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
26.0ms
(/.f64 x0 (-.f64 1 x1))
9.0ms
(*.f64 (-.f64 1 x1) (-.f64 1 x1))

simplify71.0ms (2.4%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050111914

prune159.0ms (5.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1322134
Fresh101
Picked101
Done000
Total1342136
Error
5.3b
Counts
136 → 2
Compiler

Compiled 3610 to 2261 computations (37.4% saved)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 x1 (+.f64 x1 -2))
0.5b
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
1.0b
(/.f64 x0 (-.f64 1 x1))
6.0b
(-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)

rewrite41.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64_3169
36×*-un-lft-identity_binary64_3147
19×times-frac_binary64_3153
18×add-cube-cbrt_binary64_3182
10×difference-of-squares_binary64_3116
add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 add-log-exp_binary64_3186
associate-/r*_binary64_3091 pow1_binary64_3208
distribute-lft-out--_binary64_3099
associate-*r*_binary64_3087
cancel-sign-sub-inv_binary64_3113 associate-/l*_binary64_3092 associate-*l*_binary64_3088
flip--_binary64_3122 flip-+_binary64_3121 flip3--_binary64_3151 flip3-+_binary64_3150 distribute-lft-out_binary64_3098 associate-/r/_binary64_3093 associate-*r/_binary64_3089
*-commutative_binary64_3078 unswap-sqr_binary64_3115 clear-num_binary64_3146 pow-prod-down_binary64_3218 frac-2neg_binary64_3158 sub-neg_binary64_3140 +-commutative_binary64_3077 prod-exp_binary64_3196 distribute-lft-in_binary64_3096 cbrt-undiv_binary64_3181 cbrt-unprod_binary64_3180 div-exp_binary64_3198 diff-log_binary64_3239 distribute-rgt-in_binary64_3097 div-inv_binary64_3144 sum-log_binary64_3238
Counts
4 → 93
Calls

4 calls:

11.0ms
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
10.0ms
(-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)
7.0ms
(*.f64 x1 (+.f64 x1 -2))
6.0ms
(/.f64 x0 (-.f64 1 x1))

series154.0ms (5.3%)

Counts
4 → 12
Calls

4 calls:

78.0ms
(-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)
28.0ms
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
25.0ms
(/.f64 x0 (-.f64 1 x1))
23.0ms
(*.f64 x1 (+.f64 x1 -2))

simplify81.0ms (2.8%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049311557
149311557

prune123.0ms (4.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1032105
Fresh101
Picked101
Done000
Total1052107
Error
4.3b
Counts
107 → 2
Compiler

Compiled 2920 to 1812 computations (37.9% saved)

localize16.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.5b
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
1.0b
(/.f64 x0 (-.f64 1 x1))
4.9b
(log.f64 (exp.f64 (-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)))
6.0b
(-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)

rewrite50.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64_3169
37×*-un-lft-identity_binary64_3147
20×times-frac_binary64_3153
19×add-cube-cbrt_binary64_3182
12×difference-of-squares_binary64_3116
add-log-exp_binary64_3186
log-prod_binary64_3233 log-pow_binary64_3236
add-exp-log_binary64_3185 cancel-sign-sub-inv_binary64_3113 add-cbrt-cube_binary64_3183 associate-/r*_binary64_3091 distribute-lft-out--_binary64_3099 exp-prod_binary64_3199
pow1_binary64_3208
exp-sum_binary64_3193
associate-/l*_binary64_3092
flip--_binary64_3122 flip3--_binary64_3151 sub-neg_binary64_3140 associate-/r/_binary64_3093
rem-log-exp_binary64_3188 clear-num_binary64_3146 flip-+_binary64_3121 frac-2neg_binary64_3158 flip3-+_binary64_3150 distribute-lft-out_binary64_3098 +-commutative_binary64_3077 exp-diff_binary64_3195 cbrt-undiv_binary64_3181 div-exp_binary64_3198 diff-log_binary64_3239 log-div_binary64_3234 div-inv_binary64_3144 sum-log_binary64_3238
Counts
4 → 93
Calls

4 calls:

14.0ms
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
11.0ms
(log.f64 (exp.f64 (-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)))
10.0ms
(-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)
6.0ms
(/.f64 x0 (-.f64 1 x1))

series290.0ms (9.9%)

Counts
4 → 12
Calls

4 calls:

167.0ms
(log.f64 (exp.f64 (-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)))
68.0ms
(-.f64 (/.f64 x0 (+.f64 1 (*.f64 x1 (+.f64 x1 -2)))) x0)
28.0ms
(+.f64 x0 (/.f64 x0 (-.f64 1 x1)))
27.0ms
(/.f64 x0 (-.f64 1 x1))

simplify77.0ms (2.6%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
056241841

prune133.0ms (4.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1032105
Fresh101
Picked101
Done000
Total1052107
Error
3.3b
Counts
107 → 2
Compiler

Compiled 3107 to 1988 computations (36% saved)

regimes156.0ms (5.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Compiler

Compiled 2252 to 1662 computations (26.2% saved)

bsearch1.0ms (0%)

Compiler

Compiled 3 to 4 computations (-33.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
058111
158111

end0.0ms (0%)

sample993.0ms (33.9%)

Algorithm
intervals
Results
233.0ms8000×pre128true
178.0ms8000×body128valid
Compiler

Compiled 590 to 434 computations (26.4% saved)

Profiling

Loading profile data...