Details

Time bar (total: 4.6s)

sample331.0ms

Algorithm
intervals
Results
32.0ms71×body10240exit
16.0ms255×body80valid
10.0ms293×body80nan
1.0msbody640valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516185
650015

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

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

rewrite31.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))
18.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(sqrt (atan2 b b))

series109.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(pow (sqrt (atan2 b b)) (- b a))
66.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
18.0ms
(sqrt (atan2 b b))

simplify79.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0255514
1714433
22698425
35002408

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

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

rewrite36.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))
24.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))

series139.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
91.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify124.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0308751
1889651
24109639
35002621

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

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

rewrite47.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)))
26.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:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
24.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
138.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
11.0ms
(sqrt (atan2 b b))

simplify55.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
06041245
120351031
25001997

prune265.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.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.1b
(pow (atan2 b b) (* 1/4 (- b a)))
0.2b
(sin (* (expm1 (log1p (pow (sqrt (sqrt (atan2 b b))) (- b a)))) (pow (atan2 b b) (* 1/4 (- b a)))))
1.0b
(sqrt (atan2 b b))

rewrite33.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))
9.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
11.0ms
(sin (* (expm1 (log1p (pow (sqrt (sqrt (atan2 b b))) (- b a)))) (pow (atan2 b b) (* 1/4 (- b a)))))
2.0ms
(sqrt (atan2 b b))

series235.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
23.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
171.0ms
(sin (* (expm1 (log1p (pow (sqrt (sqrt (atan2 b b))) (- b a)))) (pow (atan2 b b) (* 1/4 (- b a)))))
14.0ms
(sqrt (atan2 b b))

simplify56.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
06051269
120391051
250011017

prune292.0ms

Filtered
132 candidates to 74 candidates (43.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1311132
Fresh022
Picked101
Done000
Total1323135

Merged error: 0.2b

Counts
135 → 3

regimes41.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
834.0ms1899×body10240exit
457.0ms7987×body80valid
364.0ms9990×body80nan
9.0msbody5120valid
2.0msbody2560valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody640valid
0.0msbody160valid