Details

Time bar (total: 4.5s)

sample125.0ms

Algorithm
intervals
Results
65.0ms63×body5120exit
23.0ms255×body80valid
20.0ms347×body80nan
0.0msbody320valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune2.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

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

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:
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
4.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0ms
(sqrt (atan2 b b))

series93.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune107.0ms

Filtered
57 candidates to 36 candidates (63.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New55257
Fresh000
Picked101
Done000
Total56258

Merged error: 0.2b

Counts
58 → 2

localize12.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
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
40×cbrt-prod
29×sqrt-prod
19×add-cube-cbrt *-un-lft-identity
14×pow1
11×swap-sqr
associate-*r* associate-*l* unswap-sqr
add-exp-log pow1/3
add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
8.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

series139.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))
109.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

simplify123.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 4 (109.0ms)

IterNodesCost
099708
1349669
21184617
33417580
45001564

prune213.0ms

Filtered
107 candidates to 59 candidates (55.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh011
Picked011
Done000
Total1072109

Merged error: 0.2b

Counts
109 → 2

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.0ms

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

series90.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0179416
1454374
21379364
35002358

prune122.0ms

Filtered
58 candidates to 39 candidates (67.2%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New58058
Fresh000
Picked011
Done011
Total58260

Merged error: 0.2b

Counts
60 → 2

regimes27.0ms

Accuracy

0% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
11114

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.7s1704×body5120exit
613.0ms7987×body80valid
545.0ms9664×body80nan
2.0msbody2560valid
2.0msbody640valid
1.0msbody160valid
1.0msbody1280valid
1.0msbody320valid

Profiling

Loading profile data...