Details

Time bar (total: 4.0s)

sample65.0ms

Algorithm
intervals
Results
26.0ms56×body10240exit
14.0ms254×body80valid
10.0ms292×body80nan
1.0msbody320valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

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

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

series91.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune114.0ms

Filtered
57 candidates to 36 candidates (63.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 0.4b

Counts
58 → 3

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

rewrite13.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))
3.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series134.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
87.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))

simplify70.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune189.0ms

Filtered
78 candidates to 50 candidates (64.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh022
Picked101
Done000
Total76581

Merged error: 0.4b

Counts
81 → 5

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
15×log-prod sqrt-prod
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1 add-exp-log
add-cbrt-cube add-log-exp
rem-log-exp
unpow-prod-up rem-sqrt-square sqrt-pow1 pow1/2
pow-to-exp sub-neg log-div pow-exp log-pow pow-sub sqr-pow
Counts
4 → 60
Calls
4 calls:
4.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
4.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series188.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0204575
1466508
21757499
35001499

prune212.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh044
Picked101
Done000
Total71677

Merged error: 0.4b

Counts
77 → 6

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
15×log-prod sqrt-prod
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1 add-exp-log
add-cbrt-cube add-log-exp
rem-log-exp
unpow-prod-up rem-sqrt-square sqrt-pow1 pow1/2
pow-to-exp sub-neg log-div pow-exp log-pow pow-sub sqr-pow
Counts
4 → 60
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))
1.0ms
(sqrt (atan2 b b))
5.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series188.0ms

Counts
4 → 12
Calls
4 calls:
88.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))
9.0ms
(sqrt (atan2 b b))
81.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify58.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0211582
1479524
21807515
35003515

prune221.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh055
Picked011
Done000
Total72678

Merged error: 0.4b

Counts
78 → 6

regimes63.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.2s

Algorithm
intervals
Results
840.0ms1874×body10240exit
494.0ms9665×body80nan
457.0ms7983×body80valid
17.0msbody5120valid
1.0msbody2560valid
1.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid