Details

Time bar (total: 7.6s)

sample366.0ms

Algorithm
intervals
Results
42.0ms68×body1280valid
25.0ms255×body80valid
21.0ms54×body640valid
5.0msbody2560valid
4.0ms16×body320valid
1.0msbody160valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune13.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: 35.1b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (atan2 x.im x.re) y.im)
30.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite64.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 sqrt-pow1 flip3-+ pow1/2 sin-sum 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)
24.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
18.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (atan2 x.im x.re) y.im)
154.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
44.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
47.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify83.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0193485
1488448
21083448
32716448
45001448

prune277.0ms

Filtered
79 candidates to 55 candidates (30.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New73679
Fresh000
Picked101
Done000
Total74680

Merged error: 19.7b

Counts
80 → 6

localize31.0ms

Local error

Found 4 expressions with local error:

22.2b
(sin (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
24×sqrt-prod
15×distribute-lft-out
12×associate-*l*
10×add-sqr-sqrt
pow1 add-cube-cbrt
sqrt-div swap-sqr
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 67
Calls
4 calls:
5.0ms
(sin (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
18.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
15.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
15.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series238.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(sin (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
41.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify68.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0126449
1278425
2608423
31926423
45002423

prune341.0ms

Filtered
79 candidates to 54 candidates (31.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New77279
Fresh235
Picked011
Done000
Total79685

Merged error: 19.7b

Counts
85 → 6

localize37.0ms

Local error

Found 4 expressions with local error:

31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
32×sqrt-prod
20×distribute-lft-out
16×associate-*l*
12×add-sqr-sqrt
pow1 add-cube-cbrt sqrt-div swap-sqr
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 80
Calls
4 calls:
15.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
19.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series155.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
41.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify129.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
086476
1202464
2465464
31174464
43616464
55001464

prune458.0ms

Filtered
92 candidates to 60 candidates (34.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh044
Picked011
Done011
Total92698

Merged error: 19.7b

Counts
98 → 6

localize26.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (atan2 x.im x.re) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
14.2b
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ 1 x.re)))))
31.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
28×add-sqr-sqrt
27×sin-diff
26×log-prod associate--r+
23×add-cube-cbrt
18×times-frac
13×distribute-rgt-in distribute-lft-in
10×associate-*l*
pow1
add-exp-log sqrt-prod add-cbrt-cube
associate-*r*
distribute-lft-out
add-log-exp
sin-sum sqrt-div swap-sqr pow-prod-down prod-exp *-commutative cbrt-unprod div-inv unswap-sqr
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 92
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
19.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ 1 x.re)))))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series164.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (atan2 x.im x.re) y.re)
17.0ms
(* (atan2 x.im x.re) y.im)
88.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ 1 x.re)))))
41.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify68.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
06211175
111981137
225621085
350011025

prune270.0ms

Filtered
104 candidates to 56 candidates (46.2%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New968104
Fresh123
Picked101
Done022
Total9812110

Merged error: 14.0b

Counts
110 → 12

regimes492.0ms

Accuracy

73.2% (5.5b remaining)

Error of 17.9b against oracle of 12.5b and baseline of 32.9b

bsearch381.0ms

Steps
ItersRangePoint
6
6.174355576258347e-57
7.945268834441626e-56
9.299895959750297e-57
10
6.739007507974489e-173
1.890718190471832e-162
2.798252125303727e-170
11
-3.0295251196676372e-294
2.480952709492434e-302
-5.47181818144811e-309

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07080
17080

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2264×body1280valid
692.0ms7949×body80valid
613.0ms1491×body640valid
161.0ms561×body320valid
79.0ms51×body2560valid
45.0ms233×body160valid