Details

Time bar (total: 5.6s)

sample130.0ms

Algorithm
intervals
Results
68.0ms66×body5120exit
22.0ms384×body80nan
20.0ms255×body80valid
3.0msbody5120valid

simplify51.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.3b

Counts
2 → 1

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

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

series90.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

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

rewrite41.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:
25.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))))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series144.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))))
10.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

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

rewrite34.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:
8.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))
10.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
9.0ms
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
2.0ms
(sqrt (atan2 b b))

series193.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))
55.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
88.0ms
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
10.0ms
(sqrt (atan2 b b))

simplify49.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04581372
113111178
250021163

prune266.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 (pow (sqrt (sqrt (atan2 b b))) (- b a)) 4)
0.3b
(sin (cbrt (* (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 4) (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 2))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
33×unpow-prod-down
19×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
15×sqrt-prod
11×unpow-prod-up
prod-diff
pow1 add-exp-log
expm1-log1p-u pow-exp add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow
pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 sqr-pow
sub-neg pow-pow
Counts
4 → 81
Calls
4 calls:
8.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 4)
4.0ms
(sin (cbrt (* (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 4) (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 2))))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series158.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0405887
11228769
25001766

prune254.0ms

Filtered
93 candidates to 58 candidates (62.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh044
Picked011
Done000
Total93598

Merged error: 0.2b

Counts
98 → 5

regimes82.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
01515
11515

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.8s1831×body5120exit
622.0ms7989×body80valid
562.0ms9930×body80nan
3.0msbody5120valid
2.0msbody1280valid
1.0msbody2560valid
1.0msbody320valid
1.0msbody160valid