Details

Time bar (total: 4.8s)

sample344.0ms

Algorithm
intervals
Results
31.0ms60×body10240exit
20.0ms299×body80nan
18.0ms256×body80valid

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

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

rewrite27.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:
7.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series103.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune154.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite63.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:
11.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))

series144.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
37.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify63.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04512193
118801915
250021883

prune436.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt b)
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 pow1/2
pow1/3
Counts
4 → 58
Calls
4 calls:
0.0ms
(cbrt b)
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series211.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt b)
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify132.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
061202
1104196
2218194
3725194
44173194
55001194

prune383.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03330
14530
24730
34730

end0.0ms

sample2.6s

Algorithm
intervals
Results
992.0ms1838×body10240exit
602.0ms9911×body80nan
580.0ms7994×body80valid
6.0msbody5120valid
2.0msbody1280valid
1.0msbody320valid