Details

Time bar (total: 5.1s)

sample108.0ms

Algorithm
intervals
Results
54.0ms56×body5120exit
20.0ms256×body80valid
18.0ms310×body80nan

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
pow-pow add-cbrt-cube add-log-exp
unpow-prod-up 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 → 48
Calls
3 calls:
3.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series89.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune110.0ms

Filtered
57 candidates to 36 candidates (63.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 0.1b

Counts
58 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod
20×add-sqr-sqrt
18×unpow-prod-down *-un-lft-identity
14×add-cube-cbrt
12×pow1
10×pow-unpow pow-pow sqrt-pow1
add-exp-log pow1/2
unpow-prod-up add-cbrt-cube 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 → 92
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series76.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0160630
1454596
21640588
35002584

prune226.0ms

Filtered
104 candidates to 62 candidates (59.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1004104
Fresh112
Picked101
Done000
Total1025107

Merged error: 0.1b

Counts
107 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
4.6b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
30×log-prod
24×sqrt-prod
18×unpow-prod-down
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity exp-sum
pow1 add-exp-log
unpow-prod-up exp-prod add-cbrt-cube add-log-exp
rem-log-exp
sub-neg rem-sqrt-square log-div sqrt-pow1 pow1/2 log-pow pow-sub sqr-pow
pow-to-exp exp-diff pow-exp rem-exp-log
Counts
4 → 81
Calls
4 calls:
8.0ms
(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)))

series128.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a))))
10.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))
78.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify47.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0205685
1440620
21399610
35001602

prune236.0ms

Filtered
93 candidates to 58 candidates (62.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New91293
Fresh134
Picked011
Done000
Total92698

Merged error: 0.1b

Counts
98 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-prod
16×add-sqr-sqrt
13×*-un-lft-identity
11×add-cube-cbrt
10×pow1
unpow-prod-down
sqrt-pow1
add-exp-log pow-unpow pow-pow pow1/2
add-cbrt-cube add-log-exp
rem-sqrt-square
unpow-prod-up
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 72
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series60.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0160409
1454388
21640384
35002382

prune228.0ms

Filtered
84 candidates to 51 candidates (60.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New83184
Fresh224
Picked101
Done101
Total87390

Merged error: 0.0b

Counts
90 → 3

regimes67.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
02020
12020

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.9s1839×body5120exit
641.0ms7989×body80valid
577.0ms9644×body80nan
9.0msbody5120valid
1.0msbody2560valid
1.0msbody640valid
1.0msbody320valid
1.0msbody1280valid

Profiling

Loading profile data...