Details

Time bar (total: 5.8s)

analyze99.0ms (1.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07616
17616
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 12 to 11 computations (8.3% saved)

sample25.0ms (0.4%)

Algorithm
intervals
Results
6.0ms31×body256valid
5.0ms155×body128valid
4.0ms55×body512valid
2.0ms15×body1024valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07616
17616

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
13.9b
Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
3.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

rewrite274.0ms (4.7%)

Algorithm
rewrite-expression-head
Error
12.7b
Rules
118×*-un-lft-identity_binary64_2465
95×add-sqr-sqrt_binary64_2487
90×times-frac_binary64_2471
43×add-cube-cbrt_binary64_2500
30×distribute-lft-out--_binary64_2417
27×cancel-sign-sub-inv_binary64_2431
23×difference-of-squares_binary64_2434
11×add-exp-log_binary64_2503 associate-/r*_binary64_2409
10×distribute-lft-out_binary64_2416
associate-/r/_binary64_2411
add-cbrt-cube_binary64_2501 difference-of-sqr-1_binary64_2435 div-inv_binary64_2462
associate-/l*_binary64_2410
add-log-exp_binary64_2504 pow1_binary64_2526
flip--_binary64_2440 div-exp_binary64_2516
flip3--_binary64_2469
flip-+_binary64_2439 inv-pow_binary64_2550 pow-flip_binary64_2539 1-exp_binary64_2509 rec-exp_binary64_2515 cbrt-undiv_binary64_2499 frac-2neg_binary64_2476 clear-num_binary64_2464
diff-log_binary64_2557 frac-sub_binary64_2474 sub-neg_binary64_2458 flip3-+_binary64_2468
Counts
3 → 151
Calls

3 calls:

34.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
6.0ms
(/.f64 1 (-.f64 x 1))
5.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 2962 to 2486 computations (16.1% saved)

series164.0ms (2.8%)

Error
0.3b
Counts
3 → 35
Calls

3 calls:

74.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
27.0ms
(/.f64 1 (+.f64 x 1))
27.0ms
(/.f64 1 (-.f64 x 1))
Compiler

Compiled 1135 to 971 computations (14.4% saved)

simplify74.0ms (1.3%)

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049302785
149302785

prune184.0ms (3.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1842186
Fresh000
Picked101
Done000
Total1852187
Error
0.3b
Counts
187 → 2
Compiler

Compiled 3075 to 2467 computations (19.8% saved)

localize9.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(+.f64 (+.f64 (*.f64 x x) 1) (pow.f64 x 4))

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
add-log-exp_binary64_2504
sum-log_binary64_2556 *-un-lft-identity_binary64_2465
pow1_binary64_2526 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487 flip3-+_binary64_2468 flip-+_binary64_2439 distribute-lft-out_binary64_2416 associate-+l+_binary64_2398 +-commutative_binary64_2395
Counts
1 → 14
Calls

1 calls:

9.0ms
(+.f64 (+.f64 (*.f64 x x) 1) (pow.f64 x 4))
Compiler

Compiled 281 to 187 computations (33.5% saved)

series30.0ms (0.5%)

Error
0.3b
Counts
1 → 5
Calls

1 calls:

27.0ms
(+.f64 (+.f64 (*.f64 x x) 1) (pow.f64 x 4))
Compiler

Compiled 91 to 84 computations (7.7% saved)

simplify85.0ms (1.5%)

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
04918278
14918278

prune19.0ms (0.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New19019
Fresh011
Picked011
Done000
Total19221
Error
0.3b
Counts
21 → 2
Compiler

Compiled 296 to 202 computations (31.8% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 2 (pow.f64 x 6))
0.1b
(/.f64 2 (pow.f64 x 8))
0.3b
(/.f64 2 (pow.f64 x 4))
0.4b
(/.f64 -2 (*.f64 x x))

rewrite322.0ms (5.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
66×times-frac_binary64_2471
54×add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487 *-un-lft-identity_binary64_2465
36×unpow-prod-down_binary64_2544
24×add-exp-log_binary64_2503
22×associate-/r*_binary64_2409
15×add-cbrt-cube_binary64_2501
12×associate-/l*_binary64_2410 sqr-pow_binary64_2437
11×div-exp_binary64_2516
cbrt-undiv_binary64_2499
pow1_binary64_2526 add-log-exp_binary64_2504 frac-2neg_binary64_2476 clear-num_binary64_2464 div-inv_binary64_2462
pow-to-exp_binary64_2534 pow-exp_binary64_2533
prod-exp_binary64_2514 cbrt-unprod_binary64_2498
Counts
4 → 156
Calls

4 calls:

5.0ms
(/.f64 -2 (*.f64 x x))
5.0ms
(/.f64 2 (pow.f64 x 4))
5.0ms
(/.f64 2 (pow.f64 x 6))
4.0ms
(/.f64 2 (pow.f64 x 8))
Compiler

Compiled 4777 to 3640 computations (23.8% saved)

series159.0ms (2.7%)

Error
0.3b
Counts
4 → 12
Calls

4 calls:

45.0ms
(/.f64 2 (pow.f64 x 8))
37.0ms
(/.f64 2 (pow.f64 x 6))
35.0ms
(/.f64 2 (pow.f64 x 4))
29.0ms
(/.f64 -2 (*.f64 x x))
Compiler

Compiled 828 to 674 computations (18.6% saved)

simplify104.0ms (1.8%)

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
049182057
149182057

prune297.0ms (5.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1662168
Fresh000
Picked011
Done011
Total1664170
Error
0.0b
Counts
170 → 4
Compiler

Compiled 4775 to 3627 computations (24% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 2 (pow.f64 x 6))
0.1b
(/.f64 2 (pow.f64 x 8))
0.2b
(/.f64 (/.f64 -2 x) x)
0.3b
(/.f64 2 (pow.f64 x 4))

rewrite473.0ms (8.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
138×times-frac_binary64_2471
94×add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487 *-un-lft-identity_binary64_2465
36×unpow-prod-down_binary64_2544
24×add-exp-log_binary64_2503 associate-/r*_binary64_2409
22×associate-/l*_binary64_2410
15×add-cbrt-cube_binary64_2501
12×div-exp_binary64_2516 sqr-pow_binary64_2437
div-inv_binary64_2462
cbrt-undiv_binary64_2499
pow1_binary64_2526 add-log-exp_binary64_2504 frac-2neg_binary64_2476 clear-num_binary64_2464
pow-to-exp_binary64_2534 pow-exp_binary64_2533
associate-/l/_binary64_2412
Counts
4 → 205
Calls

4 calls:

6.0ms
(/.f64 (/.f64 -2 x) x)
5.0ms
(/.f64 2 (pow.f64 x 4))
5.0ms
(/.f64 2 (pow.f64 x 6))
4.0ms
(/.f64 2 (pow.f64 x 8))
Compiler

Compiled 6456 to 4981 computations (22.8% saved)

series162.0ms (2.8%)

Error
0.0b
Counts
4 → 12
Calls

4 calls:

43.0ms
(/.f64 2 (pow.f64 x 8))
41.0ms
(/.f64 2 (pow.f64 x 6))
37.0ms
(/.f64 2 (pow.f64 x 4))
28.0ms
(/.f64 (/.f64 -2 x) x)
Compiler

Compiled 828 to 682 computations (17.6% saved)

simplify103.0ms (1.8%)

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
051022871

prune389.0ms (6.7%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2134217
Fresh011
Picked011
Done022
Total2138221
Error
0b
Counts
221 → 8
Compiler

Compiled 6260 to 4871 computations (22.2% saved)

regimes381.0ms (6.5%)

Accuracy

Total 0.1b remaining (87.4%)

Threshold costs 0.1b (87.4%)

Compiler

Compiled 3804 to 3222 computations (15.3% saved)

bsearch34.0ms (0.6%)

Steps
ItersRangePoint
9
0.0015080202124480111
237.98438629667803
114.8142218867796
6
-5126912352997041.0
-630990635024740.4
-4125149662004715.0
Compiler

Compiled 1 to 1 computations (0% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
012370
112370

end0.0ms (0%)

sample2.4s (40.5%)

Algorithm
intervals
Results
166.0ms1982×body512valid
146.0ms4624×body128valid
57.0ms970×body256valid
45.0ms424×body1024valid
Compiler

Compiled 1895 to 1601 computations (15.5% saved)

Profiling

Loading profile data...