Details

Time bar (total: 7.5s)

analyze1.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)

sample26.0ms (0.3%)

Algorithm
intervals
Results
12.0ms79×body1024valid
6.0ms140×body128valid
3.0ms24×body512valid
1.0ms13×body256valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify176.0ms (2.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07517
17517

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 18.3b

Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize7.0ms (0.1%)

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.2b
(/.f64 1 (sqrt.f64 x))
2.8b
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))

rewrite80.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
127×add-sqr-sqrt_binary64_2509
118×times-frac_binary64_2493
117×*-un-lft-identity_binary64_2487
76×sqrt-prod_binary64_2503
56×add-cube-cbrt_binary64_2522
27×cancel-sign-sub-inv_binary64_2453
25×difference-of-squares_binary64_2456
13×associate-/r*_binary64_2431 distribute-lft-out--_binary64_2439
12×add-exp-log_binary64_2525
11×distribute-lft-out_binary64_2438
pow1_binary64_2548
add-cbrt-cube_binary64_2523
div-inv_binary64_2484
pow-flip_binary64_2561 associate-/l*_binary64_2432 add-log-exp_binary64_2526 sqrt-div_binary64_2504
associate-/r/_binary64_2433 div-exp_binary64_2538
flip-+_binary64_2461 sqrt-pow1_binary64_2505 flip3-+_binary64_2490 pow1/2_binary64_2567
frac-2neg_binary64_2498 clear-num_binary64_2486 rec-exp_binary64_2537 inv-pow_binary64_2572 1-exp_binary64_2531 cbrt-undiv_binary64_2521
flip--_binary64_2462 sub-neg_binary64_2480 frac-sub_binary64_2496 diff-log_binary64_2579 rem-sqrt-square_binary64_2500 flip3--_binary64_2491
Counts
4 → 189
Calls

4 calls:

44.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
5.0ms
(/.f64 1 (sqrt.f64 x))
4.0ms
(sqrt.f64 (+.f64 x 1))

series189.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

68.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
59.0ms
(/.f64 1 (sqrt.f64 x))
35.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
27.0ms
(sqrt.f64 (+.f64 x 1))

simplify82.0ms (1.1%)

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049133696
149133696

prune677.0ms (9.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New19110201
Fresh000
Picked101
Done000
Total19210202

Merged error: 17.7b

Counts
202 → 10
Compiler

Compiled 11159 to 8958 computations (19.7% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite237.0ms (3.2%)

Algorithm
rewrite-expression-head
Rules
1332×*-un-lft-identity_binary64_2487
1249×times-frac_binary64_2493
725×add-sqr-sqrt_binary64_2509
429×distribute-lft-out_binary64_2438
304×sqrt-prod_binary64_2503
293×add-cube-cbrt_binary64_2522
180×distribute-lft-out--_binary64_2439
168×div-inv_binary64_2484
162×difference-of-squares_binary64_2456
29×associate-/r*_binary64_2431
28×associate-/l*_binary64_2432
18×cancel-sign-sub-inv_binary64_2453
14×add-exp-log_binary64_2525
10×add-cbrt-cube_binary64_2523
pow1_binary64_2548
associate-/r/_binary64_2433
pow-flip_binary64_2561 add-log-exp_binary64_2526
div-exp_binary64_2538
frac-2neg_binary64_2498 flip-+_binary64_2461 clear-num_binary64_2486 flip3-+_binary64_2490 associate-/l/_binary64_2434 cbrt-undiv_binary64_2521
flip--_binary64_2462 frac-sub_binary64_2496 sqrt-pow1_binary64_2505 sqrt-div_binary64_2504 rec-exp_binary64_2537 inv-pow_binary64_2572 pow1/2_binary64_2567 flip3--_binary64_2491 1-exp_binary64_2531
sub-neg_binary64_2480 diff-log_binary64_2579 div-sub_binary64_2492 frac-add_binary64_2495
Counts
4 → 554
Calls

4 calls:

70.0ms
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
21.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
5.0ms
(/.f64 1 (sqrt.f64 x))

series247.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

123.0ms
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
60.0ms
(/.f64 1 (sqrt.f64 x))
35.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
29.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))

simplify249.0ms (3.3%)

Algorithm
egg-herbie
Counts
566 → 566
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
0495222251
1495222251

prune1.9s (25.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New5642566
Fresh819
Picked011
Done000
Total5724576

Merged error: 5.0b

Counts
576 → 4
Compiler

Compiled 18766 to 14682 computations (21.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite120.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
417×times-frac_binary64_2493
399×*-un-lft-identity_binary64_2487
164×distribute-lft-out_binary64_2438
148×sqrt-prod_binary64_2503
141×add-cube-cbrt_binary64_2522 add-sqr-sqrt_binary64_2509
61×div-inv_binary64_2484
42×add-exp-log_binary64_2525
41×associate-/r/_binary64_2433
36×associate-*r/_binary64_2429
30×associate-/r*_binary64_2431
22×add-cbrt-cube_binary64_2523
20×flip-+_binary64_2461 flip3-+_binary64_2490
19×div-exp_binary64_2538
18×associate-/l*_binary64_2432
11×pow1_binary64_2548
cbrt-undiv_binary64_2521
pow-flip_binary64_2561
prod-exp_binary64_2536 rec-exp_binary64_2537 1-exp_binary64_2531
frac-2neg_binary64_2498 clear-num_binary64_2486 add-log-exp_binary64_2526
inv-pow_binary64_2572
sqrt-pow1_binary64_2505 cbrt-unprod_binary64_2520 sqrt-div_binary64_2504 pow1/2_binary64_2567
pow-prod-down_binary64_2558 associate-/l/_binary64_2434 frac-add_binary64_2495
Counts
4 → 319
Calls

4 calls:

51.0ms
(/.f64 (/.f64 1 (*.f64 x (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
8.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
5.0ms
(/.f64 1 (sqrt.f64 x))

series267.0ms (3.6%)

Counts
4 → 12
Calls

4 calls:

158.0ms
(/.f64 (/.f64 1 (*.f64 x (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
54.0ms
(/.f64 1 (sqrt.f64 x))
34.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
21.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))

simplify152.0ms (2%)

Algorithm
egg-herbie
Counts
331 → 331
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049479579
149479579

prune1.1s (14.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3256331
Fresh112
Picked101
Done101
Total3287335

Merged error: 0.0b

Counts
335 → 7
Compiler

Compiled 17299 to 13636 computations (21.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite134.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
115×times-frac_binary64_2493
104×*-un-lft-identity_binary64_2487
71×add-sqr-sqrt_binary64_2509
69×add-cube-cbrt_binary64_2522
58×sqrt-prod_binary64_2503
28×associate-/l*_binary64_2432
26×add-exp-log_binary64_2525
22×add-cbrt-cube_binary64_2523
21×distribute-lft-out_binary64_2438
16×associate-*r*_binary64_2427
15×flip-+_binary64_2461 flip3-+_binary64_2490
14×associate-/r*_binary64_2431
13×associate-/r/_binary64_2433
12×frac-times_binary64_2497
10×div-exp_binary64_2538 pow1_binary64_2548
div-inv_binary64_2484
cbrt-undiv_binary64_2521
pow-flip_binary64_2561 associate-*r/_binary64_2429 frac-add_binary64_2495
associate-*l/_binary64_2430 add-log-exp_binary64_2526 associate-*l*_binary64_2428
prod-exp_binary64_2536 frac-2neg_binary64_2498 clear-num_binary64_2486 cbrt-unprod_binary64_2520
sqrt-pow1_binary64_2505 sqrt-div_binary64_2504 rec-exp_binary64_2537 inv-pow_binary64_2572 pow1/2_binary64_2567 1-exp_binary64_2531
unswap-sqr_binary64_2455 distribute-rgt-in_binary64_2437 distribute-lft-in_binary64_2436 *-commutative_binary64_2418 pow-prod-down_binary64_2558 associate-/l/_binary64_2434
Counts
4 → 216
Calls

4 calls:

49.0ms
(/.f64 (/.f64 (sqrt.f64 1) x) (*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))))
47.0ms
(*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1)))))
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
5.0ms
(/.f64 1 (sqrt.f64 x))

series284.0ms (3.8%)

Counts
4 → 12
Calls

4 calls:

147.0ms
(/.f64 (/.f64 (sqrt.f64 1) x) (*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))))
59.0ms
(*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1)))))
44.0ms
(/.f64 1 (sqrt.f64 x))
35.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))

simplify86.0ms (1.2%)

Algorithm
egg-herbie
Counts
228 → 228
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
051874942

prune529.0ms (7.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2253228
Fresh426
Picked011
Done000
Total2296235

Merged error: 0.0b

Counts
235 → 6
Compiler

Compiled 9135 to 6909 computations (24.4% saved)

regimes17.0ms (0.2%)

Compiler

Compiled 102 to 83 computations (18.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01530
11530

end0.0ms (0%)

sample897.0ms (12%)

Algorithm
intervals
Results
341.0ms2270×body1024valid
165.0ms4315×body128valid
102.0ms934×body512valid
36.0ms481×body256valid
Compiler

Compiled 146 to 118 computations (19.2% saved)

Profiling

Loading profile data...