Details

Time bar (total: 4.4s)

sample314.0ms

Algorithm
intervals
Results
20.0ms38×body10240exit
16.0ms256×body80valid
13.0ms275×body80nan

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite16.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)))
4.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series107.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
31.0ms
(pow (sqrt (atan2 b b)) (- b a))
16.0ms
(sqrt (atan2 b b))

simplify67.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0255515
1727433
22662425
35001408

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

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

series76.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
02641026
1731882
22885870
35002838

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

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

series133.0ms

Counts
4 → 12
Calls
4 calls:
31.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)))

simplify117.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
03451080
1985903
23991894
35001893

prune341.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

series39.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))
10.0ms
(sqrt (atan2 b b))

simplify97.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 7 (28.0ms)

IterNodesCost
024212
127208
230208
335208
454208
5108208
6535208
71774204
85001204

prune243.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes91.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
810.0ms1837×body10240exit
476.0ms7995×body80valid
459.0ms9862×body80nan
3.0msbody5120valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid