Details

Time bar (total: 1.8s)

analyze1.0ms

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

sample28.0ms

Algorithm
intervals
Results
14.0ms86×body1280valid
5.0ms140×body80valid
3.0ms20×body640valid
1.0msbody320valid
0.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: 13.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(atan.f64 (+.f64 N 1))
1.0b
(-.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))

series6.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04923236
14923236

prune15.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.5b

Counts
28 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(*.f64 N (+.f64 N 1))
0.6b
(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))))

series11.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
05066260

prune27.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.5b

Counts
38 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt.f64 (+.f64 1 N))
0.3b
(cbrt.f64 (+.f64 N 1))
0.3b
(*.f64 (cbrt.f64 (+.f64 1 N)) (cbrt.f64 (+.f64 1 N)))
0.6b
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (*.f64 (cbrt.f64 (+.f64 1 N)) (cbrt.f64 (+.f64 1 N)))) (cbrt.f64 (+.f64 N 1)))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity_binary64 cbrt-prod_binary64
22×add-sqr-sqrt_binary64
16×cbrt-div_binary64
14×add-cube-cbrt_binary64
11×pow1_binary64
swap-sqr_binary64
flip3-+_binary64 distribute-lft-out_binary64 pow1/3_binary64 flip-+_binary64
associate-*r*_binary64 associate-*l*_binary64
add-exp-log_binary64
add-log-exp_binary64 add-cbrt-cube_binary64 unswap-sqr_binary64 frac-times_binary64
pow-prod-down_binary64 pow-prod-up_binary64 associate-*r/_binary64 pow-sqr_binary64 associate-*l/_binary64
cbrt-unprod_binary64 pow-plus_binary64 prod-exp_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 88
Calls
4 calls:
3.0ms
(cbrt.f64 (+.f64 1 N))
3.0ms
(cbrt.f64 (+.f64 N 1))
13.0ms
(*.f64 (cbrt.f64 (+.f64 1 N)) (cbrt.f64 (+.f64 1 N)))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (*.f64 (cbrt.f64 (+.f64 1 N)) (cbrt.f64 (+.f64 1 N)))) (cbrt.f64 (+.f64 N 1)))))

series19.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(cbrt.f64 (+.f64 1 N))
5.0ms
(cbrt.f64 (+.f64 N 1))
6.0ms
(*.f64 (cbrt.f64 (+.f64 1 N)) (cbrt.f64 (+.f64 1 N)))
3.0ms
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (*.f64 (cbrt.f64 (+.f64 1 N)) (cbrt.f64 (+.f64 1 N)))) (cbrt.f64 (+.f64 N 1)))))

simplify87.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
04837952
14837952

prune84.0ms

Filtered
73 candidates to 100 candidates (-37.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New991100
Fresh022
Picked011
Done022
Total996105

Merged error: 0.5b

Counts
105 → 6

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt.f64 (-.f64 1 N))
0.3b
(*.f64 (cbrt.f64 (+.f64 1 N)) (/.f64 (cbrt.f64 (-.f64 1 (*.f64 N N))) (cbrt.f64 (-.f64 1 N))))
0.6b
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (*.f64 (cbrt.f64 (+.f64 1 N)) (/.f64 (cbrt.f64 (-.f64 1 (*.f64 N N))) (cbrt.f64 (-.f64 1 N))))) (cbrt.f64 (+.f64 N 1)))))
14.5b
(cbrt.f64 (-.f64 1 (*.f64 N N)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
121×cbrt-prod_binary64
108×add-sqr-sqrt_binary64
82×*-un-lft-identity_binary64
80×times-frac_binary64
78×associate-*r*_binary64
43×add-cube-cbrt_binary64
38×difference-of-squares_binary64
10×cbrt-div_binary64 unswap-sqr_binary64
add-exp-log_binary64 distribute-lft-out--_binary64
associate-*l*_binary64
pow1_binary64
add-cbrt-cube_binary64
add-log-exp_binary64
flip3--_binary64 flip--_binary64
flip3-+_binary64 cbrt-unprod_binary64 pow1/3_binary64 associate-/r/_binary64 prod-exp_binary64 flip-+_binary64 frac-times_binary64 associate-*l/_binary64
pow-prod-down_binary64 distribute-lft-out_binary64 cbrt-undiv_binary64 associate-*r/_binary64 div-inv_binary64 div-exp_binary64 *-commutative_binary64
Counts
4 → 151
Calls
4 calls:
4.0ms
(cbrt.f64 (-.f64 1 N))
34.0ms
(*.f64 (cbrt.f64 (+.f64 1 N)) (/.f64 (cbrt.f64 (-.f64 1 (*.f64 N N))) (cbrt.f64 (-.f64 1 N))))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (*.f64 (cbrt.f64 (+.f64 1 N)) (/.f64 (cbrt.f64 (-.f64 1 (*.f64 N N))) (cbrt.f64 (-.f64 1 N))))) (cbrt.f64 (+.f64 N 1)))))
3.0ms
(cbrt.f64 (-.f64 1 (*.f64 N N)))

series31.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt.f64 (-.f64 1 N))
9.0ms
(*.f64 (cbrt.f64 (+.f64 1 N)) (/.f64 (cbrt.f64 (-.f64 1 (*.f64 N N))) (cbrt.f64 (-.f64 1 N))))
6.0ms
(atan2.f64 1 (+.f64 1 (*.f64 (*.f64 N (*.f64 (cbrt.f64 (+.f64 1 N)) (/.f64 (cbrt.f64 (-.f64 1 (*.f64 N N))) (cbrt.f64 (-.f64 1 N))))) (cbrt.f64 (+.f64 N 1)))))
11.0ms
(cbrt.f64 (-.f64 1 (*.f64 N N)))

simplify72.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049182837
149182837

prune237.0ms

Filtered
137 candidates to 163 candidates (-19.0%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1630163
Fresh022
Picked011
Done033
Total1636169

Merged error: 0.5b

Counts
169 → 6

regimes48.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0109
1109

end0.0ms

sample848.0ms

Algorithm
intervals
Results
463.0ms2775×body1280valid
151.0ms4123×body80valid
84.0ms636×body640valid
32.0ms301×body320valid
12.0ms165×body160valid

Profiling

Loading profile data...