Details

Time bar (total: 1.6s)

analyze1.0ms

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

sample28.0ms

Algorithm
intervals
Results
14.0ms96×body1280valid
4.0ms127×body80valid
1.0ms12×body640valid
1.0ms10×body320valid
1.0ms11×body160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0717
1717

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.2b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series7.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
05349236

prune28.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.3b

Counts
28 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series13.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(*.f64 N (+.f64 N 1.0))
3.0ms
(atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 N 1.0))))

simplify78.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
04907272
14907272

prune42.0ms

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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New33336
Fresh000
Picked011
Done011
Total33538

Merged error: 0.3b

Counts
38 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.3b
(atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N))))
0.6b
(*.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))))))
14.9b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
14.9b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))

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

series26.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05253989

prune74.0ms

Filtered
47 candidates to 94 candidates (-100.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New93194
Fresh112
Picked011
Done022
Total94599

Merged error: 0.3b

Counts
99 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(*.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))))))))
14.9b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
14.9b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))
14.9b
(sqrt.f64 (atan2.f64 1.0 (+.f64 1 (*.f64 N (+.f64 1.0 N)))))

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

series35.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04775929
14775929

prune86.0ms

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

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New96197
Fresh011
Picked011
Done123
Total975102

Merged error: 0.2b

Counts
102 → 5

regimes64.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
0119
1119

end0.0ms

sample773.0ms

Algorithm
intervals
Results
419.0ms2826×body1280valid
134.0ms4078×body80valid
80.0ms631×body640valid
29.0ms310×body320valid
11.0ms155×body160valid

Profiling

Loading profile data...