Details

Time bar (total: 4.4s)

sample333.0ms

Algorithm
intervals
Results
33.0ms71×body10240exit
17.0ms255×body80valid
11.0ms293×body80nan
1.0msbody640valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516005
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

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
pow-pow add-cbrt-cube add-log-exp
unpow-prod-up 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 → 48
Calls
3 calls:
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(sqrt (atan2 b b))

series120.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(pow (sqrt (atan2 b b)) (- b a))
64.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
31.0ms
(sqrt (atan2 b b))

simplify47.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21342292
35002290

prune104.0ms

Filtered
57 candidates to 36 candidates (36.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 0.2b

Counts
58 → 3

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
15×sqrt-prod
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
pow1 unpow-prod-down
sqrt-pow1
add-exp-log pow-unpow pow-pow
pow1/2 add-cbrt-cube add-log-exp
unpow-prod-up rem-sqrt-square
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 66
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
15.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:
31.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))))
13.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify69.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0201521
1574477
22328466
35001466

prune176.0ms

Filtered
78 candidates to 50 candidates (35.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New76278
Fresh022
Picked101
Done000
Total77481

Merged error: 0.2b

Counts
81 → 4

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×pow-unpow
17×*-un-lft-identity
13×add-cube-cbrt
12×unpow-prod-down sqrt-prod
pow1
unpow-prod-up add-exp-log pow-pow
sqrt-pow1 associate-*r*
add-cbrt-cube add-log-exp
sub-neg pow1/2 associate-*l*
distribute-rgt-in pow-to-exp distribute-lft-in pow-exp distribute-lft-out-- difference-of-squares sqr-pow
rem-sqrt-square *-commutative sqrt-pow2 pow-sub unswap-sqr
Counts
4 → 85
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
7.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
11.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
2.0ms
(sqrt (atan2 b b))

series202.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
21.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
143.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
11.0ms
(sqrt (atan2 b b))

simplify42.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0372691
11315642
25001618

prune223.0ms

Filtered
97 candidates to 62 candidates (36.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New95297
Fresh213
Picked101
Done000
Total983101

Merged error: 0.2b

Counts
101 → 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)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×pow-unpow
18×*-un-lft-identity
15×log-prod
14×add-cube-cbrt
13×log-pow
12×unpow-prod-down sqrt-prod
10×pow1
add-exp-log
unpow-prod-up pow-pow
sqrt-pow1 associate-*r*
add-cbrt-cube add-log-exp
sub-neg pow1/2 rem-log-exp associate-*l*
distribute-rgt-in pow-to-exp distribute-lft-in pow-exp distribute-lft-out-- difference-of-squares sqr-pow
rem-sqrt-square log-div *-commutative sqrt-pow2 pow-sub unswap-sqr
Counts
4 → 91
Calls
4 calls:
6.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
18.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))
7.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series254.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)))))
13.0ms
(sqrt (atan2 b b))
85.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify40.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0403801
11211729
25002708

prune276.0ms

Filtered
103 candidates to 70 candidates (32.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1021103
Fresh022
Picked101
Done000
Total1033106

Merged error: 0.2b

Counts
106 → 3

regimes42.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.1s

Algorithm
intervals
Results
849.0ms1899×body10240exit
465.0ms7987×body80valid
384.0ms9990×body80nan
9.0msbody5120valid
3.0msbody2560valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody640valid
0.0msbody160valid