Details

Time bar (total: 3.7s)

analyze33.0ms (0.9%)

Algorithm
search
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
25%74.9%0.1%4
37.5%62.4%0.1%5
62.4%37.5%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample17.0ms (0.5%)

Algorithm
intervals
Results
7.0ms256×body128valid
Compiler

Compiled 17 to 15 computations (11.8% saved)

simplify175.0ms (4.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
078210
178210

prune8.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
0.0b
Counts
2 → 1
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
20×times-frac_binary64
12×add-cube-cbrt_binary64
distribute-lft-out_binary64
associate-/r*_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
associate-/l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/l/_binary64 associate-/r/_binary64
flip3-+_binary64 add-log-exp_binary64 pow1_binary64 flip3--_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64
Counts
1 → 45
Calls

2 calls:

10.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
0.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

series96.0ms (2.6%)

Counts
1 → 21
Calls

1 calls:

96.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 321 to 297 computations (7.5% saved)

simplify63.0ms (1.7%)

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049841063
149841063

prune66.0ms (1.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New61566
Fresh000
Picked101
Done000
Total62567
Error
0b
Counts
67 → 5
Compiler

Compiled 934 to 279 computations (70.1% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (-.f64 n f) (+.f64 f n))
0.0b
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
0.0b
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
0.0b
(/.f64 (-.f64 n f) (+.f64 f n))

rewrite37.0ms (1%)

Algorithm
rewrite-expression-head
Rules
178×times-frac_binary64
174×*-un-lft-identity_binary64
122×add-sqr-sqrt_binary64
80×add-cube-cbrt_binary64
30×associate-/r*_binary64
26×distribute-lft-out_binary64
21×difference-of-squares_binary64 distribute-lft-out--_binary64
15×add-exp-log_binary64
11×associate-/r/_binary64
add-cbrt-cube_binary64
associate-/l*_binary64 div-exp_binary64
div-inv_binary64
flip3-+_binary64 flip-+_binary64
cbrt-undiv_binary64
pow1_binary64
associate-/l/_binary64 add-log-exp_binary64 1-exp_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64
flip3--_binary64 div-sub_binary64 inv-pow_binary64 flip--_binary64 pow-flip_binary64
Counts
2 → 174
Calls

4 calls:

11.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
8.0ms
(/.f64 (-.f64 n f) (+.f64 f n))
0.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
0.0ms
(/.f64 (-.f64 n f) (+.f64 f n))

series173.0ms (4.7%)

Counts
2 → 42
Calls

2 calls:

89.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
84.0ms
(/.f64 (-.f64 n f) (+.f64 f n))
Compiler

Compiled 681 to 633 computations (7% saved)

simplify106.0ms (2.8%)

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
055544255

prune146.0ms (3.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2151216
Fresh134
Picked011
Done000
Total2165221
Error
0b
Counts
221 → 5
Compiler

Compiled 3522 to 1013 computations (71.2% saved)

localize7.0ms (0.2%)

Local error

Found 6 expressions with local error:

0.0b
(-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f)))
0.0b
(/.f64 1 (-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f))))
0.0b
(/.f64 n (+.f64 n f))
0.0b
(/.f64 n (+.f64 n f))
0.0b
(/.f64 1 (-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f))))
0.0b
(-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f)))

rewrite80.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
186×*-un-lft-identity_binary64
155×times-frac_binary64
112×add-sqr-sqrt_binary64
52×add-cube-cbrt_binary64
35×distribute-lft-out--_binary64
28×associate-/r/_binary64
27×distribute-lft-out_binary64
21×associate-/r*_binary64
20×difference-of-squares_binary64
18×cancel-sign-sub-inv_binary64
15×distribute-rgt-out--_binary64
13×div-inv_binary64
12×flip3-+_binary64 flip-+_binary64
add-exp-log_binary64
add-cbrt-cube_binary64
associate-/l*_binary64
add-log-exp_binary64
pow1_binary64
div-exp_binary64
flip3--_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 sub-div_binary64 flip--_binary64 frac-sub_binary64
sub-neg_binary64 diff-log_binary64 1-exp_binary64 inv-pow_binary64 rec-exp_binary64 pow-flip_binary64
Counts
3 → 169
Calls

6 calls:

27.0ms
(/.f64 1 (-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f))))
25.0ms
(-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f)))
5.0ms
(/.f64 n (+.f64 n f))
0.0ms
(/.f64 n (+.f64 n f))
0.0ms
(/.f64 1 (-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f))))

series292.0ms (7.8%)

Counts
3 → 63
Calls

3 calls:

116.0ms
(/.f64 1 (-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f))))
99.0ms
(-.f64 (/.f64 n (+.f64 n f)) (/.f64 f (+.f64 n f)))
77.0ms
(/.f64 n (+.f64 n f))
Compiler

Compiled 1173 to 1005 computations (14.3% saved)

simplify89.0ms (2.4%)

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050004180

prune169.0ms (4.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2320232
Fresh033
Picked011
Done011
Total2325237
Error
0b
Counts
237 → 5
Compiler

Compiled 4133 to 1303 computations (68.5% saved)

localize9.0ms (0.2%)

Local error

Found 8 expressions with local error:

0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.0b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.0b
(*.f64 (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))

rewrite107.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
321×*-un-lft-identity_binary64
190×times-frac_binary64
183×add-sqr-sqrt_binary64
160×cbrt-prod_binary64
89×add-cube-cbrt_binary64
56×distribute-lft-out_binary64
51×swap-sqr_binary64
47×distribute-lft-out--_binary64
35×difference-of-squares_binary64
29×associate-*r*_binary64 associate-*l*_binary64
15×associate-/r*_binary64
14×associate-/r/_binary64
12×add-exp-log_binary64 associate-/l*_binary64
11×pow1_binary64
10×add-cbrt-cube_binary64
unswap-sqr_binary64
flip3--_binary64 div-inv_binary64 flip--_binary64
associate-/l/_binary64 pow1/3_binary64
cbrt-div_binary64 add-log-exp_binary64
flip3-+_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 flip-+_binary64
pow-prod-down_binary64 pow-prod-up_binary64 pow-sqr_binary64
cbrt-unprod_binary64 associate-*r/_binary64 pow-plus_binary64 prod-exp_binary64 frac-times_binary64 pow2_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 274
Calls

8 calls:

38.0ms
(*.f64 (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
8.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
8.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
8.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
0.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))

series433.0ms (11.6%)

Counts
4 → 84
Calls

4 calls:

166.0ms
(*.f64 (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))) (cbrt.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
90.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
89.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
88.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 2901 to 1845 computations (36.4% saved)

simplify136.0ms (3.7%)

Algorithm
egg-herbie
Counts
358 → 358
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
054898165

prune341.0ms (9.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New3580358
Fresh022
Picked011
Done022
Total3585363
Error
0b
Counts
363 → 5
Compiler

Compiled 11681 to 1918 computations (83.6% saved)

simplify9.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0208522
1208522

regimes110.0ms (2.9%)

Compiler

Compiled 1082 to 638 computations (41% saved)

bsearch0.0ms (0%)

regimes42.0ms (1.1%)

Compiler

Compiled 143 to 149 computations (-4.2% saved)

bsearch0.0ms (0%)

regimes53.0ms (1.4%)

Compiler

Compiled 24 to 40 computations (-66.7% saved)

bsearch52.0ms (1.4%)

Steps
ItersRangePoint
7
1.5707465168723226e-18
9.582814385231955e-17
1.5476769801282746e-17
9
-4.1276384639791836e-153
-3.144070743768402e-161
-4.0647988135274745e-153
7
-9.0023014773824e-85
-4.0512097831317006e-86
-4.107632137092257e-86
10
-1.2322661262005462e+97
-1.6483013458971535e+84
-4.442686845312879e+90
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes47.0ms (1.3%)

Compiler

Compiled 10 to 26 computations (-160% saved)

bsearch43.0ms (1.2%)

Steps
ItersRangePoint
7
1.5707465168723226e-18
9.582814385231955e-17
3.013434194537718e-17
9
-4.1276384639791836e-153
-3.144070743768402e-161
-4.0647988135274745e-153
7
-9.0023014773824e-85
-4.0512097831317006e-86
-5.300995057569918e-85
10
-1.2322661262005462e+97
-1.6483013458971535e+84
-1.6685747854616791e+84
Compiler

Compiled 1 to 2 computations (-100% saved)

regimes14.0ms (0.4%)

Accuracy

Total 0.0b remaining (91.3%)

Threshold costs 0.0b (91.3%)

Compiler

Compiled 8 to 20 computations (-150% saved)

bsearch7.0ms (0.2%)

Compiler

Compiled 71 to 60 computations (15.5% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
011091
111091

end0.0ms (0%)

sample730.0ms (19.6%)

Algorithm
intervals
Results
206.0ms8000×body128valid
Compiler

Compiled 418 to 262 computations (37.3% saved)

Pareto

0.30477495015506656

Profiling

Loading profile data...