Details

Time bar (total: 4.2s)

sample320.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

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

series111.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
74.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
18.0ms
(sqrt (atan2 b b))

simplify75.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

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

series91.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

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

rewrite40.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))
22.0ms
(sin (cbrt (pow (pow (sqrt (atan2 b b)) (- b a)) 3)))
1.0ms
(sqrt (atan2 b b))

series131.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(pow (pow (sqrt (atan2 b b)) (- b a)) 3)
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
61.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

prune280.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

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

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

series156.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
88.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))
11.0ms
(sqrt (atan2 b b))

simplify55.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05001276
116031103
250011090

prune296.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

regimes36.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02024
12024

end0.0ms

sample2.0s

Algorithm
intervals
Results
725.0ms1692×body10240exit
456.0ms7993×body80valid
453.0ms9614×body80nan
1.0msbody640valid
1.0msbody160valid
1.0msbody1280valid