Details

Time bar (total: 7.5s)

sample458.0ms

Algorithm
intervals
Results
45.0ms264×body80valid
43.0ms62×body1280valid
16.0ms33×body640valid
6.0ms17×body320valid
1.0msbody160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune18.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 32.8b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

2.3b
(* (atan2 x.im x.re) y.im)
29.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite28.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)))
10.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)))

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

simplify80.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune424.0ms

Filtered
68 candidates to 54 candidates (20.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63568
Fresh000
Picked101
Done000
Total64569

Merged error: 19.0b

Counts
69 → 5

localize15.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)
2.3b
(* (atan2 x.im x.re) y.im)
29.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite17.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 exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
sub-neg rem-sqrt-square flip3-+ exp-diff diff-log flip-+
Counts
4 → 69
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)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
38.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)
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify59.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0299557
1864497
22274481
35002479

prune500.0ms

Filtered
81 candidates to 60 candidates (25.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh134
Picked101
Done000
Total80686

Merged error: 2.3b

Counts
86 → 6

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (- (* (log (* -1 x.re)) y.re) (* (atan2 x.im x.re) y.im)))
0.2b
(* (log (* -1 x.re)) y.re)
2.3b
(* (atan2 x.im x.re) y.im)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×pow1
add-cube-cbrt *-un-lft-identity associate-*l*
add-exp-log add-cbrt-cube
associate-*r* add-log-exp
exp-prod pow-prod-down
exp-sum prod-exp log-pow *-commutative cbrt-unprod rem-exp-log unswap-sqr
sub-neg exp-diff diff-log
Counts
3 → 53
Calls
3 calls:
5.0ms
(exp (- (* (log (* -1 x.re)) y.re) (* (atan2 x.im x.re) y.im)))
5.0ms
(* (log (* -1 x.re)) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)

series40.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(exp (- (* (log (* -1 x.re)) y.re) (* (atan2 x.im x.re) y.im)))
10.0ms
(* (log (* -1 x.re)) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)

simplify62.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0224328
1723286
23027278
35002278

prune240.0ms

Filtered
62 candidates to 41 candidates (33.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New60262
Fresh055
Picked101
Done000
Total61768

Merged error: 2.3b

Counts
68 → 7

localize26.0ms

Local error

Found 4 expressions with local error:

2.3b
(* (atan2 x.im x.re) y.im)
29.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.6b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.4b
(cos (+ (* (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
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)
3.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

simplify78.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune486.0ms

Filtered
68 candidates to 54 candidates (20.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh066
Picked011
Done000
Total68775

Merged error: 2.3b

Counts
75 → 7

regimes501.0ms

Accuracy

58.6% (12.4b remaining)

Error of 15.7b against oracle of 3.4b and baseline of 33.3b

bsearch436.0ms

Steps
ItersRangePoint
10
-5.561573377002615e-304
3.0877076910478216e-302
4.6617580803001e-311
9
-2.568854389543697e-169
-9.604033086679427e-178
-2.4602008343284792e-169
10
-2.9459745506063908e+143
-4.140015276366134e+133
-3.234651576175647e+138

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06150
16550
26550

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.4s2052×body1280valid
813.0ms8020×body80valid
651.0ms1434×body640valid
189.0ms582×body320valid
66.0ms310×body160valid

Profiling

Loading profile data...