Details

Time bar (total: 7.5s)

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

sample133.0ms

Algorithm
intervals
Results
38.0ms52×body1280invalid
28.0ms234×body80valid
20.0ms39×body640invalid
12.0ms24×body320invalid
4.0msbody640valid
3.0msbody320valid
3.0msbody1280valid
2.0msbody160invalid
1.0ms10×body80invalid
0.0msbody160valid

simplify462.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
0493436
1493436

prune32.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: 33.6b

Counts
2 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

1.5b
(* (atan2 x.im x.re) y.im)
28.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
35.9b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite21.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)))
8.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
66.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify43.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05029677

prune141.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: 18.2b

Counts
70 → 7

localize20.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.5b
(* (atan2 x.im x.re) y.im)
28.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

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

series70.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
04925844
14925844

prune141.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New76480
Fresh246
Picked101
Done000
Total79887

Merged error: 5.3b

Counts
87 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow E (- (* (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.5b
(* (atan2 x.im x.re) y.im)
28.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×pow1
11×add-cube-cbrt *-un-lft-identity
add-exp-log associate-*l*
add-cbrt-cube
associate-*r*
add-log-exp
unpow-prod-down pow-unpow sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod unswap-sqr
unpow-prod-up pow-to-exp sub-neg rem-sqrt-square e-exp-1 pow-pow flip3-+ flip-+ pow-sub sqr-pow
Counts
4 → 74
Calls
4 calls:
4.0ms
(pow E (- (* (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
(pow E (- (* (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)))

simplify53.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049161076
149161076

prune128.0ms

Filtered
63 candidates to 86 candidates (-36.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh077
Picked011
Done000
Total86894

Merged error: 5.3b

Counts
94 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (log (log (exp (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.re)
1.5b
(* (atan2 x.im x.re) y.im)
3.5b
(log (exp (sqrt (+ (* x.re x.re) (* x.im x.im)))))
28.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite20.0ms

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

series39.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04966744
14966744

prune102.0ms

Filtered
61 candidates to 82 candidates (-34.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh156
Picked101
Done011
Total83790

Merged error: 5.3b

Counts
90 → 7

regimes347.0ms

Accuracy

59.5% (6.5b remaining)

Error of 10.1b against oracle of 3.7b and baseline of 19.6b

bsearch163.0ms

Steps
ItersRangePoint
7
4.168970175432756e-118
3.1240746230710504e-116
1.0544495277901194e-116
10
-9.793731920256713e+18
-310243065.3606954
-314818276.7903757

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07850
17850

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.3s1843×body1280invalid
862.0ms7559×body80valid
600.0ms1220×body640invalid
184.0ms530×body320invalid
109.0ms147×body1280valid
72.0ms141×body640valid
58.0ms247×body160invalid
49.0ms420×body80invalid
31.0ms89×body320valid
15.0ms64×body160valid

Profiling

Loading profile data...