Details

Time bar (total: 1.5s)

analyze1.0ms

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

sample29.0ms

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

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0707
1707

prune2.0ms

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

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

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:
1.0ms
(atan.f64 (+.f64 N 1))
4.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

series4.0ms

Counts
2 → 6
Calls
2 calls:
1.0ms
(atan.f64 (+.f64 N 1))
3.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

simplify63.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04923236
14923236

prune27.0ms

Filtered
19 candidates to 27 candidates (-42.1%)
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

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

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))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

series9.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(*.f64 N (+.f64 N 1))
2.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

simplify58.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
05066260

prune44.0ms

Filtered
26 candidates to 36 candidates (-38.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New32436
Fresh000
Picked011
Done011
Total32638

Merged error: 0.2b

Counts
38 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
0.7b
(*.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))))))
13.3b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
13.3b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite12.0ms

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:
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
6.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)))))

series22.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
3.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))))))
9.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
7.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

simplify47.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05258989

prune79.0ms

Filtered
46 candidates to 94 candidates (-104.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New91394
Fresh123
Picked101
Done022
Total937100

Merged error: 0.1b

Counts
100 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.7b
(*.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))))))))
13.3b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
13.3b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
13.3b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite22.0ms

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 (+.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)))))
2.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

series25.0ms

Counts
4 → 12
Calls
4 calls:
3.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))))))))
7.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
7.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
7.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04780929
14780929

prune82.0ms

Filtered
49 candidates to 97 candidates (-98.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done022
Total977104

Merged error: 0.1b

Counts
104 → 7

regimes74.0ms

Accuracy

0% (0.0b remaining)

Error of 0.3b against oracle of 0.3b and baseline of 0.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0109
1109

end0.0ms

sample832.0ms

Algorithm
intervals
Results
465.0ms2925×body1280valid
145.0ms4046×body80valid
76.0ms569×body640valid
31.0ms305×body320valid
11.0ms155×body160valid

Profiling

Loading profile data...