Details

Time bar (total: 4.2s)

sample59.0ms

Algorithm
intervals
Results
18.0ms38×body10240exit
15.0ms256×body80valid
13.0ms275×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite13.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)))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series93.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0255515
1727433
22662425
35001408

prune154.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))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

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

series74.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
02641026
1731882
22885870
35002838

prune309.0ms

Pruning

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
24×log-prod sqrt-prod
22×unpow-prod-up
18×unpow-prod-down prod-diff
pow1
add-exp-log
sqrt-pow1
pow-unpow pow-pow
expm1-log1p-u pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp pow-sub sqr-pow
log-div log-pow sqrt-pow2 distribute-lft-out-- difference-of-squares
Counts
4 → 112
Calls
4 calls:
5.0ms
(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)))

series129.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
03451080
1985903
23991894
35001893

prune352.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 60
Calls
4 calls:
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series43.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify96.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 7 (28.0ms)

IterNodesCost
024212
127208
230208
335208
454208
5108208
6535208
71774204
85001204

prune248.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes90.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
817.0ms1837×body10240exit
470.0ms9862×body80nan
467.0ms7995×body80valid
3.0msbody5120valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid