Details

Time bar (total: 4.1s)

sample71.0ms

Algorithm
intervals
Results
29.0ms72×body10240exit
14.0ms256×body80valid
12.0ms348×body80nan

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune3.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.0b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune131.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: 0b

Counts
58 → 3

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(sin (pow (atan2 b b) (* 1/2 (- b a))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
1 → 7
Calls
1 calls:
3.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))

series64.0ms

Counts
1 → 3
Calls
1 calls:
64.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))

simplify72.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
06589
115878
241370
386169
4236869
5500169

prune30.0ms

Filtered
10 candidates to 8 candidates (80.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New9110
Fresh112
Picked011
Done000
Total10313

Merged error: 0b

Counts
13 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (log (exp (pow (sqrt (atan2 b b)) (- b a)))))
0.0b
(log (exp (pow (sqrt (atan2 b b)) (- b a))))
0.0b
(exp (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
24×exp-prod
14×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity log-pow
12×unpow-prod-down
sqrt-prod
pow1 log-prod
add-exp-log add-log-exp
unpow-prod-up add-cbrt-cube
sin-sum
sub-neg rem-log-exp sqr-pow
rem-sqrt-square sqrt-pow1 pow1/2 rem-exp-log
Counts
4 → 68
Calls
4 calls:
6.0ms
(sin (log (exp (pow (sqrt (atan2 b b)) (- b a)))))
4.0ms
(log (exp (pow (sqrt (atan2 b b)) (- b a))))
8.0ms
(exp (pow (sqrt (atan2 b b)) (- b a)))
1.0ms
(sqrt (atan2 b b))

series121.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(sin (log (exp (pow (sqrt (atan2 b b)) (- b a)))))
19.0ms
(log (exp (pow (sqrt (atan2 b b)) (- b a))))
32.0ms
(exp (pow (sqrt (atan2 b b)) (- b a)))
10.0ms
(sqrt (atan2 b b))

simplify106.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 4 (100.0ms)

IterNodesCost
0180575
1378514
2843499
32857486
45001482

prune213.0ms

Filtered
80 candidates to 55 candidates (68.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New79180
Fresh101
Picked011
Done011
Total80383

Merged error: 0b

Counts
83 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (* (pow (sqrt (cbrt (atan2 b b))) (- b a)) (pow (fabs (cbrt (atan2 b b))) (* 2 (/ (- b a) 2)))))
0.0b
(* (pow (sqrt (cbrt (atan2 b b))) (- b a)) (pow (fabs (cbrt (atan2 b b))) (* 2 (/ (- b a) 2))))
1.0b
(cbrt (atan2 b b))
1.0b
(cbrt (atan2 b b))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
26×unpow-prod-down
18×*-un-lft-identity
16×add-exp-log
15×associate-*l* unswap-sqr
12×cbrt-prod add-cube-cbrt sqrt-prod
10×associate-*r* sqr-pow
prod-exp
pow1 pow-to-exp pow-exp add-cbrt-cube
pow-prod-down
pow-unpow sqrt-pow2 add-log-exp
unpow-prod-up times-frac pow1/3
sub-neg associate-*l/ *-commutative cbrt-unprod distribute-lft-out-- pow-sub
Counts
4 → 90
Calls
4 calls:
11.0ms
(sin (* (pow (sqrt (cbrt (atan2 b b))) (- b a)) (pow (fabs (cbrt (atan2 b b))) (* 2 (/ (- b a) 2)))))
43.0ms
(* (pow (sqrt (cbrt (atan2 b b))) (- b a)) (pow (fabs (cbrt (atan2 b b))) (* 2 (/ (- b a) 2))))
1.0ms
(cbrt (atan2 b b))
1.0ms
(cbrt (atan2 b b))

series422.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(sin (* (pow (sqrt (cbrt (atan2 b b))) (- b a)) (pow (fabs (cbrt (atan2 b b))) (* 2 (/ (- b a) 2)))))
63.0ms
(* (pow (sqrt (cbrt (atan2 b b))) (- b a)) (pow (fabs (cbrt (atan2 b b))) (* 2 (/ (- b a) 2))))
112.0ms
(cbrt (atan2 b b))
105.0ms
(cbrt (atan2 b b))

simplify48.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03281449
112511362
250011323

prune349.0ms

Filtered
102 candidates to 73 candidates (71.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done022
Total1023105

Merged error: 0b

Counts
105 → 3

regimes61.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
763.0ms1803×body10240exit
503.0ms9775×body80nan
444.0ms7988×body80valid
2.0msbody2560valid
1.0msbody1280valid
1.0msbody640valid
1.0msbody160valid
0.0msbody320valid