Details

Time bar (total: 4.4s)

sample72.0ms

Algorithm
intervals
Results
29.0ms71×body10240exit
14.0ms255×body80valid
13.0ms293×body80nan
0.0msbody640valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516185
650015

prune2.0ms

Filtered
1 candidates to 0 candidates (100.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.1b
(pow (sqrt (atan2 b b)) (- b a))
0.3b
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

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

series93.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(pow (sqrt (atan2 b b)) (- b a))
63.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
22698425
35002408

prune119.0ms

Filtered
72 candidates to 43 candidates (40.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh000
Picked101
Done000
Total70373

Merged error: 0.2b

Counts
73 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt
15×sqrt-prod
11×unpow-prod-up
pow1 unpow-prod-down prod-diff
sqrt-pow1
add-exp-log pow-unpow pow-pow
expm1-log1p-u pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 83
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
22.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))

series141.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
90.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
10.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify118.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0308751
1889651
24109639
35002621

prune207.0ms

Filtered
95 candidates to 59 candidates (37.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New93295
Fresh022
Picked101
Done000
Total94498

Merged error: 0.2b

Counts
98 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.1b
(pow (atan2 b b) (* 1/4 (- b a)))
0.2b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
1.0b
(sqrt (atan2 b b))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
35×*-un-lft-identity
33×unpow-prod-up
31×add-cube-cbrt
27×prod-diff
19×pow-unpow
12×unpow-prod-down sqrt-prod
11×distribute-rgt-in distribute-lft-in
pow1
add-exp-log pow-pow
sqrt-pow1 associate-*r*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
sub-neg pow1/2 associate-*l*
pow-to-exp pow-exp distribute-lft-out-- difference-of-squares sqr-pow
rem-sqrt-square *-commutative sqrt-pow2 pow-sub unswap-sqr
Counts
4 → 120
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
8.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
23.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
2.0ms
(sqrt (atan2 b b))

series201.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
20.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
142.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
11.0ms
(sqrt (atan2 b b))

simplify58.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
06041245
120351031
25001997

prune402.0ms

Filtered
132 candidates to 74 candidates (43.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1302132
Fresh213
Picked101
Done000
Total1333136

Merged error: 0.2b

Counts
136 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (atan2 b b) (* 1/4 (- b a)))
0.2b
(sin (* (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))) (pow (atan2 b b) (* 1/4 (- b a)))))
1.0b
(sqrt (atan2 b b))
5.7b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
36×*-un-lft-identity
33×unpow-prod-up
32×add-cube-cbrt
27×prod-diff
24×log-prod
19×pow-unpow
13×log-pow
12×unpow-prod-down sqrt-prod
11×distribute-rgt-in distribute-lft-in
10×pow1
add-exp-log
pow-pow
sqrt-pow1 associate-*r*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
sub-neg pow1/2 rem-log-exp associate-*l*
pow-to-exp pow-exp distribute-lft-out-- difference-of-squares sqr-pow
rem-sqrt-square log-div *-commutative sqrt-pow2 pow-sub unswap-sqr
Counts
4 → 126
Calls
4 calls:
8.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
29.0ms
(sin (* (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))) (pow (atan2 b b) (* 1/4 (- b a)))))
2.0ms
(sqrt (atan2 b b))
10.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
136.0ms
(sin (* (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a)))) (pow (atan2 b b) (* 1/4 (- b a)))))
10.0ms
(sqrt (atan2 b b))
84.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify53.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
06591379
119511131
250011102

prune322.0ms

Filtered
138 candidates to 83 candidates (39.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1371138
Fresh022
Picked101
Done000
Total1383141

Merged error: 0.2b

Counts
141 → 3

regimes39.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
095
195

end0.0ms

sample2.0s

Algorithm
intervals
Results
829.0ms1899×body10240exit
455.0ms7987×body80valid
377.0ms9990×body80nan
9.0msbody5120valid
2.0msbody2560valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody640valid
0.0msbody160valid