Details

Time bar (total: 4.5s)

sample322.0ms

Algorithm
intervals
Results
28.0ms56×body10240exit
15.0ms254×body80valid
12.0ms292×body80nan
1.0msbody320valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(pow (sqrt (atan2 b b)) (- b a))
0.5b
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

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

series114.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)))
30.0ms
(sqrt (atan2 b b))

simplify83.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

prune137.0ms

Filtered
72 candidates to 43 candidates (59.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh000
Picked101
Done000
Total70373

Merged error: 0.4b

Counts
73 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.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:
7.0ms
(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))))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series135.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(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))

simplify121.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0308751
1889651
24114639
35002636

prune227.0ms

Filtered
95 candidates to 60 candidates (63.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New92395
Fresh022
Picked101
Done000
Total93598

Merged error: 0.4b

Counts
98 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
3.5b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite16.0ms

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

series193.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
13.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
84.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify110.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0337829
1838695
23652687
35002661

prune246.0ms

Filtered
89 candidates to 57 candidates (64.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New87289
Fresh044
Picked101
Done000
Total88694

Merged error: 0.4b

Counts
94 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (cbrt (pow (log (pow (sqrt (sqrt (atan2 b b))) (- b a))) 3)))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
3.5b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
24×log-prod
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
15×sqrt-prod
11×unpow-prod-up
unpow-prod-down prod-diff
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow-to-exp sub-neg log-div pow-exp log-pow pow-sub sqr-pow
Counts
4 → 77
Calls
4 calls:
3.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (cbrt (pow (log (pow (sqrt (sqrt (atan2 b b))) (- b a))) 3)))))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
9.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series189.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (cbrt (pow (log (pow (sqrt (sqrt (atan2 b b))) (- b a))) 3)))))
10.0ms
(sqrt (atan2 b b))
14.0ms
(sqrt (atan2 b b))
78.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify108.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0343840
1850715
23680707
35002681

prune260.0ms

Filtered
89 candidates to 57 candidates (64.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh055
Picked011
Done000
Total89695

Merged error: 0.4b

Counts
95 → 6

regimes67.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
01516
11516

end0.0ms

sample2.0s

Algorithm
intervals
Results
835.0ms1874×body10240exit
450.0ms7983×body80valid
377.0ms9665×body80nan
18.0msbody5120valid
1.0msbody640valid
1.0msbody2560valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid