Details

Time bar (total: 3.9s)

sample58.0ms

Algorithm
intervals
Results
19.0ms38×body10240exit
14.0ms255×body80valid
12.0ms263×body80nan
0.0msbody160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

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

series91.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

prune148.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
11×unpow-prod-up
10×unpow-prod-down
prod-diff
log-pow
pow1 exp-prod sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow-exp distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 64
Calls
3 calls:
7.0ms
(pow (log (exp (sqrt (atan2 b b)))) (- b a))
11.0ms
(sin (pow (log (exp (sqrt (atan2 b b)))) (- b a)))
1.0ms
(sqrt (atan2 b b))

series90.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(pow (log (exp (sqrt (atan2 b b)))) (- b a))
60.0ms
(sin (pow (log (exp (sqrt (atan2 b b)))) (- b a)))
10.0ms
(sqrt (atan2 b b))

simplify74.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0286650
1755540
22683523
35002506

prune175.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
39×unpow-prod-down
36×add-sqr-sqrt
35×*-un-lft-identity
33×unpow-prod-up add-cube-cbrt
27×prod-diff
21×cube-prod
12×sqrt-prod
pow-unpow
pow1 add-exp-log
pow-exp add-cbrt-cube
expm1-log1p-u pow-pow log1p-expm1-u add-log-exp sqr-pow
pow-to-exp sub-neg
sqrt-pow1 pow1/2 pow-sub
cube-div cube-mult rem-sqrt-square unpow3 sqrt-pow2 distribute-lft-out-- rem-cube-cbrt difference-of-squares
Counts
4 → 127
Calls
4 calls:
8.0ms
(pow (pow (sqrt (atan2 b b)) (- b a)) 3)
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
21.0ms
(sin (cbrt (pow (pow (sqrt (atan2 b b)) (- b a)) 3)))
1.0ms
(sqrt (atan2 b b))

series128.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(pow (pow (sqrt (atan2 b b)) (- b a)) 3)
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
57.0ms
(sin (cbrt (pow (pow (sqrt (atan2 b b)) (- b a)) 3)))
11.0ms
(sqrt (atan2 b b))

simplify50.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04731293
115811087
250031072

prune281.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
42×unpow-prod-down
29×add-sqr-sqrt
27×add-cube-cbrt *-un-lft-identity
24×cube-prod sqrt-prod
22×unpow-prod-up
18×prod-diff
pow1 add-exp-log
add-cbrt-cube
expm1-log1p-u pow-exp log1p-expm1-u add-log-exp
pow-unpow sqr-pow
pow-to-exp sub-neg rem-sqrt-square sqrt-pow1 pow1/2
cube-div cube-mult pow-pow unpow3 pow-sub rem-cube-cbrt
Counts
4 → 109
Calls
4 calls:
10.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
13.0ms
(sin (cbrt (* (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3) (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series158.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
89.0ms
(sin (cbrt (* (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3) (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify52.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05001276
116031103
250011090

prune301.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

regimes31.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
02024
12024

end0.0ms

sample2.0s

Algorithm
intervals
Results
747.0ms1692×body10240exit
462.0ms9614×body80nan
448.0ms7993×body80valid
1.0msbody640valid
1.0msbody160valid
1.0msbody1280valid