Details

Time bar (total: 8.1s)

analyze1.5s (18.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
9.4%90.4%0.2%6
17.2%82.7%0.2%7
19.5%80.3%0.2%8
30.8%69%0.2%9
35.5%64.3%0.2%10
42.4%57.4%0.2%11
47.1%52.7%0.2%12
49%50.8%0.2%13
50.1%49.7%0.2%14

sample168.0ms (2.1%)

Algorithm
intervals
Results
79.0ms95×body1280invalid
29.0ms241×body80valid
19.0ms37×body640invalid
7.0ms18×body320invalid
4.0msbody640valid
3.0msbody1280valid
3.0ms11×body160invalid
1.0ms10×body80invalid
1.0msbody320valid
0.0msbody160valid

simplify495.0ms (6.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0493436
1493436

prune20.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.5b

Counts
2 → 2

localize40.0ms (0.5%)

Local error

Found 4 expressions with local error:

1.0b
(* (atan2 x.im x.re) y.im)
28.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls

4 calls:

8.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
3.0ms
(* (atan2 x.im x.re) y.im)

series87.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

65.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
10.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify46.0ms (0.6%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05069689

prune153.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New62668
Fresh011
Picked101
Done000
Total63770

Merged error: 21.1b

Counts
70 → 7

localize30.0ms (0.4%)

Local error

Found 4 expressions with local error:

28.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
31.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
31.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
sin-sum sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 39
Calls

4 calls:

6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series171.0ms (2.1%)

Counts
4 → 12
Calls

4 calls:

56.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
55.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
54.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify43.0ms (0.5%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05054851

prune127.0ms (1.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New48351
Fresh246
Picked011
Done000
Total50858

Merged error: 21.1b

Counts
58 → 8

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.0b
(* (atan2 x.im x.re) y.im)
28.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* y.re (atan2 x.im x.re))))

rewrite18.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls

4 calls:

6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* y.re (atan2 x.im x.re))))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
3.0ms
(* (atan2 x.im x.re) y.im)

series73.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

56.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* y.re (atan2 x.im x.re))))
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify46.0ms (0.6%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05069689

prune136.0ms (1.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh066
Picked011
Done011
Total68876

Merged error: 21.1b

Counts
76 → 8

localize27.0ms (0.3%)

Local error

Found 4 expressions with local error:

12.1b
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
28.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite20.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log sqrt-div add-cbrt-cube add-log-exp
unpow-prod-down cube-prod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cube-mult sin-sum pow1/3 unpow3 rem-cbrt-cube sqr-pow
Counts
4 → 59
Calls

4 calls:

6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
5.0ms
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series122.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

57.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
54.0ms
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify48.0ms (0.6%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
051441134

prune136.0ms (1.7%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New70171
Fresh055
Picked011
Done022
Total70979

Merged error: 21.1b

Counts
79 → 9

regimes452.0ms (5.5%)

Accuracy

Total 3.1b remaining (13.5%)

Threshold costs 0b (0%)

bsearch86.0ms (1.1%)

Steps
ItersRangePoint
8
-2.750531836398237e-307
1.4213517346234429e-306
-3.1791748587786e-310

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07065
17065

end0.0ms (0%)

sample4.0s (49.3%)

Algorithm
intervals
Results
1.6s2082×body1280invalid
862.0ms7554×body80valid
636.0ms1240×body640invalid
172.0ms483×body320invalid
107.0ms144×body1280valid
83.0ms168×body640valid
57.0ms35×body2560invalid
48.0ms390×body80invalid
39.0ms169×body160invalid
30.0ms85×body320valid
12.0ms49×body160valid

Profiling

Loading profile data...