Details

Time bar (total: 5.0s)

sample408.0ms

Algorithm
intervals
Results
47.0ms52×body10240exit
15.0ms296×body80nan
14.0ms255×body80valid
1.0msbody640valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.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:
8.0ms
(pow (sqrt (atan2 b b)) (- b a))
12.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(sqrt (atan2 b b))

series119.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

prune158.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

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

series152.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
96.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
11.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify112.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0308754
1921651
24085639
35001621

prune253.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite5.0ms

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

series333.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(cbrt (atan2 b b))
105.0ms
(cbrt (atan2 b b))
106.0ms
(cbrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify104.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 5 (100.0ms)

IterNodesCost
039233
174217
2154211
3521211
42941211
55002210

prune301.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series151.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0308751
1889651
24114639
35002636

prune296.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.2b

regimes35.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
02023
12023

end0.0ms

sample2.2s

Algorithm
intervals
Results
743.0ms1795×body10240exit
453.0ms9659×body80nan
447.0ms7992×body80valid
4.0msbody2560valid
2.0msbody1280valid
0.0msbody160valid