Details

Time bar (total: 6.2s)

sample389.0ms

Algorithm
intervals
Results
70.0ms66×body5120exit
25.0ms384×body80nan
21.0ms255×body80valid
3.0msbody5120valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

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

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series106.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

prune136.0ms

Filtered
72 candidates to 43 candidates (59.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.2b

Counts
73 → 4

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.3b
(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))

rewrite43.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:
27.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (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))

series145.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04512193
118801915
250021883

prune349.0ms

Filtered
183 candidates to 96 candidates (52.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1821183
Fresh033
Picked011
Done000
Total1825187

Merged error: 0.2b

Counts
187 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
66×unpow-prod-down
28×cbrt-prod add-sqr-sqrt
27×add-cube-cbrt *-un-lft-identity
22×unpow-prod-up
21×sqrt-prod
18×prod-diff
add-exp-log
pow1
expm1-log1p-u pow-exp add-cbrt-cube log1p-expm1-u add-log-exp sqr-pow
pow-unpow
pow-to-exp sub-neg
rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow1/3
Counts
4 → 104
Calls
4 calls:
9.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))
8.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
10.0ms
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
2.0ms
(sqrt (atan2 b b))

series195.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))
61.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
83.0ms
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
13.0ms
(sqrt (atan2 b b))

simplify53.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04581372
113111178
250021163

prune264.0ms

Filtered
116 candidates to 66 candidates (56.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1142116
Fresh033
Picked101
Done101
Total1165121

Merged error: 0.2b

Counts
121 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))) 3)
0.1b
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
0.3b
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
1.0b
(sqrt (atan2 b b))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
36×unpow-prod-down
20×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
12×sqrt-prod
11×unpow-prod-up
prod-diff
add-exp-log
pow1 pow-unpow
pow-exp add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp cube-prod sqr-pow
pow-pow
cube-mult sub-neg rem-sqrt-square sqrt-pow1 pow1/2 unpow3 rem-cube-cbrt
Counts
4 → 91
Calls
4 calls:
12.0ms
(pow (sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))) 3)
8.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
11.0ms
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
2.0ms
(sqrt (atan2 b b))

series289.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(pow (sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))) 3)
60.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
87.0ms
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
10.0ms
(sqrt (atan2 b b))

simplify57.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05081085
11805954
25002939

prune261.0ms

Filtered
103 candidates to 61 candidates (59.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1021103
Fresh044
Picked101
Done000
Total1035108

Merged error: 0.2b

Counts
108 → 5

regimes119.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
01612

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.9s1831×body5120exit
639.0ms7989×body80valid
583.0ms9930×body80nan
3.0msbody5120valid
2.0msbody1280valid
1.0msbody2560valid
1.0msbody320valid
1.0msbody160valid