Details

Time bar (total: 6.7s)

sample353.0ms

Algorithm
intervals
Results
253.0ms75×body1280valid
29.0ms251×body80valid
21.0ms43×body640valid
7.0ms20×body320valid
3.0ms11×body160valid

simplify417.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune16.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: 28.8b

Counts
2 → 1

localize48.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (atan2 x.im x.re) y.im)
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.4b
(cos (+ (* (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-+
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)))
4.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)))

series85.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune125.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New62668
Fresh000
Picked101
Done000
Total63669

Merged error: 16.0b

Counts
69 → 6

localize16.0ms

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

rewrite17.0ms

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:
4.0ms
(- (* (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)
4.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series72.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0307551
1925510
22748491
35002491

prune133.0ms

Filtered
55 candidates to 78 candidates (-41.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New74478
Fresh055
Picked101
Done000
Total75984

Merged error: 3.3b

Counts
84 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) 3)
1.1b
(* (atan2 x.im x.re) y.im)
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
39.1b
(cbrt (pow (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) 3))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×pow1
add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
cbrt-prod
add-log-exp
pow-unpow associate-*r* associate-*l* sqrt-prod
cube-mult unpow-prod-down pow-pow sqrt-div unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt sqr-pow
pow-to-exp rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow1/3 *-commutative rem-cbrt-cube flip-+ unswap-sqr
Counts
4 → 72
Calls
4 calls:
5.0ms
(pow (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) 3)
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
2.0ms
(cbrt (pow (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) 3))

series157.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(pow (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) 3)
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.0ms
(cbrt (pow (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) 3))

simplify154.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0290560
11050512
24854507
35001507

prune160.0ms

Filtered
60 candidates to 84 candidates (-40.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh178
Picked011
Done000
Total84993

Merged error: 3.3b

Counts
93 → 9

localize26.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (atan2 x.im x.re) y.im)
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite19.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)))
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)))

series70.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)))
53.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 (13.0ms)

IterNodesCost
0199426
1523389
21179387
32665387
45002387

prune95.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh167
Picked011
Done011
Total68977

Merged error: 3.3b

Counts
77 → 9

regimes429.0ms

Accuracy

68.1% (5.5b remaining)

Error of 9.1b against oracle of 3.6b and baseline of 20.9b

bsearch92.0ms

Steps
ItersRangePoint
9
-4.701248319910525e-307
3.7613894419133676e-305
-9.0249257815008e-312

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03417
13817
23817

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.5s2053×body1280valid
911.0ms7992×body80valid
695.0ms1429×body640valid
235.0ms661×body320valid
75.0ms331×body160valid

Profiling

Loading profile data...