Details

Time bar (total: 3.9s)

sample67.0ms

Algorithm
intervals
Results
23.0ms51×body5120exit
16.0ms255×body80valid
12.0ms288×body80nan
0.0msbody160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
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.1b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u add-log-exp
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 → 63
Calls
3 calls:
10.0ms
(pow (sqrt (atan2 b b)) (- b a))
5.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
2.0ms
(sqrt (atan2 b b))

series89.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

prune127.0ms

Filtered
72 candidates to 43 candidates (59.7%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New71172
Fresh000
Picked101
Done000
Total72173

Merged error: 0.1b

Counts
73 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
84×sqrt-prod
78×unpow-prod-down
48×unpow-prod-up
46×add-cube-cbrt *-un-lft-identity
36×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
16×add-exp-log
14×sqr-pow
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
expm1-log1p-u log1p-expm1-u 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 → 171
Calls
4 calls:
22.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
4.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series150.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
89.0ms
(sin (* (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))

simplify64.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04512193
118801915
250021883

prune360.0ms

Filtered
183 candidates to 96 candidates (52.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1821183
Fresh000
Picked011
Done000
Total1822184

Merged error: 0.1b

Counts
184 → 2

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 60
Calls
4 calls:
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series45.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))
14.0ms
(sqrt (atan2 b b))

simplify99.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 7 (29.0ms)

IterNodesCost
024212
127208
230208
335208
454208
5108208
6535208
71774204
85001204

prune213.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh000
Picked011
Done011
Total72274

Merged error: 0.1b

Counts
74 → 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
0912

end0.0ms

sample2.4s

Algorithm
intervals
Results
910.0ms1838×body5120exit
676.0ms7986×body80valid
449.0ms9942×body80nan
14.0msbody5120valid
3.0msbody2560valid
1.0msbody320valid
1.0msbody160valid