Details

Time bar (total: 0.0hr)

sample0.0hr

Algorithm
intervals
Results
0.0hr26×body320valid
0.0hr63×body1280valid
0.0hr255×body80valid
0.0hr41×body640valid
0.0hr15×body160valid

simplify0.0hr

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (0.0hr)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune0.0hr

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.5b

Counts
2 → 2

localize0.0hr

Local error

Found 4 expressions with local error:

1.0b
(* (atan2 x.im x.re) y.im)
30.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.8b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite0.0hr

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:
0.0hr
(* (atan2 x.im x.re) y.im)
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(* (atan2 x.im x.re) y.im)
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify0.0hr

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune0.0hr

Filtered
68 candidates to 54 candidates (20.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New62668
Fresh101
Picked101
Done000
Total64670

Merged error: 20.8b

Counts
70 → 6

localize0.0hr

Local error

Found 4 expressions with local error:

0.0b
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
0.2b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.0b
(* (atan2 x.im x.re) y.im)
30.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×pow1
add-cube-cbrt *-un-lft-identity associate-*l*
add-exp-log add-cbrt-cube
associate-*r* add-log-exp
sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sub-neg rem-sqrt-square flip3-- flip3-+ diff-log flip-- flip-+
Counts
4 → 66
Calls
4 calls:
0.0hr
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
0.0hr
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
0.0hr
(* (atan2 x.im x.re) y.im)
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
0.0hr
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
0.0hr
(* (atan2 x.im x.re) y.im)
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify0.0hr

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0307551
1925510
22748491
35002491

prune0.0hr

Filtered
78 candidates to 55 candidates (29.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New76278
Fresh055
Picked011
Done000
Total76884

Merged error: 3.6b

Counts
84 → 8

localize0.0hr

Local error

Found 4 expressions with local error:

1.0b
(* (atan2 x.im x.re) y.im)
30.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.8b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite0.0hr

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:
0.0hr
(* (atan2 x.im x.re) y.im)
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(* (atan2 x.im x.re) y.im)
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify0.0hr

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune0.0hr

Filtered
68 candidates to 54 candidates (20.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh156
Picked011
Done011
Total68876

Merged error: 3.6b

Counts
76 → 8

localize0.0hr

Local error

Found 4 expressions with local error:

1.0b
(* (atan2 x.im x.re) y.im)
30.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.8b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite0.0hr

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:
0.0hr
(* (atan2 x.im x.re) y.im)
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(* (atan2 x.im x.re) y.im)
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(sqrt (+ (* x.re x.re) (* x.im x.im)))
0.0hr
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify0.0hr

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune0.0hr

Filtered
68 candidates to 54 candidates (20.6%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New66268
Fresh235
Picked011
Done022
Total68876

Merged error: 3.6b

Counts
76 → 8

regimes0.0hr

Accuracy

61.9% (6.5b remaining)

Error of 10.0b against oracle of 3.5b and baseline of 20.5b

bsearch0.0hr

Steps
ItersRangePoint
10
1.6515191358596872e-125
4.795669382585278e-114
8.196049293773377e-119
10
7.911629683117708e-200
7.104566640040457e-182
6.226951751350708e-182
8
7.91242576640244e-304
2.6467534497817823e-299
2.920687254161062e-301
10
-4.485436934755623e-84
-3.0926149035121264e-100
-1.7569389405816738e-92

simplify0.0hr

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0hr)

IterNodesCost
05544
16444
26744
36744

end0.0hr

sample0.0hr

Algorithm
intervals
Results
0.0hr2087×body1280valid
0.0hr7990×body80valid
0.0hr1468×body640valid
0.0hr664×body320valid
0.0hr320×body160valid

Profiling

Loading profile data...