Details

Time bar (total: 15.1s)

analyze1.5s

Algorithm
search

sample138.0ms

Algorithm
intervals
Results
50.0ms65×body1280invalid
29.0ms245×body80valid
16.0ms31×body640invalid
7.0ms18×body320invalid
3.0msbody1280valid
3.0msbody2560invalid
2.0msbody320valid
1.0msbody640valid
1.0ms12×body80invalid
1.0msbody160invalid

simplify382.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune28.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: 36.3b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

2.2b
(* (atan2 x.im x.re) y.im)
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series93.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
74.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify81.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0206434
1539395
21201392
32732392
45002392

prune119.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New63568
Fresh000
Picked011
Done000
Total63669

Merged error: 18.9b

Counts
69 → 6

localize26.0ms

Local error

Found 4 expressions with local error:

33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
33.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
33.4b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
sin-sum sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 39
Calls
4 calls:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
8.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
6.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series177.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
56.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
58.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))
56.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify62.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 4 (55.0ms)

IterNodesCost
0152580
1321508
2672505
31724505
45001504

prune105.0ms

Filtered
48 candidates to 51 candidates (-6.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New50151
Fresh044
Picked011
Done011
Total50757

Merged error: 18.9b

Counts
57 → 7

localize26.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (atan2 x.im x.re) y.re)
2.2b
(* (atan2 x.im x.re) y.im)
20.6b
(sin (+ (* (log (* -1 x.re)) y.im) (* (atan2 x.im x.re) y.re)))
33.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l*
add-log-exp
sqrt-prod
sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sin-sum flip-+
Counts
4 → 59
Calls
4 calls:
4.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sin (+ (* (log (* -1 x.re)) y.im) (* (atan2 x.im x.re) y.re)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)
39.0ms
(sin (+ (* (log (* -1 x.re)) y.im) (* (atan2 x.im x.re) y.re)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify102.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0260372
1715332
21646328
33711328
45001328

prune143.0ms

Filtered
51 candidates to 71 candidates (-39.2%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New67471
Fresh134
Picked101
Done022
Total69978

Merged error: 9.8b

Counts
78 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (log (* -1 x.re)) y.im)
1.6b
(* (atan2 x.im x.re) y.re)
2.2b
(* (atan2 x.im x.re) y.im)
20.6b
(sin (+ (* (log (* -1 x.re)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×pow1
11×associate-*l*
10×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r*
pow-prod-down add-log-exp
prod-exp *-commutative cbrt-unprod unswap-sqr
log-pow
sin-sum
Counts
4 → 64
Calls
4 calls:
7.0ms
(* (log (* -1 x.re)) y.im)
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sin (+ (* (log (* -1 x.re)) y.im) (* (atan2 x.im x.re) y.re)))

series63.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (log (* -1 x.re)) y.im)
6.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)
39.0ms
(sin (+ (* (log (* -1 x.re)) y.im) (* (atan2 x.im x.re) y.re)))

simplify57.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0241378
1763324
22947323
35002323

prune124.0ms

Filtered
50 candidates to 76 candidates (-52.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New70676
Fresh246
Picked011
Done112
Total731285

Merged error: 9.8b

Counts
85 → 12

regimes686.0ms

Accuracy

80.6% (5.0b remaining)

Error of 17.9b against oracle of 12.9b and baseline of 38.4b

bsearch5.8s

Steps
ItersRangePoint
10
-3.926776353740267e-303
1.785518082097725e-303
2.7089950258453e-310
8
-5.963388787632845e-233
-1.2485833258272383e-236
-1.1804736302167094e-234
11
-6.349566770326335e-121
-1.4247917558707154e-142
-1.4391871695144185e-142
10
-5.242171997896957e+33
-8.95678556777923e+19
-9.121782091145393e+19

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06693
16693

end0.0ms

analyze1.2s

Algorithm
search

sample4.0s

Algorithm
intervals
Results
1.5s2074×body1280invalid
854.0ms7546×body80valid
645.0ms1264×body640invalid
167.0ms472×body320invalid
99.0ms126×body1280valid
85.0ms174×body640valid
80.0ms49×body2560invalid
45.0ms187×body160invalid
45.0ms361×body80invalid
37.0ms106×body320valid
12.0ms48×body160valid

Profiling

Loading profile data...