Details

Time bar (total: 2.5s)

sample74.0ms

Algorithm
intervals
Results
28.0ms62×body10240exit
15.0ms337×body80nan
14.0ms256×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516005
650015

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

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

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

series94.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
06888
114584
228378
361578
4176178
5500178

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

rewrite8.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)))
6.0ms
(pow (atan2 b b) (/ (- b a) 2))

series78.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 4 (38.0ms)

IterNodesCost
09275
122475
254661
3115261
4420159
5500259

prune21.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
770.0ms1803×body10240exit
461.0ms7991×body80valid
364.0ms9611×body80nan
6.0msbody5120valid
2.0msbody2560valid
1.0msbody1280valid
0.0msbody160valid
0.0msbody320valid