Details

Time bar (total: 8.3s)

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

sample156.0ms

Algorithm
intervals
Results
69.0ms85×body1280invalid
29.0ms242×body80valid
19.0ms37×body640invalid
4.0msbody2560invalid
3.0msbody320invalid
3.0msbody320valid
3.0msbody640valid
2.0msbody160invalid
2.0ms13×body80invalid
2.0msbody1280valid

simplify473.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
0489736
1489736

prune21.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: 32.0b

Counts
2 → 2

localize24.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (atan2 x.im x.re) y.im)
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(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
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)))

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

simplify60.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
05121685

prune154.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh101
Picked101
Done000
Total63770

Merged error: 20.0b

Counts
70 → 7

localize28.0ms

Local error

Found 4 expressions with local error:

28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.3b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
29.3b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(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)))

rewrite26.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)))
13.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)))

series175.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)))
21.0ms
(cbrt (+ (* x.re x.re) (* x.im x.im)))
128.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)))

simplify62.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
05017883

prune160.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh156
Picked011
Done000
Total59968

Merged error: 19.9b

Counts
68 → 9

localize37.0ms

Local error

Found 4 expressions with local error:

28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.3b
(cbrt (+ (* x.re x.re) (* x.im x.im)))
31.7b
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
33.1b
(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)))

rewrite25.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)))
5.0ms
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
11.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)))

series177.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)))
22.0ms
(pow (+ (* x.re x.re) (* x.im x.im)) 1/3)
129.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)))

simplify45.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
04894900
14894900

prune180.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh077
Picked011
Done011
Total66975

Merged error: 19.9b

Counts
75 → 9

localize26.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.4b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
add-exp-log
add-cube-cbrt *-un-lft-identity add-cbrt-cube
sqrt-prod
sqrt-div add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum associate-*r* *-commutative unswap-sqr
Counts
4 → 57
Calls
4 calls:
7.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt 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)))

series91.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04894737
14894737

prune106.0ms

Filtered
57 candidates to 69 candidates (-21.1%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh066
Picked011
Done022
Total69978

Merged error: 19.9b

Counts
78 → 9

regimes438.0ms

Accuracy

77.3% (3.1b remaining)

Error of 22.4b against oracle of 19.3b and baseline of 32.9b

bsearch109.0ms

Steps
ItersRangePoint
11
-3.562227136135574e-306
1.368089651932655e-291
2.592194019921e-310

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
014565
114565

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.6s2105×body1280invalid
878.0ms7574×body80valid
632.0ms1258×body640invalid
163.0ms459×body320invalid
117.0ms72×body2560invalid
84.0ms116×body1280valid
74.0ms151×body640valid
47.0ms382×body80invalid
45.0ms194×body160invalid
35.0ms101×body320valid
14.0ms58×body160valid

Profiling

Loading profile data...