Details

Time bar (total: 2.5s)

analyze1.0ms (0.1%)

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

Compiled 8 to 7 computations (12.5% saved)

sample29.0ms (1.2%)

Algorithm
intervals
Results
13.0ms75×body2048valid
4.0ms125×body128valid
4.0ms32×body1024valid
2.0ms19×body512valid
0.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify100.0ms (4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
15.4b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize10.0ms (0.4%)

Local error

Found 1 expressions with local error:

0.9b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_2465 add-sqr-sqrt_binary64_2487
add-log-exp_binary64_2504 cancel-sign-sub-inv_binary64_2431
add-cube-cbrt_binary64_2500
diff-atan_binary64_2622 difference-of-squares_binary64_2434 flip--_binary64_2440 add-exp-log_binary64_2503 distribute-lft-out--_binary64_2417 sub-neg_binary64_2458 add-cbrt-cube_binary64_2501 diff-log_binary64_2557 pow1_binary64_2526 flip3--_binary64_2469
Counts
1 → 17
Calls

1 calls:

4.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

series22.0ms (0.9%)

Counts
1 → 3
Calls

1 calls:

22.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 42 to 36 computations (14.3% saved)

simplify70.0ms (2.8%)

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
04992306
14992306

prune16.0ms (0.6%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New19120
Fresh000
Picked101
Done000
Total20121
Error
0.4b
Counts
21 → 1
Compiler

Compiled 250 to 161 computations (35.6% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 N (+.f64 N 1))
0.4b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

rewrite9.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_2465 add-sqr-sqrt_binary64_2487
add-cube-cbrt_binary64_2500 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 pow1_binary64_2526 associate-*r*_binary64_2405
associate-*l*_binary64_2406
add-log-exp_binary64_2504 associate-*r/_binary64_2407
flip3-+_binary64_2468 distribute-lft-in_binary64_2414 *-commutative_binary64_2396 flip-+_binary64_2439 unswap-sqr_binary64_2433 distribute-rgt-in_binary64_2415 prod-exp_binary64_2514 pow-prod-down_binary64_2536 distribute-lft-out_binary64_2416 cbrt-unprod_binary64_2498
Counts
2 → 30
Calls

2 calls:

6.0ms
(*.f64 N (+.f64 N 1))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

series54.0ms (2.2%)

Counts
2 → 9
Calls

2 calls:

40.0ms
(*.f64 N (+.f64 N 1))
13.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))
Compiler

Compiled 127 to 115 computations (9.4% saved)

simplify73.0ms (2.9%)

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04927392
14927392

prune37.0ms (1.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New35439
Fresh000
Picked011
Done000
Total35540
Error
0.4b
Counts
40 → 5
Compiler

Compiled 564 to 441 computations (21.8% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.4b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
0.6b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite18.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64_2487
24×sqrt-prod_binary64_2481
21×pow1_binary64_2526
14×*-un-lft-identity_binary64_2465 add-cube-cbrt_binary64_2500
10×pow1/2_binary64_2545 sqrt-pow1_binary64_2483
swap-sqr_binary64_2432
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 associate-*r*_binary64_2405 associate-*l*_binary64_2406
pow-prod-up_binary64_2535
add-log-exp_binary64_2504 unswap-sqr_binary64_2433 rem-sqrt-square_binary64_2478
pow-prod-down_binary64_2536 pow-sqr_binary64_2438
sqr-abs_binary64_2480 *-commutative_binary64_2396 pow-plus_binary64_2528 sqrt-unprod_binary64_2485 rem-square-sqrt_binary64_2477 pow2_binary64_2546 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
Counts
4 → 83
Calls

4 calls:

7.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

series91.0ms (3.7%)

Counts
4 → 12
Calls

4 calls:

31.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
29.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
16.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
15.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
Compiler

Compiled 432 to 372 computations (13.9% saved)

simplify77.0ms (3.1%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
051031475

prune119.0ms (4.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New91495
Fresh213
Picked011
Done011
Total937100
Error
0.4b
Counts
100 → 7
Compiler

Compiled 2129 to 1756 computations (17.5% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.6b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite32.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
54×sqrt-pow1_binary64_2483
45×pow1_binary64_2526
30×pow1/2_binary64_2545 pow-prod-up_binary64_2535
16×add-sqr-sqrt_binary64_2487
14×sqrt-prod_binary64_2481
*-un-lft-identity_binary64_2465 add-cube-cbrt_binary64_2500 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
pow-prod-down_binary64_2536
pow-sqr_binary64_2438 associate-*l*_binary64_2406
add-log-exp_binary64_2504
rem-sqrt-square_binary64_2478 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
swap-sqr_binary64_2432 sqrt-unprod_binary64_2485 unswap-sqr_binary64_2433
*-commutative_binary64_2396 associate-*r*_binary64_2405
Counts
4 → 85
Calls

4 calls:

19.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

series126.0ms (5.1%)

Counts
4 → 12
Calls

4 calls:

38.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
35.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
35.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
19.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))))
Compiler

Compiled 666 to 570 computations (14.4% saved)

simplify82.0ms (3.3%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
048941397
148941397

prune148.0ms (6%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New96197
Fresh044
Picked011
Done022
Total968104
Error
0.3b
Counts
104 → 8
Compiler

Compiled 2677 to 2218 computations (17.1% saved)

regimes65.0ms (2.6%)

Accuracy

Total 0.1b remaining (10.9%)

Threshold costs 0.1b (10.9%)

Compiler

Compiled 764 to 660 computations (13.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01113
11113

end0.0ms (0%)

sample1.3s (51%)

Algorithm
intervals
Results
367.0ms2145×body2048valid
144.0ms4111×body128valid
124.0ms1029×body1024valid
46.0ms486×body512valid
15.0ms229×body256valid
Compiler

Compiled 401 to 348 computations (13.2% saved)

Profiling

Loading profile data...