Details

Time bar (total: 3.9s)

sample68.0ms

Algorithm
intervals
Results
21.0ms52×body10240exit
16.0ms255×body80valid
13.0ms296×body80nan
0.0msbody640valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series97.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(pow (sqrt (atan2 b b)) (- b a))
65.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
11.0ms
(sqrt (atan2 b b))

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune126.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
0.2b
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
23×*-un-lft-identity
19×pow-unpow
17×add-cube-cbrt
15×times-frac
sqrt-prod
pow1
unpow-prod-down
add-exp-log
add-cbrt-cube add-log-exp
pow-pow sqrt-pow1 pow1/2 distribute-lft-out-- difference-of-squares
rem-sqrt-square
pow-to-exp div-sub pow-exp sqrt-pow2 div-inv pow-sub sqr-pow
Counts
4 → 73
Calls
4 calls:
11.0ms
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
30.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series132.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
85.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
11.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify87.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0257573
1807532
23637517
35001513

prune230.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize22.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (fabs (cbrt (atan2 b b))) (sqrt (cbrt (atan2 b b))))
1.0b
(cbrt (atan2 b b))
1.0b
(cbrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity sqrt-prod
10×cbrt-prod
associate-*r*
pow1
add-exp-log add-cbrt-cube
add-log-exp
associate-*l* unswap-sqr
pow1/3
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 61
Calls
4 calls:
11.0ms
(* (fabs (cbrt (atan2 b b))) (sqrt (cbrt (atan2 b b))))
1.0ms
(cbrt (atan2 b b))
1.0ms
(cbrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series348.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(* (fabs (cbrt (atan2 b b))) (sqrt (cbrt (atan2 b b))))
104.0ms
(cbrt (atan2 b b))
107.0ms
(cbrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify47.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0115428
1396397
21305390
35001385

prune238.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.2b

regimes78.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
01717
11717

end0.0ms

sample2.3s

Algorithm
intervals
Results
753.0ms1795×body10240exit
575.0ms9659×body80nan
458.0ms7992×body80valid
4.0msbody2560valid
2.0msbody1280valid
0.0msbody160valid