Details

Time bar (total: 2.0s)

analyze1.0ms (0.1%)

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

Compiled 9 to 7 computations (22.2% saved)

sample53.0ms (2.7%)

Algorithm
intervals
Results
14.0ms67×body2048valid
6.0ms40×body1024valid
5.0ms131×body128valid
1.0ms11×body512valid
1.0msbody256valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify10.0ms (0.5%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11211
21611
32311
43011
54711
67211
79211
810911
911911
1012311
1112511
1211111

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
15.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
15.6b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
1.6b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

series2.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

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

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
prod-diff_binary64
add-cube-cbrt_binary64
cancel-sign-sub-inv_binary64
Counts
1 → 31
Calls

1 calls:

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

simplify72.0ms (3.6%)

Algorithm
egg-herbie
Rules
719×fma-def_binary64
392×unsub-neg_binary64
319×distribute-rgt-in_binary64
308×unswap-sqr_binary64
275×times-frac_binary64
Counts
31 → 37
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
068753
1125472
2351418
31250415
42898415
54629415
64801415

prune31.0ms (1.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New35237
Fresh000
Picked101
Done000
Total36238
Error
0.4b
Counts
38 → 2
Alt Table
StatusErrorProgram
16.1b
(expm1.f64 (log1p.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))
0.4b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
Compiler

Compiled 796 to 422 computations (47% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (fma.f64 N N N))
0.4b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))

series4.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

2.0ms
(+.f64 1 (fma.f64 N N N))
1.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
fma-def_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 27
Calls

2 calls:

2.0ms
(+.f64 1 (fma.f64 N N N))
0.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))

simplify72.0ms (3.7%)

Algorithm
egg-herbie
Rules
832×sub-neg_binary64
634×distribute-rgt-in_binary64
538×distribute-lft-in_binary64
319×associate-*l*_binary64
301×associate-*r*_binary64
Counts
39 → 53
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046435
198377
2243377
3899377
42950377
54669377
65438377

prune41.0ms (2.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New50353
Fresh011
Picked101
Done000
Total51455
Error
0.4b
Counts
55 → 4
Alt Table
StatusErrorProgram
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
16.1b
(expm1.f64 (log1p.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))
24.5b
(atan2.f64 1 (/.f64 (-.f64 1 (*.f64 (fma.f64 N N N) (fma.f64 N N N))) (-.f64 1 (fma.f64 N N N))))
11.0b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))
Compiler

Compiled 786 to 476 computations (39.4% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 N (fma.f64 N N 1))
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

series4.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

2.0ms
(+.f64 N (fma.f64 N N 1))
1.0ms
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

rewrite3.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
fma-def_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 27
Calls

2 calls:

2.0ms
(+.f64 N (fma.f64 N N 1))
0.0ms
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

simplify86.0ms (4.3%)

Algorithm
egg-herbie
Rules
360×associate--r+_binary64
356×associate-*l*_binary64
276×associate-+l-_binary64
256×associate-*r*_binary64
239×associate--l+_binary64
Counts
39 → 41
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
045435
1103389
2264386
3994386
42167381
54689381
64925381
74923381

prune29.0ms (1.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New41041
Fresh033
Picked011
Done000
Total41445
Error
0.4b
Counts
45 → 4
Alt Table
StatusErrorProgram
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
16.1b
(expm1.f64 (log1p.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))
24.5b
(atan2.f64 1 (/.f64 (-.f64 1 (*.f64 (fma.f64 N N N) (fma.f64 N N N))) (-.f64 1 (fma.f64 N N N))))
11.0b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))
Compiler

Compiled 609 to 397 computations (34.8% saved)

localize7.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 N (fma.f64 N N 1))
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
0.6b
(pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3)
11.0b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))

series13.0ms (0.7%)

Counts
2 → 12
Calls

2 calls:

11.0ms
(pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3)
2.0ms
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))

rewrite6.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
cube-prod_binary64
Counts
2 → 48
Calls

2 calls:

2.0ms
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))
2.0ms
(pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3)

simplify106.0ms (5.4%)

Algorithm
egg-herbie
Rules
568×fma-def_binary64
494×log-prod_binary64
433×exp-prod_binary64
424×*-commutative_binary64
389×pow-sqr_binary64
Counts
60 → 55
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0541084
188961
2250945
31121945
42140942
54066942
64480942
74908942
84865942

prune96.0ms (4.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New94296
Fresh022
Picked101
Done011
Total955100
Error
0.4b
Counts
100 → 5
Alt Table
StatusErrorProgram
6.3b
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 3)) (cbrt.f64 (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1)))) 3)))
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
11.0b
(cbrt.f64 (*.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3/2) (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3/2)))
16.1b
(expm1.f64 (log1p.f64 (-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))))
24.5b
(atan2.f64 1 (/.f64 (-.f64 1 (*.f64 (fma.f64 N N N) (fma.f64 N N N))) (-.f64 1 (fma.f64 N N N))))
Compiler

Compiled 1775 to 1300 computations (26.8% saved)

regimes118.0ms (6%)

Accuracy

Total 0.0b remaining (5.4%)

Threshold costs 0.0b (5.4%)

Counts
65 → 1
Compiler

Compiled 2219 to 1521 computations (31.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
1911
2811

end0.0ms (0%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.2s (60.4%)

Algorithm
intervals
Results
476.0ms2093×body2048valid
184.0ms4173×body128valid
166.0ms1004×body1024valid
61.0ms496×body512valid
19.0ms234×body256valid
Compiler

Compiled 108 to 75 computations (30.6% saved)

Profiling

Loading profile data...