Details

Time bar (total: 4.0s)

sample61.0ms

Algorithm
intervals
Results
22.0ms53×body10240exit
14.0ms256×body80valid
10.0ms290×body80nan

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

rewrite17.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)))
9.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series90.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
10.0ms
(sqrt (atan2 b b))

simplify72.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune154.0ms

Pruning

3 alts after pruning (3 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))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
26×add-cube-cbrt
24×sqrt-prod
22×unpow-prod-up
18×unpow-prod-down prod-diff
12×pow1
10×pow-unpow pow-pow sqrt-pow1
add-exp-log pow1/2
expm1-log1p-u 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
4 → 118
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series78.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
31.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify81.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
02641026
1731882
22885870
35002838

prune316.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (sin (pow (sqrt (atan2 b b)) (- b a))))
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))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1
unpow-prod-down sqrt-prod
add-exp-log pow-unpow log1p-expm1-u
expm1-log1p-u add-cbrt-cube add-log-exp
pow-pow
sqrt-pow1 pow1/2
pow-to-exp sub-neg rem-sqrt-square expm1-log1p pow-exp sqrt-pow2 distribute-lft-out-- expm1-udef pow-sub difference-of-squares sqr-pow
Counts
4 → 74
Calls
4 calls:
1.0ms
(expm1 (sin (pow (sqrt (atan2 b b)) (- b a))))
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))

series185.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(expm1 (sin (pow (sqrt (atan2 b b)) (- b a))))
57.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
22.0ms
(pow (sqrt (atan2 b b)) (- b a))
10.0ms
(sqrt (atan2 b b))

simplify94.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0296636
1869542
23454526
35001509

prune226.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
28×*-un-lft-identity
24×add-cube-cbrt
22×unpow-prod-up
18×prod-diff
12×unpow-prod-down sqrt-prod
10×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
4 → 108
Calls
4 calls:
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series62.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (sqrt (atan2 b b)) (- b a))
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify65.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0224834
1632696
22275690
35001658

prune313.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes88.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
097

end0.0ms

sample2.0s

Algorithm
intervals
Results
794.0ms1813×body10240exit
451.0ms7989×body80valid
357.0ms9837×body80nan
3.0msbody2560valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid