Details

Time bar (total: 7.6s)

sample382.0ms

Algorithm
intervals
Results
55.0ms80×body1280valid
25.0ms258×body80valid
22.0ms51×body640valid
6.0ms21×body320valid
2.0msbody2560valid
1.0msbody160valid

simplify52.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.1b

Counts
2 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

2.2b
(* (atan2 x.im x.re) y.im)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite71.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:
4.0ms
(* (atan2 x.im x.re) y.im)
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
25.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
22.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series261.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0193485
1488448
21083448
32716448
45001448

prune287.0ms

Filtered
79 candidates to 55 candidates (69.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh011
Picked101
Done000
Total72981

Merged error: 18.6b

Counts
81 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.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:
17.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)))
21.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)))

series494.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
150.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
151.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
152.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify60.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0139638
1278572
2575572
31729572
45002572

prune330.0ms

Filtered
59 candidates to 51 candidates (86.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New56359
Fresh268
Picked011
Done000
Total581068

Merged error: 18.6b

Counts
68 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

2.2b
(* (atan2 x.im x.re) y.im)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.4b
(sin (+ (* (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
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)
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
17.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)))

series248.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (atan2 x.im x.re) y.im)
39.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
153.0ms
(sin (+ (* (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
79 → 79
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0193485
1488448
21083448
32716448
45001448

prune280.0ms

Filtered
79 candidates to 55 candidates (69.6%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New79079
Fresh088
Picked011
Done011
Total791089

Merged error: 18.6b

Counts
89 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

12.8b
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
16×sqrt-prod
10×add-sqr-sqrt distribute-lft-out
cbrt-prod add-cube-cbrt associate-*l*
pow1
add-exp-log sqrt-div swap-sqr add-cbrt-cube add-log-exp
unpow-prod-down
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sin-sum rem-cbrt-cube flip-+
+-commutative pow-unpow pow1/3 unpow3 sqr-pow
Counts
4 → 67
Calls
4 calls:
17.0ms
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
17.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
21.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series380.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(cbrt (pow (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))) 3))
40.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
151.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify134.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 4 (125.0ms)

IterNodesCost
0182690
1435681
21069681
33873681
45002631

prune271.0ms

Filtered
79 candidates to 54 candidates (68.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New78179
Fresh167
Picked101
Done022
Total80989

Merged error: 18.6b

Counts
89 → 9

regimes316.0ms

Accuracy

78.8% (3.0b remaining)

Error of 22.7b against oracle of 19.6b and baseline of 33.9b

bsearch149.0ms

Steps
ItersRangePoint
10
-2.2947903752997222e-302
2.2762297762839958e-302
-5.186698545957517e-309

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04236
14236

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2244×body1280valid
702.0ms7932×body80valid
614.0ms1447×body640valid
177.0ms578×body320valid
66.0ms44×body2560valid
46.0ms241×body160valid