Details

Time bar (total: 8.1s)

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
49%50.8%0.2%13
50.1%49.7%0.2%14

sample161.0ms

Algorithm
intervals
Results
66.0ms79×body1280invalid
29.0ms246×body80valid
25.0ms48×body640invalid
7.0msbody2560invalid
5.0ms14×body320invalid
2.0msbody640valid
1.0msbody160invalid
1.0msbody160valid
1.0msbody80invalid
1.0msbody1280valid
0.0msbody320valid

simplify471.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0493436
1493436

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

localize24.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)))
35.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite23.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-+
sin-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
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series89.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)))
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
71.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify45.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05069689

prune147.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: 17.1b

Counts
70 → 7

localize33.0ms

Local error

Found 4 expressions with local error:

30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.5b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
31.5b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
35.4b
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (cbrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div add-cbrt-cube add-log-exp
flip3-+ sqrt-prod flip-+
pow1/3 sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2 sin-sum
Counts
4 → 49
Calls
4 calls:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
11.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (cbrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

series182.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
21.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
23.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
133.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (cbrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

simplify50.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04881889
14881889

prune140.0ms

Filtered
51 candidates to 61 candidates (-19.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New60161
Fresh066
Picked101
Done000
Total61768

Merged error: 17.1b

Counts
68 → 7

localize29.0ms

Local error

Found 4 expressions with local error:

4.5b
(cbrt (* y.im (atan2 x.im x.re)))
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
35.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log sqrt-div add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cbrt-prod sin-sum pow1/3
Counts
4 → 47
Calls
4 calls:
2.0ms
(cbrt (* y.im (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)))
6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series87.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
04698637
14698637

prune123.0ms

Filtered
50 candidates to 59 candidates (-18.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New58159
Fresh066
Picked101
Done000
Total59766

Merged error: 17.1b

Counts
66 → 7

localize34.0ms

Local error

Found 4 expressions with local error:

30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.5b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
31.5b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
35.3b
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (exp (log (cbrt (+ (* x.re x.re) (* x.im x.im)))))))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div add-cbrt-cube add-log-exp
flip3-+ sqrt-prod flip-+
pow1/3 sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2 sin-sum
Counts
4 → 49
Calls
4 calls:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
14.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (exp (log (cbrt (+ (* x.re x.re) (* x.im x.im)))))))) y.im) (* (atan2 x.im x.re) y.re)))

series181.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
04859889
14859889

prune111.0ms

Filtered
51 candidates to 61 candidates (-19.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New60161
Fresh066
Picked101
Done000
Total61768

Merged error: 17.1b

Counts
68 → 7

regimes382.0ms

Accuracy

79.3% (3.0b remaining)

Error of 22.5b against oracle of 19.5b and baseline of 33.9b

bsearch79.0ms

Steps
ItersRangePoint
8
-1.860806577041847e-305
4.3133035984950444e-308
-2.8978419282618e-311

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07065
17065

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.5s2022×body1280invalid
833.0ms7540×body80valid
666.0ms1312×body640invalid
147.0ms415×body320invalid
101.0ms138×body1280valid
81.0ms160×body640valid
76.0ms42×body2560invalid
50.0ms394×body80invalid
45.0ms187×body160invalid
35.0ms100×body320valid
15.0ms62×body160valid

Profiling

Loading profile data...