Details

Time bar (total: 4.3s)

sample309.0ms

Algorithm
intervals
Results
19.0ms52×body10240exit
15.0ms256×body80valid
13.0ms308×body80nan

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(sin (pow (sqrt (atan2 b b)) (- b a)))
0.0b
(pow (sqrt (atan2 b b)) (- b a))
1.0b
(sqrt (atan2 b b))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 63
Calls
3 calls:
6.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
4.0ms
(sqrt (atan2 b b))

series110.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
22.0ms
(pow (sqrt (atan2 b b)) (- b a))
31.0ms
(sqrt (atan2 b b))

simplify82.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune124.0ms

Filtered
72 candidates to 43 candidates (59.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh000
Picked101
Done000
Total71273

Merged error: 0.0b

Counts
73 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.0b
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
93×sqrt-prod
87×unpow-prod-down
59×unpow-prod-up
58×*-un-lft-identity
56×add-cube-cbrt
45×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
17×add-exp-log
15×sqr-pow
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
expm1-log1p-u pow1/2 log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqrt-pow2 cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 206
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
23.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series89.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
38.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
14.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify67.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04612471
120642166
250012132

prune396.0ms

Filtered
218 candidates to 111 candidates (50.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2162218
Fresh101
Picked011
Done000
Total2173220

Merged error: 0.0b

Counts
220 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
0.0b
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
1.0b
(sqrt (atan2 b b))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×unpow-prod-up
20×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
18×prod-diff
12×sqrt-prod
11×distribute-rgt-in distribute-lft-in
unpow-prod-down
pow1
pow-pow sqrt-pow1
add-exp-log
expm1-log1p-u pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
sub-neg
pow-to-exp rem-sqrt-square pow-unpow pow-exp sqrt-pow2 sqr-pow
Counts
3 → 74
Calls
3 calls:
7.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
2.0ms
(sqrt (atan2 b b))

series116.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
30.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
10.0ms
(sqrt (atan2 b b))

simplify46.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0398893
11289741
25001695

prune136.0ms

Filtered
83 candidates to 43 candidates (51.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New82183
Fresh101
Picked011
Done101
Total84286

Merged error: 0.0b

Counts
86 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
0.0b
(pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3)
0.0b
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3))
1.0b
(sqrt (atan2 b b))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
115×unpow-prod-down
110×unpow-prod-up
90×prod-diff
87×add-sqr-sqrt
86×add-cube-cbrt *-un-lft-identity
76×cbrt-prod
70×cube-prod
55×distribute-rgt-in distribute-lft-in
48×sqrt-prod
10×sub-neg
pow1
add-exp-log sqr-pow
pow-pow
sqrt-pow1 pow-exp add-cbrt-cube
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
pow-to-exp pow1/2
cube-mult unpow3
rem-sqrt-square pow1/3 sqrt-pow2 rem-cbrt-cube rem-cube-cbrt
Counts
4 → 243
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
11.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3)
13.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3))
2.0ms
(sqrt (atan2 b b))

series128.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
51.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3)
36.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3))
10.0ms
(sqrt (atan2 b b))

simplify90.0ms

Algorithm
egg-herbie
Counts
255 → 255
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
07403734
124533110
250013081

prune280.0ms

Filtered
255 candidates to 79 candidates (31.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2550255
Fresh000
Picked011
Done011
Total2552257

Merged error: 0.0b

Counts
257 → 2

regimes32.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0117
1117

end0.0ms

sample2.0s

Algorithm
intervals
Results
817.0ms1894×body10240exit
446.0ms7984×body80valid
380.0ms10096×body80nan
9.0msbody5120valid
4.0msbody2560valid
1.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid