Details

Time bar (total: 3.7s)

sample58.0ms

Algorithm
intervals
Results
19.0ms52×body10240exit
14.0ms256×body80valid
11.0ms308×body80nan

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

Counts
2 → 1

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

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune101.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
(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))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
93×sqrt-prod
87×unpow-prod-down
82×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
25×unswap-sqr
23×swap-sqr
17×add-exp-log
15×associate-*r* associate-*l* sqr-pow
14×unpow-prod-up
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
pow1/2 add-log-exp
rem-sqrt-square
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqrt-pow2 cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 162
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
17.0ms
(* (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))

series89.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
37.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify55.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
02921754
113191646
250021602

prune284.0ms

Filtered
174 candidates to 84 candidates (48.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1722174
Fresh101
Picked011
Done000
Total1733176

Merged error: 0.0b

Counts
176 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.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:
5.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
1.0ms
(sqrt (atan2 b b))

series115.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (142.0ms)

IterNodesCost
0217461
1743419
23883391
35002369

prune104.0ms

Filtered
59 candidates to 34 candidates (57.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New58159
Fresh101
Picked011
Done101
Total60262

Merged error: 0.0b

Counts
62 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
79×unpow-prod-down
48×sqrt-prod
40×cbrt-prod
34×cube-prod
27×add-sqr-sqrt
26×add-cube-cbrt *-un-lft-identity
20×unpow-prod-up
10×distribute-rgt-in sub-neg distribute-lft-in
pow1
add-exp-log sqr-pow
pow-pow
sqrt-pow1 pow-exp add-cbrt-cube
pow-unpow add-log-exp
pow-to-exp pow1/2
cube-mult unpow3
rem-sqrt-square pow1/3 sqrt-pow2 rem-cbrt-cube rem-cube-cbrt
Counts
4 → 145
Calls
4 calls:
5.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
7.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3)
8.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3))
2.0ms
(sqrt (atan2 b b))

series126.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
54.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3)
29.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) 3))
11.0ms
(sqrt (atan2 b b))

simplify59.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03901632
115331551
250011504

prune227.0ms

Filtered
157 candidates to 65 candidates (41.4%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1570157
Fresh000
Picked011
Done011
Total1572159

Merged error: 0.0b

Counts
159 → 2

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

sample2.0s

Algorithm
intervals
Results
832.0ms1894×body10240exit
449.0ms7984×body80valid
362.0ms10096×body80nan
9.0msbody5120valid
3.0msbody2560valid
1.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid