Details

Time bar (total: 13.2s)

analyze1.5s

Algorithm
search

sample153.0ms

Algorithm
intervals
Results
60.0ms71×body1280invalid
28.0ms233×body80valid
20.0ms38×body640invalid
8.0ms10×body1280valid
5.0ms13×body320invalid
4.0msbody640valid
2.0msbody2560invalid
2.0ms15×body80invalid
2.0msbody160invalid
1.0msbody160valid
1.0msbody320valid

simplify393.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

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: 35.3b

Counts
2 → 2

localize45.0ms

Local error

Found 4 expressions with local error:

3.1b
(* (atan2 x.im x.re) y.im)
31.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.6b
(sin (+ (* (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-+
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)))

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

simplify82.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0206434
1539395
21201392
32732392
45002392

prune164.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New581068
Fresh011
Picked101
Done000
Total591170

Merged error: 21.7b

Counts
70 → 11

localize29.0ms

Local error

Found 4 expressions with local error:

31.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.6b
(sin (+ (* (log (* (sqrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite29.0ms

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

series74.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (62.0ms)

IterNodesCost
0156544
1346498
2780497
32120497
45002494

prune151.0ms

Filtered
55 candidates to 65 candidates (-18.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh2810
Picked101
Done000
Total661076

Merged error: 21.7b

Counts
76 → 10

localize39.0ms

Local error

Found 4 expressions with local error:

31.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.6b
(sin (+ (* (log (* (sqrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))
32.6b
(sin (+ (* (log (* (sqrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))
32.6b
(sin (+ (* (log (* (sqrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (sqrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

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

series171.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 4 (61.0ms)

IterNodesCost
0156832
1346718
2780715
32120715
45002714

prune142.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New50151
Fresh189
Picked011
Done000
Total511061

Merged error: 21.7b

Counts
61 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

31.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.6b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
33.6b
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))

rewrite17.0ms

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

series77.0ms

Counts
4 → 12
Calls
4 calls:
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)))
12.0ms
(cbrt (pow (* (atan2 x.im x.re) y.im) 3))

simplify84.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 4 (78.0ms)

IterNodesCost
0211456
1537424
21142423
32771423
45001421

prune116.0ms

Filtered
55 candidates to 67 candidates (-21.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New66167
Fresh178
Picked011
Done011
Total671077

Merged error: 21.7b

Counts
77 → 10

regimes508.0ms

Accuracy

73.7% (3.8b remaining)

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

bsearch3.8s

Steps
ItersRangePoint
8
4.9972004847091636e+76
4.4498641221023124e+80
5.071550468219113e+76
8
1.1067923923457705e-64
3.0231721093770095e-61
2.841576465950596e-64
10
-2.0312716467082546e-296
2.6773387154964622e-306
-2.78232521354766e-310

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06375
16375

end0.0ms

analyze1.3s

Algorithm
search

sample4.0s

Algorithm
intervals
Results
1.6s2038×body1280invalid
882.0ms7546×body80valid
619.0ms1225×body640invalid
154.0ms438×body320invalid
95.0ms127×body1280valid
82.0ms165×body640valid
70.0ms42×body2560invalid
50.0ms400×body80invalid
44.0ms189×body160invalid
36.0ms102×body320valid
15.0ms60×body160valid

Profiling

Loading profile data...