Details

Time bar (total: 7.9s)

sample400.0ms

Algorithm
intervals
Results
58.0ms86×body1280valid
36.0ms248×body80valid
27.0ms64×body640valid
6.0ms22×body320valid
2.0msbody2560valid
2.0ms10×body160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune15.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

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

rewrite66.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)
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
24.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
19.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (atan2 x.im x.re) y.im)
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
156.0ms
(sin (+ (* (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
0199485
1509448
21161448
32955448
45001448

prune326.0ms

Filtered
79 candidates to 55 candidates (69.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New73679
Fresh011
Picked101
Done000
Total74781

Merged error: 19.9b

Counts
81 → 7

localize28.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt 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.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
40×*-un-lft-identity
33×associate-*r*
22×cbrt-prod
17×associate-*l* unswap-sqr
16×add-cube-cbrt sqrt-prod
14×add-cbrt-cube
12×swap-sqr
11×pow1
10×distribute-lft-out
add-exp-log cbrt-unprod
sqrt-div add-log-exp
pow-prod-down prod-exp *-commutative
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sin-sum flip-+
+-commutative
Counts
4 → 105
Calls
4 calls:
17.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
18.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series290.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(* (atan2 x.im x.re) (* (cbrt y.im) (cbrt y.im)))
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
138.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify45.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0373844
11274763
25002741

prune471.0ms

Filtered
117 candidates to 75 candidates (64.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1125117
Fresh426
Picked101
Done000
Total1177124

Merged error: 19.9b

Counts
124 → 7

localize34.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) y.re)
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite55.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.re)
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
16.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
17.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.re)
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
140.0ms
(sin (+ (* (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
79 → 79
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0197485
1499448
21139448
32834448
45001448

prune386.0ms

Filtered
79 candidates to 55 candidates (69.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New74579
Fresh516
Picked101
Done000
Total80686

Merged error: 19.9b

Counts
86 → 6

localize35.0ms

Local error

Found 4 expressions with local error:

29.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
30.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
30.7b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite72.0ms

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

series449.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
140.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
137.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
138.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify67.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0145638
1299572
2649572
31965572
45001572

prune397.0ms

Filtered
59 candidates to 51 candidates (86.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New57259
Fresh055
Picked011
Done000
Total57865

Merged error: 19.8b

Counts
65 → 8

regimes352.0ms

Accuracy

65.9% (4.8b remaining)

Error of 24.6b against oracle of 19.8b and baseline of 33.8b

bsearch290.0ms

Steps
ItersRangePoint
9
4.890671844991377e-60
2.803383669958892e-52
5.62997084490378e-54
9
-5.4608645180661643e-185
-3.9089750989843753e-193
-4.834691035096915e-189

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061129
161129

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.4s2171×body1280valid
710.0ms7944×body80valid
575.0ms1391×body640valid
154.0ms542×body320valid
73.0ms48×body2560valid
47.0ms238×body160valid