Details

Time bar (total: 10.0m)

sample61.0ms

Algorithm
intervals
Results
21.0ms48×body10240exit
14.0ms256×body80valid
11.0ms321×body80nan

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516185
650015

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

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

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
(sin (pow (sqrt (atan2 b b)) (- b a)))
9.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series94.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0255514
1714433
22697425
35001408

prune118.0ms

Filtered
72 candidates to 43 candidates (59.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh000
Picked101
Done000
Total71273

Merged error: 0.0b

Counts
73 → 2

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(sin (pow (pow (sqrt (atan2 b b)) (- b a)) 1))
0.0b
(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:
6.0ms
(sin (pow (pow (sqrt (atan2 b b)) (- b a)) 1))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series95.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0259526
1755442
22885434
35001417

prune134.0ms

Filtered
72 candidates to 44 candidates (61.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh101
Picked011
Done000
Total72274

Merged error: 0.0b

Counts
74 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
118×add-sqr-sqrt
88×*-un-lft-identity
84×sqrt-prod
78×unpow-prod-down
52×add-cube-cbrt
48×unpow-prod-up
46×pow-unpow
44×pow-pow
39×pow1
36×sqrt-pow1 prod-diff
32×swap-sqr
25×pow-prod-up unswap-sqr
24×associate-*r* associate-*l*
20×pow1/2
19×pow-prod-down
16×add-exp-log
15×pow-sqr
14×distribute-lft-out-- sqr-pow
10×sqrt-pow2
prod-exp
pow-to-exp sub-neg pow-exp add-cbrt-cube difference-of-squares
expm1-log1p-u log1p-expm1-u pow-sub add-log-exp
rem-sqrt-square
pow2 frac-times pow-plus associate-*r/ associate-*l/ *-commutative cbrt-unprod
Counts
4 → 228
Calls
4 calls:
26.0ms
(sin (pow (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))) 1))
38.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series155.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(sin (pow (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))) 1))
43.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))

simplify93.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06222331
127842071
250012042

prune420.0ms

Filtered
240 candidates to 111 candidates (46.3%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New2391240
Fresh000
Picked101
Done101
Total2411242

Merged error: 0.0b

Counts
242 → 1

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.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:
30.0ms
(sin (pow (* (pow (sqrt 1) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 1))
2.0ms
(sqrt (atan2 b b))

series7.0m

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

simplify35.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0100243
1257216
2952209
35002207

prune102.0ms

Filtered
30 candidates to 24 candidates (80.0%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New30030
Fresh000
Picked011
Done000
Total30131

Merged error: 0.0b

Counts
31 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01912
11912

end0.0ms

sample1.8s

Algorithm
intervals
Results
740.0ms1823×body10240exit
427.0ms7992×body80valid
336.0ms9852×body80nan
3.0msbody5120valid
1.0msbody640valid
1.0msbody160valid
0.0msbody320valid

end3.0m