Details

Time bar (total: 4.1s)

sample388.0ms

Algorithm
intervals
Results
45.0ms52×body10240exit
15.0ms296×body80nan
14.0ms255×body80valid
0.0msbody640valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite21.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)))
3.0ms
(sqrt (atan2 b b))

series112.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(pow (sqrt (atan2 b b)) (- b a))
73.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
17.0ms
(sqrt (atan2 b b))

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune127.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:
8.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))

series129.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (83.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))

series336.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (fabs (cbrt (atan2 b b))) (sqrt (cbrt (atan2 b b))))
101.0ms
(cbrt (atan2 b b))
104.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

prune233.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.2b

regimes80.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.1s

Algorithm
intervals
Results
750.0ms1795×body10240exit
441.0ms7992×body80valid
432.0ms9659×body80nan
4.0msbody2560valid
2.0msbody1280valid
0.0msbody160valid