Details

Time bar (total: 4.5s)

sample344.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
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))

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

series108.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune129.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod
78×unpow-prod-down
76×add-sqr-sqrt
25×unswap-sqr
23×swap-sqr
22×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r* associate-*l*
14×sqr-pow
12×unpow-prod-up
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
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 → 136
Calls
4 calls:
8.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
27.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))

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

simplify52.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02801645
111691507
250011483

prune300.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
0.0b
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))
0.0b
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
1.0b
(sqrt (atan2 b b))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
48×unpow-prod-down
21×sqrt-prod
19×cbrt-prod
16×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
add-exp-log
pow1
unpow-prod-up pow-exp add-cbrt-cube add-log-exp sqr-pow
pow-unpow
pow-to-exp sub-neg
rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow1/3
Counts
4 → 78
Calls
4 calls:
13.0ms
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
6.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))
8.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
1.0ms
(sqrt (atan2 b b))

series194.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(sin (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)))
37.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6))
61.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 6)
10.0ms
(sqrt (atan2 b b))

simplify193.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0298904
1820821
24297792
35001792

prune249.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0118

end0.0ms

sample2.6s

Algorithm
intervals
Results
990.0ms1838×body10240exit
606.0ms9911×body80nan
586.0ms7994×body80valid
6.0msbody5120valid
2.0msbody1280valid
1.0msbody320valid