Details

Time bar (total: 1.7s)

analyze1.0ms (0.1%)

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

sample27.0ms (1.6%)

Algorithm
intervals
Results
14.0ms89×body1280valid
4.0ms128×body80valid
3.0ms21×body640valid
1.0msbody320valid
1.0msbody160valid

simplify7.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0717
1717

prune4.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.6b

Counts
2 → 1

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(atan.f64 (+.f64 N 1.0))
1.6b
(-.f64 (atan.f64 (+.f64 N 1.0)) (atan.f64 N))

rewrite5.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-log-exp_binary64 add-sqr-sqrt_binary64
pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip--_binary64 diff-atan_binary64
Counts
2 → 21
Calls

2 calls:

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

series4.0ms (0.2%)

Counts
2 → 6
Calls

2 calls:

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

simplify78.0ms (4.6%)

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
05349236

prune33.0ms (2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh000
Picked011
Done000
Total26228

Merged error: 0.2b

Counts
28 → 2

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 N (+.f64 N 1.0))
0.2b
(atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 N 1.0))))

rewrite8.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-sqr-sqrt_binary64
pow1_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-*l*_binary64
add-log-exp_binary64 associate-*r/_binary64
pow-prod-down_binary64 flip3-+_binary64 cbrt-unprod_binary64 distribute-lft-out_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 prod-exp_binary64 flip-+_binary64 *-commutative_binary64
Counts
2 → 30
Calls

2 calls:

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

series9.0ms (0.5%)

Counts
2 → 6
Calls

2 calls:

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

simplify71.0ms (4.1%)

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
04907272
14907272

prune54.0ms (3.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New32436
Fresh000
Picked011
Done011
Total32638

Merged error: 0.2b

Counts
38 → 6

localize10.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.2b
(atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N))))
0.7b
(*.f64 (sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N))))) (sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N))))))
13.3b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
13.3b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))

rewrite12.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
24×sqrt-prod_binary64
21×pow1_binary64
14×*-un-lft-identity_binary64 add-cube-cbrt_binary64
10×pow1/2_binary64 sqrt-pow1_binary64
swap-sqr_binary64
associate-*r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-*l*_binary64
pow-prod-up_binary64
add-log-exp_binary64 unswap-sqr_binary64
pow-prod-down_binary64 pow-sqr_binary64
rem-sqrt-square_binary64
cbrt-unprod_binary64 rem-square-sqrt_binary64 pow-plus_binary64 sqrt-unprod_binary64 prod-exp_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 82
Calls

4 calls:

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

series22.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

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

simplify49.0ms (2.9%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05253989

prune139.0ms (8.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New91394
Fresh123
Picked101
Done022
Total937100

Merged error: 0.1b

Counts
100 → 7

localize11.0ms (0.7%)

Local error

Found 4 expressions with local error:

0.7b
(*.f64 (sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N))))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N))))))))
13.3b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
13.3b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
13.3b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))

rewrite22.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
54×sqrt-pow1_binary64
45×pow1_binary64
30×pow1/2_binary64 pow-prod-up_binary64
16×add-sqr-sqrt_binary64
14×sqrt-prod_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow-prod-down_binary64
associate-*l*_binary64 pow-sqr_binary64
add-log-exp_binary64
cbrt-unprod_binary64 rem-sqrt-square_binary64 prod-exp_binary64
swap-sqr_binary64 sqrt-unprod_binary64 unswap-sqr_binary64
associate-*r*_binary64 *-commutative_binary64
Counts
4 → 85
Calls

4 calls:

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

series30.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

10.0ms
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
8.0ms
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
8.0ms
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
4.0ms
(*.f64 (sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N))))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N))))))))

simplify61.0ms (3.6%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04775929
14775929

prune156.0ms (9.1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done022
Total977104

Merged error: 0.1b

Counts
104 → 7

regimes71.0ms (4.1%)

Accuracy

Total 0.0b remaining (11.5%)

Threshold costs 0.0b (11.5%)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0119
1119

end0.0ms (0%)

sample808.0ms (47.4%)

Algorithm
intervals
Results
458.0ms2925×body1280valid
137.0ms4046×body80valid
70.0ms569×body640valid
31.0ms305×body320valid
11.0ms155×body160valid

Profiling

Loading profile data...