Details

Time bar (total: 1.2min)

analyze5.9s (8.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%25%75%0
0%25%75%1
0%25%75%2
0%25%75%3
0%25%75%4
0%25%75%5
0%25%75%6
0%25%75%7
0%25%75%8
1.6%23.4%75%9
1.6%23.4%75%10
1.6%23.4%75%11
1.6%23.4%75%12
1.6%23.4%75%13
1.6%23.4%75%14
Compiler

Compiled 50 to 40 computations (20% saved)

sample8.9s (12.3%)

Algorithm
intervals
Results
6.9s484×body8192exit
834.0ms383×body1024overflowed
575.0ms2213×body128overflowed
213.0ms178×body512overflowed
107.0ms3609×pre128true
61.0ms95×body256overflowed
42.0ms253×body128valid
25.0msbody8192valid
2.0msbody1024valid
0.0msbody256valid
Compiler

Compiled 93 to 79 computations (15.1% saved)

simplify221.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0501068

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.5b

Counts
2 → 1
Compiler

Compiled 86 to 70 computations (18.6% saved)

localize22.0ms (0%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))
1.0b
(pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))) c_p)
1.7b
(pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))) c_p)
1.7b
(/.f64 (*.f64 (pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))) c_p) (pow.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))) c_n)) (*.f64 (pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))) c_p) (pow.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t))))) c_n)))

rewrite186.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
1196×add-exp-log_binary64_3185
692×pow-exp_binary64_3215
684×prod-exp_binary64_3196
595×div-exp_binary64_3198
344×pow-to-exp_binary64_3216
117×1-exp_binary64_3191 rec-exp_binary64_3197
51×*-un-lft-identity_binary64_3147
37×times-frac_binary64_3153
36×unpow-prod-down_binary64_3226
31×add-sqr-sqrt_binary64_3169 add-cube-cbrt_binary64_3182
18×add-cbrt-cube_binary64_3183
10×distribute-lft-out_binary64_3098
pow1_binary64_3208
pow-unpow_binary64_3224 associate-/r/_binary64_3093 pow-pow_binary64_3219
associate-/r*_binary64_3091 cbrt-undiv_binary64_3181
cbrt-unprod_binary64_3180 add-log-exp_binary64_3186 associate-/l*_binary64_3092 div-inv_binary64_3144
flip-+_binary64_3121 flip3-+_binary64_3150 inv-pow_binary64_3232 pow-flip_binary64_3221
clear-num_binary64_3146 frac-2neg_binary64_3158 sqr-pow_binary64_3119
Counts
4 → 489
Calls

4 calls:

57.0ms
(/.f64 (*.f64 (pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))) c_p) (pow.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))) c_n)) (*.f64 (pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))) c_p) (pow.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t))))) c_n)))
8.0ms
(pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))) c_p)
8.0ms
(pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))) c_p)
6.0ms
(/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))

series1.9s (2.6%)

Counts
4 → 12
Calls

4 calls:

1.6s
(/.f64 (*.f64 (pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))) c_p) (pow.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))) c_n)) (*.f64 (pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))) c_p) (pow.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t))))) c_n)))
114.0ms
(pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))) c_p)
109.0ms
(pow.f64 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))) c_p)
52.0ms
(/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))

simplify218.0ms (0.3%)

Algorithm
egg-herbie
Counts
501 → 501
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
0533027436

prune1.6s (2.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New4974501
Fresh000
Picked101
Done000
Total4984502

Merged error: 0.3b

Counts
502 → 4
Compiler

Compiled 21790 to 13867 computations (36.4% saved)

localize6.0ms (0%)

Local error

Found 1 expressions with local error:

0.0b
(*.f64 (*.f64 s 1/2) (-.f64 c_p c_n))

rewrite11.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_3147 add-exp-log_binary64_3185 cancel-sign-sub-inv_binary64_3113 add-cbrt-cube_binary64_3183 add-sqr-sqrt_binary64_3169 pow1_binary64_3208
associate-*r*_binary64_3087
distribute-lft-in_binary64_3096 add-cube-cbrt_binary64_3182 distribute-rgt-in_binary64_3097
pow-prod-down_binary64_3218 prod-exp_binary64_3196 cbrt-unprod_binary64_3180
sub-neg_binary64_3140 associate-*r/_binary64_3089
*-commutative_binary64_3078 flip--_binary64_3122 flip3--_binary64_3151 distribute-lft-out--_binary64_3099 difference-of-squares_binary64_3116 add-log-exp_binary64_3186 associate-*l*_binary64_3088
Counts
1 → 30
Calls

1 calls:

8.0ms
(*.f64 (*.f64 s 1/2) (-.f64 c_p c_n))

series80.0ms (0.1%)

Counts
1 → 3
Calls

1 calls:

80.0ms
(*.f64 (*.f64 s 1/2) (-.f64 c_p c_n))

simplify55.0ms (0.1%)

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04918403
14918403

prune28.0ms (0%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New33033
Fresh033
Picked011
Done000
Total33437

Merged error: 0.3b

Counts
37 → 4
Compiler

Compiled 569 to 380 computations (33.2% saved)

localize29.0ms (0%)

Local error

Found 4 expressions with local error:

1.0b
(log.f64 (+.f64 1 (exp.f64 (neg.f64 s))))
1.7b
(log.f64 (+.f64 1 (exp.f64 (neg.f64 t))))
8.9b
(-.f64 (log.f64 (+.f64 1 (exp.f64 (neg.f64 s)))) (log.f64 (+.f64 1 (exp.f64 (neg.f64 t)))))
8.9b
(-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))))))

rewrite65.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity_binary64_3147
38×add-sqr-sqrt_binary64_3169 log-prod_binary64_3233
16×pow1_binary64_3208
15×associate--l+_binary64_3084 associate--r+_binary64_3083
14×difference-of-squares_binary64_3116
12×distribute-lft-out--_binary64_3099 add-cube-cbrt_binary64_3182 log-pow_binary64_3236 log-div_binary64_3234
times-frac_binary64_3153 cancel-sign-sub-inv_binary64_3113
add-exp-log_binary64_3185
flip--_binary64_3122 flip-+_binary64_3121 add-cbrt-cube_binary64_3183 flip3--_binary64_3151 flip3-+_binary64_3150 distribute-lft-out_binary64_3098 associate--r-_binary64_3086 add-log-exp_binary64_3186 associate--l-_binary64_3085
rem-log-exp_binary64_3188 sub-neg_binary64_3140 diff-log_binary64_3239 div-inv_binary64_3144
Counts
4 → 108
Calls

4 calls:

28.0ms
(-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))))))
12.0ms
(-.f64 (log.f64 (+.f64 1 (exp.f64 (neg.f64 s)))) (log.f64 (+.f64 1 (exp.f64 (neg.f64 t)))))
4.0ms
(log.f64 (+.f64 1 (exp.f64 (neg.f64 t))))
4.0ms
(log.f64 (+.f64 1 (exp.f64 (neg.f64 s))))

series575.0ms (0.8%)

Counts
4 → 12
Calls

4 calls:

242.0ms
(-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))))))
145.0ms
(-.f64 (log.f64 (+.f64 1 (exp.f64 (neg.f64 s)))) (log.f64 (+.f64 1 (exp.f64 (neg.f64 t)))))
95.0ms
(log.f64 (+.f64 1 (exp.f64 (neg.f64 t))))
93.0ms
(log.f64 (+.f64 1 (exp.f64 (neg.f64 s))))

simplify76.0ms (0.1%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050523205

prune276.0ms (0.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1182120
Fresh202
Picked101
Done101
Total1222124

Merged error: 0b

Counts
124 → 2
Compiler

Compiled 5947 to 3917 computations (34.1% saved)

localize27.0ms (0%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))
0.0b
(*.f64 c_n (-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t))))))))
0.3b
(log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))))
8.9b
(-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))))))

rewrite96.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
84×add-sqr-sqrt_binary64_3169
79×*-un-lft-identity_binary64_3147
55×log-prod_binary64_3233
33×associate--l+_binary64_3084
32×times-frac_binary64_3153 difference-of-squares_binary64_3116
23×add-cube-cbrt_binary64_3182
19×pow1_binary64_3208
18×distribute-lft-out--_binary64_3099 distribute-lft-in_binary64_3096 distribute-rgt-in_binary64_3097
12×cancel-sign-sub-inv_binary64_3113 log-pow_binary64_3236
11×add-exp-log_binary64_3185 associate--r+_binary64_3083
10×log-div_binary64_3234
add-cbrt-cube_binary64_3183 associate-*r*_binary64_3087
flip--_binary64_3122 flip3--_binary64_3151
associate--r-_binary64_3086 div-inv_binary64_3144
associate-/r*_binary64_3091 distribute-lft-out_binary64_3098 add-log-exp_binary64_3186
sub-neg_binary64_3140 associate-/l*_binary64_3092 associate-*l*_binary64_3088
div-exp_binary64_3198 associate--l-_binary64_3085 associate-/r/_binary64_3093 associate-*r/_binary64_3089
*-commutative_binary64_3078 rem-log-exp_binary64_3188 unswap-sqr_binary64_3115 clear-num_binary64_3146 flip-+_binary64_3121 pow-prod-down_binary64_3218 frac-2neg_binary64_3158 flip3-+_binary64_3150 inv-pow_binary64_3232 prod-exp_binary64_3196 cbrt-undiv_binary64_3181 pow-flip_binary64_3221 cbrt-unprod_binary64_3180 diff-log_binary64_3239 1-exp_binary64_3191 rec-exp_binary64_3197
Counts
4 → 166
Calls

4 calls:

28.0ms
(-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))))))
24.0ms
(*.f64 c_n (-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t))))))))
12.0ms
(log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))))
6.0ms
(/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))

series894.0ms (1.2%)

Counts
4 → 12
Calls

4 calls:

403.0ms
(*.f64 c_n (-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t))))))))
260.0ms
(-.f64 (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s)))))) (log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 t)))))))
173.0ms
(log.f64 (-.f64 1 (/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))))
57.0ms
(/.f64 1 (+.f64 1 (exp.f64 (neg.f64 s))))

simplify98.0ms (0.1%)

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050805953

prune527.0ms (0.7%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1771178
Fresh101
Picked101
Done000
Total1791180

Merged error: 0b

Counts
180 → 1
Compiler

Compiled 8616 to 6077 computations (29.5% saved)

regimes615.0ms (0.8%)

Compiler

Compiled 9530 to 8132 computations (14.7% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
015142
115142

end0.0ms (0%)

sample50.1s (69.1%)

Algorithm
intervals
Results
38.9s3168×body8192exit
4.6s2398×body1024overflowed
3.1s14301×body128overflowed
1.3s1239×body512overflowed
596.0ms23357×pre128true
318.0ms628×body256overflowed
215.0ms1593×body128valid
25.0msbody8192valid
21.0ms12×body1024valid
13.0msbody4096valid
9.0msbody2048valid
5.0msbody512valid
3.0msbody2048overflowed
2.0msbody256valid
0.0msbody128invalid
Compiler

Compiled 50 to 44 computations (12% saved)

end0.0ms (0%)

Profiling

Loading profile data...