Details

Time bar (total: 5.9s)

sample363.0ms

Algorithm
intervals
Results
57.0ms58×body5120exit
23.0ms256×body80valid
17.0ms306×body80nan

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

localize25.0ms

Local error

Found 3 expressions with local error:

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

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

series104.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune109.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.0b

Counts
58 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod
78×unpow-prod-down
76×add-sqr-sqrt
25×unswap-sqr
23×swap-sqr
22×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r* associate-*l*
14×sqr-pow
12×unpow-prod-up
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
pow-sub add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 136
Calls
4 calls:
3.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
15.0ms
(* (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))

series142.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
41.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify53.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
02801645
111691507
250011483

prune233.0ms

Filtered
148 candidates to 71 candidates (48.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1462148
Fresh101
Picked011
Done000
Total1473150

Merged error: 0.0b

Counts
150 → 3

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
0.0b
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
1.0b
(sqrt (atan2 b b))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×sqrt-prod
unpow-prod-down
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
pow-pow sqrt-pow1
unpow-prod-up add-exp-log
pow1/2 add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg distribute-lft-in
pow-to-exp rem-sqrt-square pow-unpow pow-exp sqrt-pow2 sqr-pow
Counts
3 → 50
Calls
3 calls:
4.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
5.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
1.0ms
(sqrt (atan2 b b))

series114.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
75.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
10.0ms
(sqrt (atan2 b b))

simplify131.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0217466
1802421
23808391
35001369

prune100.0ms

Filtered
59 candidates to 34 candidates (57.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New59059
Fresh011
Picked011
Done011
Total59362

Merged error: 0.0b

Counts
62 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (pow (sqrt (sqrt (atan2 b b))) (* 2 b)) (pow (sqrt (sqrt (atan2 b b))) (* 2 a)))
0.0b
(sin (/ (pow (sqrt (sqrt (atan2 b b))) (* 2 b)) (pow (sqrt (sqrt (atan2 b b))) (* 2 a))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
258×sqrt-prod
252×unpow-prod-down
169×times-frac
120×add-sqr-sqrt
118×add-cube-cbrt *-un-lft-identity
28×sqr-pow
16×add-exp-log
13×associate-/r* associate-/l*
div-exp
pow1 pow-to-exp pow-exp add-cbrt-cube
add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-undiv frac-2neg clear-num div-inv pow-div
Counts
4 → 249
Calls
4 calls:
13.0ms
(/ (pow (sqrt (sqrt (atan2 b b))) (* 2 b)) (pow (sqrt (sqrt (atan2 b b))) (* 2 a)))
13.0ms
(sin (/ (pow (sqrt (sqrt (atan2 b b))) (* 2 b)) (pow (sqrt (sqrt (atan2 b b))) (* 2 a))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series282.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ (pow (sqrt (sqrt (atan2 b b))) (* 2 b)) (pow (sqrt (sqrt (atan2 b b))) (* 2 a)))
160.0ms
(sin (/ (pow (sqrt (sqrt (atan2 b b))) (* 2 b)) (pow (sqrt (sqrt (atan2 b b))) (* 2 a))))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify83.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04845163
120304846
250024824

prune478.0ms

Filtered
261 candidates to 121 candidates (46.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2601261
Fresh000
Picked101
Done022
Total2613264

Merged error: 0b

Counts
264 → 3

regimes40.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
0117
1117

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.8s1774×body5120exit
639.0ms7990×body80valid
555.0ms9692×body80nan
3.0msbody5120valid
2.0msbody640valid
1.0msbody2560valid
1.0msbody1280valid
0.0msbody160valid
0.0msbody320valid