Details

Time bar (total: 2.8s)

sample319.0ms

Algorithm
intervals
Results
31.0ms62×body10240exit
16.0ms256×body80valid
12.0ms337×body80nan

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

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
unpow-prod-up pow1/2
pow-to-exp sub-neg pow-pow sqrt-pow2 pow-sub sqr-pow
Counts
3 → 8
Calls
3 calls:
3.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series112.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
06888
114584
228378
361578
4171878
5500278

prune31.0ms

Filtered
17 candidates to 8 candidates (47.1%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New16117
Fresh000
Picked101
Done000
Total17118

Merged error: 0.0b

Counts
18 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(sin (pow (atan2 b b) (/ (- b a) 2)))
0.0b
(pow (atan2 b b) (/ (- b a) 2))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow-to-exp pow-unpow div-sub div-inv pow-sub sqr-pow
Counts
2 → 4
Calls
2 calls:
2.0ms
(sin (pow (atan2 b b) (/ (- b a) 2)))
3.0ms
(pow (atan2 b b) (/ (- b a) 2))

series81.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(sin (pow (atan2 b b) (/ (- b a) 2)))
20.0ms
(pow (atan2 b b) (/ (- b a) 2))

simplify115.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 4 (38.0ms)

IterNodesCost
09275
122475
254661
3115261
4420159
5500259

prune19.0ms

Filtered
10 candidates to 6 candidates (60.0%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New10010
Fresh000
Picked011
Done000
Total10111

Merged error: 0.0b

Counts
11 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
085

end0.0ms

sample2.0s

Algorithm
intervals
Results
782.0ms1803×body10240exit
456.0ms7991×body80valid
362.0ms9611×body80nan
6.0msbody5120valid
3.0msbody2560valid
1.0msbody1280valid
1.0msbody160valid
0.0msbody320valid