Details

Time bar (total: 4.1s)

sample309.0ms

Algorithm
intervals
Results
26.0ms57×body10240exit
16.0ms256×body80valid
12.0ms336×body80nan

simplify60.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.1b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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:
5.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
4.0ms
(sqrt (atan2 b b))

series109.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
22.0ms
(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
22702425
35002408

prune126.0ms

Filtered
72 candidates to 43 candidates (59.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.0b

Counts
73 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
84×sqrt-prod
78×unpow-prod-down
48×unpow-prod-up
46×add-cube-cbrt *-un-lft-identity
36×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
16×add-exp-log
14×sqr-pow
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
expm1-log1p-u log1p-expm1-u pow-sub add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 171
Calls
4 calls:
22.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (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))))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series148.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
84.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
14.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify65.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04512195
118801915
250021883

prune350.0ms

Filtered
183 candidates to 96 candidates (52.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1812183
Fresh033
Picked101
Done000
Total1825187

Merged error: 0.0b

Counts
187 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×unpow-prod-up
18×prod-diff
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log unpow-prod-down
expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow-unpow pow-pow pow-exp sqr-pow
Counts
2 → 48
Calls
2 calls:
5.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
5.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series83.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
20.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

simplify102.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0324582
1913448
23678428
35001425

prune79.0ms

Filtered
54 candidates to 27 candidates (50.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New53154
Fresh224
Picked011
Done000
Total55459

Merged error: 0.0b

Counts
59 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (pow (atan2 b b) (- b a)) 3/2)
0.0b
(cbrt (pow (pow (atan2 b b) (- b a)) 3/2))
0.0b
(sin (cbrt (pow (pow (atan2 b b) (- b a)) 3/2)))
0.0b
(pow (atan2 b b) (- b a))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
45×unpow-prod-down
33×unpow-prod-up
32×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
27×prod-diff
22×cbrt-prod
pow-unpow
add-exp-log
pow1 pow-exp sqr-pow
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp sub-neg
pow-pow
pow1/3 distribute-lft-out-- pow-sub difference-of-squares
Counts
4 → 110
Calls
4 calls:
6.0ms
(pow (pow (atan2 b b) (- b a)) 3/2)
6.0ms
(cbrt (pow (pow (atan2 b b) (- b a)) 3/2))
7.0ms
(sin (cbrt (pow (pow (atan2 b b) (- b a)) 3/2)))
5.0ms
(pow (atan2 b b) (- b a))

series160.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(pow (pow (atan2 b b) (- b a)) 3/2)
32.0ms
(cbrt (pow (pow (atan2 b b) (- b a)) 3/2))
67.0ms
(sin (cbrt (pow (pow (atan2 b b) (- b a)) 3/2)))
21.0ms
(pow (atan2 b b) (- b a))

simplify44.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
04201161
11181957
25001938

prune238.0ms

Filtered
122 candidates to 77 candidates (63.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1211122
Fresh112
Picked101
Done011
Total1233126

Merged error: 0.0b

Counts
126 → 3

regimes39.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
0119

end0.0ms

sample2.0s

Algorithm
intervals
Results
806.0ms1790×body10240exit
454.0ms7992×body80valid
360.0ms9874×body80nan
7.0msbody5120valid
1.0msbody2560valid
1.0msbody160valid
1.0msbody1280valid