Details

Time bar (total: 4.3s)

sample62.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune3.0ms

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

series30.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0224417
1632348
22275345
35001329

prune121.0ms

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

series90.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
37.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify66.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04612468
120322166
250022132

prune503.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite71.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:
55.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)))

series147.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)))))
15.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
83.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify56.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04832307
116501877
250021798

prune497.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

rewrite13.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:
10.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
1.0ms
(sqrt (atan2 b b))

series40.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0360764
11154628
25001583

prune166.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes34.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.2s

Algorithm
intervals
Results
882.0ms1767×body10240exit
463.0ms9759×body80nan
439.0ms7992×body80valid
3.0msbody2560valid
3.0msbody5120valid
1.0msbody1280valid
1.0msbody320valid