Details

Time bar (total: 6.2s)

sample382.0ms

Algorithm
intervals
Results
50.0ms78×body1280valid
25.0ms256×body80valid
18.0ms42×body640valid
4.0ms15×body320valid
2.0msbody160valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

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

Counts
2 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) y.re)
30.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×hypot-def
*-commutative
sqrt-div
+-commutative
flip3-+ pow1/2 sin-sum flip-+
Counts
4 → 19
Calls
4 calls:
2.0ms
(* (atan2 x.im x.re) y.re)
5.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
5.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
9.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series249.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0120130
1262128
2583124
31402124
44460124
55001124

prune147.0ms

Filtered
31 candidates to 23 candidates (74.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New27431
Fresh011
Picked101
Done000
Total28533

Merged error: 19.5b

Counts
33 → 5

localize30.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (atan2 x.im x.re) y.im)
1.4b
(* (atan2 x.im x.re) y.re)
30.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.4b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
hypot-def
+-commutative sin-sum sqrt-div
flip3-+ pow1/2 flip-+
Counts
4 → 12
Calls
4 calls:
2.0ms
(* (atan2 x.im x.re) y.im)
2.0ms
(* (atan2 x.im x.re) y.re)
5.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.im)
16.0ms
(* (atan2 x.im x.re) y.re)
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
152.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify129.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
011993
126192
258390
3140290
4446090
5500190

prune104.0ms

Filtered
24 candidates to 15 candidates (62.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New22224
Fresh134
Picked101
Done000
Total24529

Merged error: 3.4b

Counts
29 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (hypot x.im x.re)) y.re)
1.1b
(* (atan2 x.im x.re) y.im)
1.4b
(* (atan2 x.im x.re) y.re)
34.4b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
sin-sum
+-commutative
Counts
4 → 5
Calls
4 calls:
2.0ms
(* (log (hypot x.im x.re)) y.re)
2.0ms
(* (atan2 x.im x.re) y.im)
2.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series280.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(* (log (hypot x.im x.re)) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
16.0ms
(* (atan2 x.im x.re) y.re)
146.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify306.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
07872
112872
222170
369670
4353670
5500170

prune72.0ms

Filtered
17 candidates to 11 candidates (64.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New16117
Fresh134
Picked011
Done000
Total17522

Merged error: 3.4b

Counts
22 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (hypot x.re x.im)) y.im)
1.1b
(* (atan2 x.im x.re) y.im)
1.4b
(* (atan2 x.im x.re) y.re)
34.4b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
sin-sum
+-commutative
Counts
4 → 5
Calls
4 calls:
2.0ms
(* (log (hypot x.re x.im)) y.im)
2.0ms
(* (atan2 x.im x.re) y.im)
2.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series278.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(* (log (hypot x.re x.im)) y.im)
16.0ms
(* (atan2 x.im x.re) y.im)
16.0ms
(* (atan2 x.im x.re) y.re)
149.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify166.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
06272
19972
217570
351070
4153870
5500170

prune54.0ms

Filtered
17 candidates to 12 candidates (70.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New16117
Fresh123
Picked011
Done011
Total17522

Merged error: 3.4b

Counts
22 → 5

regimes139.0ms

Accuracy

0% (0.1b remaining)

Error of 3.3b against oracle of 3.2b and baseline of 3.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02415
12415

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2246×body1280valid
712.0ms7980×body80valid
578.0ms1367×body640valid
156.0ms546×body320valid
59.0ms39×body2560valid
40.0ms215×body160valid