Details

Time bar (total: 11.9s)

analyze1.5s

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
48.9%50.8%0.3%13
50%49.7%0.4%14

sample137.0ms

Algorithm
intervals
Results
46.0ms55×body1280invalid
27.0ms237×body80valid
22.0ms43×body640invalid
6.0ms17×body320invalid
3.0msbody320valid
3.0msbody1280valid
3.0ms12×body160invalid
2.0msbody640valid
2.0ms18×body80invalid
1.0msbody160valid

simplify516.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
0497036
1497036

prune20.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.4b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (atan2 x.im x.re) y.im)
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.3b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite22.0ms

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-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
9.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series88.0ms

Counts
4 → 12
Calls
4 calls:
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)))
70.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify56.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04737680
14737680

prune146.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New62668
Fresh011
Picked101
Done000
Total63770

Merged error: 21.4b

Counts
70 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
0.3b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×pow1
10×add-cube-cbrt *-un-lft-identity
associate-*l*
add-exp-log add-cbrt-cube
add-log-exp
associate-*r*
exp-prod sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
sub-neg rem-sqrt-square flip3-+ exp-diff diff-log exp-sum flip-+
Counts
4 → 68
Calls
4 calls:
4.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
5.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
23.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify29.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05242850

prune151.0ms

Filtered
61 candidates to 80 candidates (-31.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New76480
Fresh066
Picked011
Done000
Total761187

Merged error: 4.8b

Counts
87 → 11

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (pow (exp (atan2 x.im x.re)) (neg y.im)) (pow (/ -1 x.re) y.re))
0.4b
(exp (atan2 x.im x.re))
0.4b
(pow (exp (atan2 x.im x.re)) (neg y.im))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
191×times-frac
161×unpow-prod-down
109×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×sqr-pow
19×add-exp-log
17×associate-/r*
15×div-exp
11×pow-exp
10×pow-unpow
div-inv
pow-to-exp
associate-/l*
exp-prod
add-cbrt-cube
pow1 pow-pow add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
neg-sub0 pow-neg associate-/l/ pow-sub
cbrt-undiv neg-mul-1 frac-2neg clear-num rem-exp-log
Counts
3 → 208
Calls
3 calls:
10.0ms
(/ (pow (exp (atan2 x.im x.re)) (neg y.im)) (pow (/ -1 x.re) y.re))
2.0ms
(exp (atan2 x.im x.re))
4.0ms
(pow (exp (atan2 x.im x.re)) (neg y.im))

series49.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(/ (pow (exp (atan2 x.im x.re)) (neg y.im)) (pow (/ -1 x.re) y.re))
4.0ms
(exp (atan2 x.im x.re))
13.0ms
(pow (exp (atan2 x.im x.re)) (neg y.im))

simplify67.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050084722

prune372.0ms

Filtered
155 candidates to 217 candidates (-40.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2161217
Fresh099
Picked101
Done011
Total21711228

Merged error: 4.8b

Counts
228 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 x.im x.re))
0.4b
(exp (atan2 x.im x.re))
0.4b
(pow (exp (atan2 x.im x.re)) (neg y.im))
0.4b
(pow (exp (atan2 x.im x.re)) (neg y.im))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
20×pow-unpow
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×exp-prod
pow-pow
pow1 distribute-lft-neg-in unpow-prod-down distribute-rgt-neg-in add-log-exp
add-exp-log add-cbrt-cube
neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-exp rem-exp-log pow-sub sqr-pow
Counts
4 → 80
Calls
4 calls:
2.0ms
(exp (atan2 x.im x.re))
2.0ms
(exp (atan2 x.im x.re))
4.0ms
(pow (exp (atan2 x.im x.re)) (neg y.im))
4.0ms
(pow (exp (atan2 x.im x.re)) (neg y.im))

series34.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(exp (atan2 x.im x.re))
4.0ms
(exp (atan2 x.im x.re))
13.0ms
(pow (exp (atan2 x.im x.re)) (neg y.im))
13.0ms
(pow (exp (atan2 x.im x.re)) (neg y.im))

simplify74.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
04864690
14864690

prune143.0ms

Filtered
58 candidates to 92 candidates (-58.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh099
Picked011
Done011
Total9211103

Merged error: 4.8b

Counts
103 → 11

regimes552.0ms

Accuracy

57.6% (6.9b remaining)

Error of 10.7b against oracle of 3.7b and baseline of 20.0b

bsearch2.7s

Steps
ItersRangePoint
8
7.178061669870633e-57
4.258499589527743e-52
1.4668072428131629e-52
9
-2.3335637489488046e-307
9.826630474863851e-305
-3.8865966887532446e-308

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04148
14148

end0.0ms

analyze1.3s

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
48.9%50.8%0.3%13
50%49.7%0.4%14

sample3.7s

Algorithm
intervals
Results
1.3s1877×body1280invalid
854.0ms7550×body80valid
634.0ms1298×body640invalid
192.0ms552×body320invalid
104.0ms138×body1280valid
66.0ms135×body640valid
58.0ms256×body160invalid
48.0ms127×body320valid
45.0ms390×body80invalid
12.0ms50×body160valid

Profiling

Loading profile data...