Details

Time bar (total: 6.0s)

sample324.0ms

Algorithm
intervals
Results
190.0ms23×body320valid
46.0ms67×body1280valid
29.0ms257×body80valid
26.0ms54×body640valid
1.0msbody160valid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune17.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: 38.0b

Counts
2 → 1

localize31.0ms

Local error

Found 4 expressions with local error:

1.3b
(* (atan2 x.im x.re) y.im)
34.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.9b
(cos (+ (* (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
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-+
cos-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)))
9.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series90.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)))
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
71.0ms
(cos (+ (* (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
68 → 68
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0199428
1523391
21179387
32665387
45002387

prune126.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63568
Fresh000
Picked101
Done000
Total64569

Merged error: 22.1b

Counts
69 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
0.3b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.3b
(* (atan2 x.im x.re) y.im)
34.1b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite18.0ms

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

series75.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0307551
1925510
22748491
35002491

prune124.0ms

Filtered
55 candidates to 78 candidates (-41.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New75378
Fresh044
Picked011
Done000
Total75883

Merged error: 3.8b

Counts
83 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (log x.re) y.re) (* (atan2 x.im x.re) y.im))
0.0b
(exp (- (* (log x.re) y.re) (* (atan2 x.im x.re) y.im)))
0.1b
(* (log x.re) y.re)
1.3b
(* (atan2 x.im x.re) y.im)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
associate-*l*
associate-*r*
exp-prod
sub-neg diff-log exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
flip3-- exp-diff log-pow flip--
Counts
4 → 64
Calls
4 calls:
3.0ms
(- (* (log x.re) y.re) (* (atan2 x.im x.re) y.im))
4.0ms
(exp (- (* (log x.re) y.re) (* (atan2 x.im x.re) y.im)))
4.0ms
(* (log x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)

series64.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- (* (log x.re) y.re) (* (atan2 x.im x.re) y.im))
24.0ms
(exp (- (* (log x.re) y.re) (* (atan2 x.im x.re) y.im)))
10.0ms
(* (log x.re) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)

simplify78.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0258412
1840373
22714349
35002349

prune111.0ms

Filtered
49 candidates to 76 candidates (-55.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New74276
Fresh066
Picked011
Done011
Total741084

Merged error: 3.8b

Counts
84 → 10

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (* (atan2 x.im x.re) y.im))
0.5b
(/ (pow x.re y.re) (exp (* (atan2 x.im x.re) y.im)))
1.3b
(* (atan2 x.im x.re) y.im)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity times-frac
12×unpow-prod-down
add-exp-log add-cbrt-cube associate-/l*
pow1 add-log-exp
sqr-pow
div-exp associate-*r* associate-*l* associate-/r*
cbrt-undiv pow-to-exp exp-prod exp-to-pow frac-2neg pow-prod-down pow-exp prod-exp clear-num *-commutative cbrt-unprod div-inv rem-exp-log unswap-sqr
Counts
3 → 73
Calls
3 calls:
2.0ms
(exp (* (atan2 x.im x.re) y.im))
5.0ms
(/ (pow x.re y.re) (exp (* (atan2 x.im x.re) y.im)))
3.0ms
(* (atan2 x.im x.re) y.im)

series43.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(exp (* (atan2 x.im x.re) y.im))
27.0ms
(/ (pow x.re y.re) (exp (* (atan2 x.im x.re) y.im)))
7.0ms
(* (atan2 x.im x.re) y.im)

simplify37.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0266599
11004563
25001558

prune72.0ms

Filtered
58 candidates to 82 candidates (-41.4%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New82082
Fresh077
Picked011
Done022
Total821092

Merged error: 3.8b

Counts
92 → 10

regimes458.0ms

Accuracy

67% (5.5b remaining)

Error of 9.1b against oracle of 3.6b and baseline of 20.3b

bsearch106.0ms

Steps
ItersRangePoint
11
-1.512366293964845e-287
1.0631385641558184e-306
8.9871369586887e-313

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03115
13515
23515

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.4s2109×body1280valid
842.0ms7984×body80valid
721.0ms1559×body640valid
212.0ms630×body320valid
60.0ms278×body160valid

Profiling

Loading profile data...