Details

Time bar (total: 6.2s)

sample130.0ms

Algorithm
intervals
Results
66.0ms63×body5120exit
25.0ms256×body80valid
22.0ms367×body80nan

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune3.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.1b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.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:
5.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series95.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
20.0ms
(pow (sqrt (atan2 b b)) (- b a))
11.0ms
(sqrt (atan2 b b))

simplify76.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune138.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

localize15.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))

rewrite42.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))
22.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))

series95.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
45.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
10.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify70.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04612468
120322166
250022132

prune431.0ms

Filtered
218 candidates to 111 candidates (50.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2162218
Fresh011
Picked101
Done000
Total2173220

Merged error: 0.0b

Counts
220 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- b a))
0.6b
(cbrt (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity
10×cbrt-prod
add-cube-cbrt
pow1 sqrt-prod
add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 pow1/3 flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 64
Calls
4 calls:
3.0ms
(cbrt (- b a))
3.0ms
(cbrt (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series338.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(cbrt (- b a))
157.0ms
(cbrt (- b a))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify113.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 4 (108.0ms)

IterNodesCost
0169332
1352320
2962314
33198298
45002292

prune271.0ms

Filtered
76 candidates to 58 candidates (76.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh022
Picked011
Done000
Total76379

Merged error: 0.0b

Counts
79 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
4.6b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
88×add-sqr-sqrt
73×log-prod
66×sqrt-prod
60×unpow-prod-down
49×exp-sum
37×add-cube-cbrt *-un-lft-identity
33×unpow-prod-up
30×unswap-sqr
27×associate-*r* prod-diff
24×associate-*l*
14×sqr-pow
add-exp-log
pow1 add-cbrt-cube
pow-sub
expm1-log1p-u log1p-expm1-u add-log-exp
sub-neg log-div rem-log-exp prod-exp
pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 exp-diff pow-exp
frac-times associate-*r/ associate-*l/ log-pow *-commutative cbrt-unprod
Counts
4 → 166
Calls
4 calls:
26.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
6.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series149.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))))
15.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
85.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify59.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04832305
116501877
250021798

prune425.0ms

Filtered
178 candidates to 102 candidates (57.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1771178
Fresh011
Picked101
Done011
Total1783181

Merged error: 0.0b

Counts
181 → 3

regimes99.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
01419
11419

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.9s1816×body5120exit
637.0ms7990×body80valid
615.0ms10094×body80nan
3.0msbody5120valid
2.0msbody2560valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid