Details

Time bar (total: 4.3s)

sample59.0ms

Algorithm
intervals
Results
16.0ms47×body10240exit
14.0ms256×body80valid
13.0ms295×body80nan

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

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

series36.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(pow (sqrt (atan2 b b)) (- b a))
16.0ms
(sqrt (atan2 b b))

simplify63.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0224417
1632348
22275345
35001329

prune117.0ms

Filtered
60 candidates to 33 candidates (55.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite60.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:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
42.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series95.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
44.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))

simplify67.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04612468
120322166
250022132

prune489.0ms

Filtered
218 candidates to 111 candidates (50.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.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))
3.6b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite72.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:
56.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))
1.0ms
(sqrt (atan2 b b))
5.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series146.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04832305
116501877
250021798

prune488.0ms

Filtered
178 candidates to 101 candidates (56.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series46.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
10.0ms
(sqrt (atan2 b b))

simplify41.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0360769
11213630
25001583

prune298.0ms

Filtered
71 candidates to 33 candidates (46.5%)
Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes30.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
01214
11214

end0.0ms

sample2.1s

Algorithm
intervals
Results
761.0ms1767×body10240exit
471.0ms7992×body80valid
459.0ms9759×body80nan
4.0msbody2560valid
3.0msbody5120valid
1.0msbody1280valid
1.0msbody320valid