Details

Time bar (total: 10.0m)

sample98.0ms

Algorithm
intervals
Results
38.0ms72×body10240exit
22.0ms330×body80nan
21.0ms256×body80valid

simplify54.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.0b

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

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

series93.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune155.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 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))
1.3b
(log (sin (pow (sqrt (atan2 b b)) (- b a))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
17×*-un-lft-identity
15×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1
add-exp-log unpow-prod-down sqrt-prod
pow-unpow
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
log-prod pow-pow
sqrt-pow1 pow1/2
pow-to-exp sub-neg rem-sqrt-square rem-log-exp pow-exp log-pow sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 77
Calls
4 calls:
6.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))
4.0ms
(log (sin (pow (sqrt (atan2 b b)) (- b a))))

series180.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
20.0ms
(pow (sqrt (atan2 b b)) (- b a))
10.0ms
(sqrt (atan2 b b))
88.0ms
(log (sin (pow (sqrt (atan2 b b)) (- b a))))

simplify86.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0284676
1789575
23017566
35002549

prune223.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series151.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
42.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify65.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04512193
118801915
250021883

prune416.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
2 → 24
Calls
2 calls:
9.0ms
(sin (* (pow (sqrt 1) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))
1.0ms
(sqrt (atan2 b b))

series6.9m

Counts
2 → 6
Calls
2 calls:
6.9m
(sin (* (pow (sqrt 1) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))
11.0ms
(sqrt (atan2 b b))

simplify34.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
097231
1247206
2926199
35001197

prune102.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

regimes29.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
01811
11811

end0.0ms

sample2.4s

Algorithm
intervals
Results
734.0ms1735×body10240exit
647.0ms7992×body80valid
616.0ms9800×body80nan
8.0msbody5120valid
4.0msbody2560valid
0.0msbody640valid
0.0msbody160valid

end3.0m