Details

Time bar (total: 3.4s)

sample64.0ms

Algorithm
intervals
Results
21.0ms48×body10240exit
15.0ms256×body80valid
12.0ms321×body80nan

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516005
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))

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

series99.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21341292
35002290

prune102.0ms

Filtered
57 candidates to 36 candidates (63.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New55257
Fresh000
Picked101
Done000
Total56258

Merged error: 0.0b

Counts
58 → 2

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

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

series94.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0152334
1453305
21543299
35002297

prune109.0ms

Filtered
57 candidates to 37 candidates (64.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh011
Picked011
Done000
Total57259

Merged error: 0.0b

Counts
59 → 2

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
94×add-sqr-sqrt
84×sqrt-prod
78×unpow-prod-down
64×*-un-lft-identity
46×pow-unpow
44×pow-pow
39×pow1
36×sqrt-pow1
28×add-cube-cbrt
25×pow-prod-up unswap-sqr
23×swap-sqr
20×pow1/2
19×pow-prod-down
16×add-exp-log
15×associate-*r* associate-*l* pow-sqr
14×distribute-lft-out-- sqr-pow
12×unpow-prod-up
10×sqrt-pow2
prod-exp
pow-to-exp sub-neg pow-exp add-cbrt-cube difference-of-squares
pow-sub add-log-exp
rem-sqrt-square
pow2 frac-times pow-plus associate-*r/ associate-*l/ *-commutative cbrt-unprod
Counts
4 → 193
Calls
4 calls:
14.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
26.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))

series156.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
39.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
14.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify73.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04351771
118891651
250011623

prune272.0ms

Filtered
205 candidates to 85 candidates (41.5%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New2041205
Fresh000
Picked101
Done101
Total2061207

Merged error: 0.0b

Counts
207 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

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

series90.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(sin (pow (pow (sqrt (sqrt (atan2 b b))) 1) (* 2 (- b a))))
13.0ms
(sqrt (atan2 b b))

simplify35.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
089170
1222152
2833145
35001145

prune72.0ms

Filtered
26 candidates to 20 candidates (76.9%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh000
Picked011
Done000
Total26127

Merged error: 0.0b

Counts
27 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample2.0s

Algorithm
intervals
Results
806.0ms1823×body10240exit
462.0ms7992×body80valid
364.0ms9852×body80nan
3.0msbody5120valid
1.0msbody320valid
1.0msbody640valid
1.0msbody160valid