Details

Time bar (total: 10.0m)

sample320.0ms

Algorithm
intervals
Results
25.0ms48×body10240exit
18.0ms256×body80valid
13.0ms321×body80nan

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516005
650015

prune4.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

localize13.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
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)))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
4.0ms
(sqrt (atan2 b b))

series114.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
23.0ms
(pow (sqrt (atan2 b b)) (- b a))
31.0ms
(sqrt (atan2 b b))

simplify47.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21341292
35002290

prune105.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 (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)))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series97.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0148324
1412298
21341292
35002290

prune100.0ms

Filtered
57 candidates to 36 candidates (63.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New56157
Fresh101
Picked011
Done000
Total57259

Merged error: 0.0b

Counts
59 → 2

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

rewrite57.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:
15.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
29.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))

series155.0ms

Counts
4 → 12
Calls
4 calls:
91.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))

simplify75.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04351771
118891651
250011623

prune284.0ms

Filtered
205 candidates to 84 candidates (41.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New2041205
Fresh000
Picked101
Done101
Total2061207

Merged error: 0.0b

Counts
207 → 1

localize17.0ms

Local error

Found 2 expressions with local error:

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

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

series7.0m

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

simplify33.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
093211
1238185
2877177
35001177

prune80.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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02112
12312
22312

end0.0ms

sample2.0s

Algorithm
intervals
Results
791.0ms1823×body10240exit
471.0ms7992×body80valid
374.0ms9852×body80nan
3.0msbody5120valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

end2.9m