Details

Time bar (total: 2.8s)

sample337.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516185
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

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

series113.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
07088
115583
231978
371076
4188876
5500176

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

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

rewrite6.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:
3.0ms
(sin (pow (atan2 b b) (/ (- b a) 2)))
3.0ms
(pow (atan2 b b) (/ (- b a) 2))

series82.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 4 (43.0ms)

IterNodesCost
09475
123673
261461
3143059
4469857
5500157

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
794.0ms1803×body10240exit
465.0ms7991×body80valid
344.0ms9611×body80nan
6.0msbody5120valid
3.0msbody2560valid
1.0msbody1280valid
1.0msbody160valid
0.0msbody320valid