Details

Time bar (total: 3.8s)

sample325.0ms

Algorithm
intervals
Results
29.0ms50×body10240exit
15.0ms255×body80valid
13.0ms349×body80nan
0.0msbody160valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune4.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.1b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.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)))
4.0ms
(sqrt (atan2 b b))

series115.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)))
33.0ms
(sqrt (atan2 b b))

simplify47.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0148325
1425298
21346292
35001290

prune103.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.1b

Counts
58 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

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

series137.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune179.0ms

Filtered
78 candidates to 50 candidates (64.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New76278
Fresh011
Picked101
Done000
Total77380

Merged error: 0.1b

Counts
80 → 3

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log rem-sqrt-square sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
Counts
4 → 52
Calls
4 calls:
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.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))

simplify108.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 7 (28.0ms)

IterNodesCost
022188
125184
228184
333184
452184
5106184
6533184
71765180
85001180

prune176.0ms

Filtered
64 candidates to 40 candidates (62.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New64064
Fresh022
Picked011
Done000
Total64367

Merged error: 0.1b

Counts
67 → 3

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow (atan2 b b) (/ (- b a) 2))
0.1b
(sin (pow (atan2 b b) (/ (- b a) 2)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
19×pow-unpow
18×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
pow1 add-exp-log unpow-prod-down distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
pow-to-exp pow-pow div-sub pow-exp div-inv pow-sub sqr-pow
Counts
2 → 41
Calls
2 calls:
6.0ms
(pow (atan2 b b) (/ (- b a) 2))
3.0ms
(sin (pow (atan2 b b) (/ (- b a) 2)))

series82.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(pow (atan2 b b) (/ (- b a) 2))
62.0ms
(sin (pow (atan2 b b) (/ (- b a) 2)))

simplify74.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0232319
1750303
23077285
35001284

prune92.0ms

Filtered
47 candidates to 34 candidates (72.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New47047
Fresh011
Picked011
Done011
Total47350

Merged error: 0.1b

Counts
50 → 3

regimes37.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
01427
11427

end0.0ms

sample2.0s

Algorithm
intervals
Results
802.0ms1815×body10240exit
452.0ms7989×body80valid
379.0ms9961×body80nan
3.0msbody5120valid
3.0msbody2560valid
1.0msbody1280valid
1.0msbody160valid

Profiling

Loading profile data...