Details

Time bar (total: 4.2s)

analyze2.0ms (0%)

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

Compiled 12 to 11 computations (8.3% saved)

sample32.0ms (0.8%)

Algorithm
intervals
Results
10.0ms33×body1280valid
8.0ms57×body640valid
5.0ms137×body80valid
2.0ms19×body320valid
1.0ms10×body160valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify27.0ms (0.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (12.0ms)

IterNodesCost
07617
17617

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 19.3b

Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 x 1))
0.1b
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
0.3b
(/.f64 1 (sqrt.f64 x))
2.7b
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))

rewrite71.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
113×add-sqr-sqrt_binary64
97×*-un-lft-identity_binary64 times-frac_binary64
64×sqrt-prod_binary64
42×add-cube-cbrt_binary64
25×difference-of-squares_binary64
13×associate-/r*_binary64 distribute-lft-out--_binary64
12×add-exp-log_binary64
pow1_binary64
distribute-lft-out_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 associate-/l*_binary64 div-inv_binary64 pow-flip_binary64
div-exp_binary64 insert-posit16 sqrt-div_binary64
pow1/2_binary64 sqrt-pow1_binary64
flip3-+_binary64 1-exp_binary64 cbrt-undiv_binary64 associate-/r/_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 rec-exp_binary64 flip-+_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 rem-sqrt-square_binary64 flip--_binary64 frac-sub_binary64
Counts
4 → 166
Calls

4 calls:

44.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
8.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
6.0ms
(/.f64 1 (sqrt.f64 x))
4.0ms
(sqrt.f64 (+.f64 x 1))

series190.0ms (4.5%)

Counts
4 → 12
Calls

4 calls:

75.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
57.0ms
(/.f64 1 (sqrt.f64 x))
33.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
24.0ms
(sqrt.f64 (+.f64 x 1))

simplify111.0ms (2.6%)

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049563428
149563428

prune232.0ms (5.5%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16612178
Fresh000
Picked101
Done000
Total16712179

Merged error: 18.7b

Counts
179 → 12
Compiler

Compiled 3517 to 2598 computations (26.1% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1 x))
0.1b
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
0.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
2.7b
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))

rewrite53.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary64
39×sqrt-prod_binary64
36×*-un-lft-identity_binary64
12×difference-of-squares_binary64
11×add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
10×associate-/l*_binary64 times-frac_binary64
pow1_binary64 distribute-lft-out--_binary64
associate-*r*_binary64
add-log-exp_binary64 associate-*l*_binary64 sqrt-div_binary64
distribute-lft-out_binary64
associate-*r/_binary64 unswap-sqr_binary64 insert-posit16
pow-prod-down_binary64 flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 flip-+_binary64
associate-/l/_binary64 flip3--_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 associate-/r/_binary64 prod-exp_binary64 div-exp_binary64 flip--_binary64
associate-/r*_binary64 sub-neg_binary64 diff-log_binary64 sqrt-unprod_binary64 div-sub_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 *-commutative_binary64
Counts
4 → 111
Calls

4 calls:

23.0ms
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
11.0ms
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
10.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
4.0ms
(sqrt.f64 (+.f64 1 x))

series324.0ms (7.6%)

Counts
4 → 12
Calls

4 calls:

164.0ms
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
80.0ms
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
56.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
23.0ms
(sqrt.f64 (+.f64 1 x))

simplify121.0ms (2.9%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
052302695

prune154.0ms (3.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1212123
Fresh10111
Picked101
Done000
Total1323135

Merged error: 0.2b

Counts
135 → 3
Compiler

Compiled 2838 to 1839 computations (35.2% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1 x))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
0.2b
(/.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))

rewrite63.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
114×*-un-lft-identity_binary64
78×times-frac_binary64
55×sqrt-prod_binary64
49×add-sqr-sqrt_binary64
42×distribute-lft-out_binary64
40×add-cube-cbrt_binary64
32×add-exp-log_binary64
27×associate-/l*_binary64
20×add-cbrt-cube_binary64
14×div-exp_binary64
10×pow1_binary64
associate-/r/_binary64
associate-/r*_binary64 associate-*r*_binary64 cbrt-undiv_binary64
flip3-+_binary64 associate-*l*_binary64 flip-+_binary64 sqrt-div_binary64
prod-exp_binary64
add-log-exp_binary64 associate-*r/_binary64 unswap-sqr_binary64 div-inv_binary64 insert-posit16
pow-prod-down_binary64 pow1/2_binary64 cbrt-unprod_binary64 1-exp_binary64 sqrt-pow1_binary64 rec-exp_binary64
clear-num_binary64 frac-2neg_binary64
associate-/l/_binary64 sqrt-unprod_binary64 rem-sqrt-square_binary64 inv-pow_binary64 pow-flip_binary64 *-commutative_binary64
Counts
4 → 172
Calls

4 calls:

25.0ms
(/.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
13.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
11.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
4.0ms
(sqrt.f64 (+.f64 1 x))

series290.0ms (6.8%)

Counts
4 → 12
Calls

4 calls:

163.0ms
(/.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
53.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
48.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
25.0ms
(sqrt.f64 (+.f64 1 x))

simplify93.0ms (2.2%)

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
051664173

prune279.0ms (6.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1768184
Fresh112
Picked101
Done000
Total1789187

Merged error: 0.0b

Counts
187 → 9
Compiler

Compiled 4580 to 3139 computations (31.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.1b
(/.f64 (/.f64 1 (+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 1 x)))
0.1b
(/.f64 1 (+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
0.2b
(*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))

rewrite57.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
234×times-frac_binary64
159×*-un-lft-identity_binary64
156×add-sqr-sqrt_binary64
119×add-cube-cbrt_binary64
87×sqrt-prod_binary64
29×distribute-rgt-out_binary64
21×associate-/l*_binary64
20×distribute-lft-out_binary64 associate-/r/_binary64
19×add-exp-log_binary64
13×add-cbrt-cube_binary64
12×flip3-+_binary64 flip-+_binary64
11×associate-/r*_binary64
10×div-inv_binary64
pow1_binary64
div-exp_binary64
associate-*l*_binary64
add-log-exp_binary64 associate-*r*_binary64
cbrt-undiv_binary64 unswap-sqr_binary64 insert-posit16 sqrt-div_binary64
pow-prod-down_binary64
pow1/2_binary64 1-exp_binary64 sqrt-pow1_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64 associate-*l/_binary64
associate-/l/_binary64 cbrt-unprod_binary64 sqrt-unprod_binary64 inv-pow_binary64 prod-exp_binary64 +-commutative_binary64 pow-flip_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 256
Calls

4 calls:

16.0ms
(/.f64 (/.f64 1 (+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 1 x)))
11.0ms
(*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
6.0ms
(/.f64 1 (+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
4.0ms
(+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

series330.0ms (7.8%)

Counts
4 → 12
Calls

4 calls:

156.0ms
(/.f64 (/.f64 1 (+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 1 x)))
77.0ms
(/.f64 1 (+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
54.0ms
(*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
43.0ms
(+.f64 x (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

simplify185.0ms (4.3%)

Algorithm
egg-herbie
Counts
268 → 268
Iterations

Useful iterations: 0 (94.0ms)

IterNodesCost
049559862
149559862

prune529.0ms (12.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2653268
Fresh358
Picked101
Done000
Total2698277

Merged error: 0.0b

Counts
277 → 8
Compiler

Compiled 7661 to 5478 computations (28.5% saved)

regimes21.0ms (0.5%)

Compiler

Compiled 180 to 144 computations (20% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01525
11525

end0.0ms (0%)

sample1.0s (24.5%)

Algorithm
intervals
Results
268.0ms1892×body640valid
203.0ms1091×body1280valid
154.0ms4065×body80valid
68.0ms641×body320valid
22.0ms311×body160valid
Compiler

Compiled 221 to 178 computations (19.5% saved)

Profiling

Loading profile data...