Details

Time bar (total: 7.0s)

sample385.0ms

Algorithm
intervals
Results
53.0ms70×body1280valid
26.0ms67×body640valid
24.0ms250×body80valid
8.0ms30×body320valid
3.0ms14×body160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune17.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.0b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (atan2 x.im x.re) y.im)
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.6b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
16×sqrt-prod
12×add-sqr-sqrt
11×associate-*l*
10×distribute-lft-out
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
sqrt-div swap-sqr add-log-exp
associate-*r*
rem-sqrt-square cos-sum sqrt-pow1 flip3-+ pow1/2 flip-+
+-commutative pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.im)
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
24.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
20.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.im)
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
148.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify84.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0194482
1504443
21156443
32942443
45003443

prune324.0ms

Filtered
79 candidates to 54 candidates (68.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New75479
Fresh011
Picked101
Done000
Total76581

Merged error: 20.0b

Counts
81 → 5

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.3b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
26×add-sqr-sqrt
20×associate-*l*
13×pow1
add-cube-cbrt
add-exp-log sqrt-prod add-cbrt-cube
associate-*r* distribute-lft-out-- add-log-exp unswap-sqr
log-pow distribute-lft-out
difference-of-squares
sqrt-pow1 pow1/2 sqrt-div swap-sqr pow-prod-down prod-exp *-commutative cbrt-unprod
sub-neg rem-sqrt-square flip3-- flip3-+ diff-log flip-- flip-+
Counts
4 → 81
Calls
4 calls:
17.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)
20.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series259.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
87.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify82.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0311709
1922669
22714661
35001661

prune293.0ms

Filtered
93 candidates to 60 candidates (64.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New91293
Fresh044
Picked011
Done000
Total91798

Merged error: 4.7b

Counts
98 → 7

localize26.0ms

Local error

Found 4 expressions with local error:

6.0b
(cbrt (atan2 x.im x.re))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.6b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
16×sqrt-prod
10×distribute-lft-out
add-sqr-sqrt
associate-*l*
add-cube-cbrt
pow1
add-exp-log sqrt-div swap-sqr add-cbrt-cube add-log-exp
cbrt-prod
rem-sqrt-square cos-sum sqrt-pow1 flip3-+ pow1/2 flip-+
+-commutative pow1/3
Counts
4 → 60
Calls
4 calls:
1.0ms
(cbrt (atan2 x.im x.re))
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
20.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(cbrt (atan2 x.im x.re))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
132.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify77.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0158460
1340428
2773425
32490425
45002425

prune325.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New69372
Fresh235
Picked101
Done011
Total72779

Merged error: 4.7b

Counts
79 → 7

localize32.0ms

Local error

Found 4 expressions with local error:

6.0b
(cbrt (atan2 x.im x.re))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.6b
(cos (+ (* (log (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
31×*-un-lft-identity
16×sqrt-prod
10×distribute-lft-out
add-sqr-sqrt
associate-*l*
add-cube-cbrt
pow1
add-exp-log sqrt-div swap-sqr add-cbrt-cube add-log-exp
cbrt-prod
rem-sqrt-square cos-sum sqrt-pow1 flip3-+ pow1/2 flip-+
+-commutative pow1/3
Counts
4 → 60
Calls
4 calls:
1.0ms
(cbrt (atan2 x.im x.re))
21.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
18.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(cbrt (atan2 x.im x.re))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
130.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify76.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0158460
1340428
2773425
32490425
45002425

prune343.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh145
Picked101
Done011
Total72779

Merged error: 4.7b

Counts
79 → 7

regimes246.0ms

Accuracy

71.7% (4.7b remaining)

Error of 8.3b against oracle of 3.7b and baseline of 20.1b

bsearch326.0ms

Steps
ItersRangePoint
8
3.159809033014604e-05
0.08433677106829839
0.05615461888199686
10
4.4072838724023594e-163
3.5040898023099104e-150
1.8308924480226544e-158
9
-8.737757419100074e-307
3.830079511393951e-305
3.60424188099793e-310

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05334
16534
26534

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.2s1998×body1280valid
680.0ms7972×body80valid
563.0ms1416×body640valid
178.0ms655×body320valid
52.0ms293×body160valid