Details

Time bar (total: 10.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
49%50.8%0.2%13
50.1%49.7%0.2%14

sample142.0ms

Algorithm
intervals
Results
47.0ms61×body1280invalid
27.0ms237×body80valid
24.0ms41×body640invalid
6.0ms18×body320invalid
4.0msbody1280valid
4.0msbody640valid
3.0ms11×body160invalid
2.0ms16×body80invalid
2.0msbody2560invalid
1.0msbody320valid
1.0msbody160valid

simplify483.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
0497036
1497036

prune19.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: 34.9b

Counts
2 → 2

localize33.0ms

Local error

Found 4 expressions with local error:

2.0b
(* (atan2 x.im x.re) y.im)
29.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.5b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite20.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)
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
3.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)))

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

simplify57.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04750692
14750692

prune161.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New59968
Fresh011
Picked101
Done000
Total601070

Merged error: 20.7b

Counts
70 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

29.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.9b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
30.9b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
32.5b
(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)))

rewrite21.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)))
3.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
10.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)))

series176.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
20.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
23.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
127.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)))

simplify60.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04911911
14911911

prune167.0ms

Filtered
54 candidates to 61 candidates (-13.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh189
Picked011
Done000
Total591271

Merged error: 20.6b

Counts
71 → 12

localize37.0ms

Local error

Found 4 expressions with local error:

29.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.9b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
32.5b
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))
33.1b
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log
add-cbrt-cube add-log-exp
cbrt-prod unpow-prod-down pow-unpow sqrt-prod
cbrt-div flip3-+ sqrt-div flip-+
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 unpow1/3 sin-sum pow1/3 pow-exp sqr-pow
Counts
4 → 54
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)))
10.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))
5.0ms
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)

series174.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
20.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
126.0ms
(sin (+ (* (log (* (fabs (cbrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (pow (+ (* x.re x.re) (* x.im x.im)) 1/3)))) y.im) (* (atan2 x.im x.re) y.re)))
23.0ms
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)

simplify46.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05012910

prune183.0ms

Filtered
54 candidates to 66 candidates (-22.2%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh01010
Picked011
Done011
Total661278

Merged error: 20.6b

Counts
78 → 12

localize31.0ms

Local error

Found 4 expressions with local error:

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

series167.0ms

Counts
4 → 12
Calls
4 calls:
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)))
52.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)))

simplify48.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05038851

prune84.0ms

Filtered
48 candidates to 51 candidates (-6.3%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New48351
Fresh189
Picked101
Done022
Total501363

Merged error: 20.6b

Counts
63 → 13

regimes566.0ms

Accuracy

75.4% (3.4b remaining)

Error of 23.3b against oracle of 20.0b and baseline of 33.7b

bsearch1.4s

Steps
ItersRangePoint
9
-5.062770195702041e-302
-2.3335637489488046e-307
-2.3644610081048188e-307

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03965
13965

end0.0ms

analyze1.2s

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

sample3.9s

Algorithm
intervals
Results
1.5s2100×body1280invalid
836.0ms7513×body80valid
619.0ms1250×body640invalid
175.0ms508×body320invalid
107.0ms147×body1280valid
79.0ms161×body640valid
75.0ms42×body2560invalid
46.0ms124×body320valid
42.0ms190×body160invalid
40.0ms351×body80invalid
13.0ms55×body160valid

Profiling

Loading profile data...