Details

Time bar (total: 7.1s)

sample396.0ms

Algorithm
intervals
Results
59.0ms81×body1280valid
37.0ms255×body80valid
21.0ms46×body640valid
4.0ms11×body320valid
3.0ms12×body160valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune13.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 33.9b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (atan2 x.im x.re) y.im)
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite23.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
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+ hypot-def
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 66
Calls
4 calls:
4.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
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series250.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.im)
39.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
158.0ms
(cos (+ (* (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
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0207456
1556415
21286411
32863411
45002411

prune348.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New72678
Fresh000
Picked101
Done000
Total73679

Merged error: 18.4b

Counts
79 → 6

localize28.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
30.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite17.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*
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-prod
sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
rem-sqrt-square cos-sum sqrt-pow1 flip3-+ pow1/2 flip-+ hypot-def
Counts
4 → 68
Calls
4 calls:
4.0ms
(* (atan2 x.im x.re) y.re)
4.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
5.0ms
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series216.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
40.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
144.0ms
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify93.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0253386
1722346
21719345
33543345
45002345

prune344.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New75580
Fresh415
Picked101
Done000
Total80686

Merged error: 3.3b

Counts
86 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (hypot x.re x.im)) y.im)
1.4b
(* (atan2 x.im x.re) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
33.2b
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×pow1
10×add-exp-log add-cube-cbrt *-un-lft-identity associate-*l* add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cos-sum log-pow
Counts
4 → 71
Calls
4 calls:
4.0ms
(* (log (hypot x.re x.im)) y.im)
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series282.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (log (hypot x.re x.im)) y.im)
16.0ms
(* (atan2 x.im x.re) y.re)
20.0ms
(* (atan2 x.im x.re) y.im)
142.0ms
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify75.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0220396
1690347
21609345
32876345
45001345

prune304.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New74983
Fresh505
Picked101
Done000
Total80989

Merged error: 3.0b

Counts
89 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (log (hypot x.re x.im)))
1.4b
(* (atan2 x.im x.re) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
33.0b
(cos (+ (* (* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im)))) (* (cbrt (log (hypot x.re x.im))) y.im)) (* (atan2 x.im x.re) y.re)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l*
cbrt-prod expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cos-sum pow1/3 log-pow
Counts
4 → 64
Calls
4 calls:
1.0ms
(cbrt (log (hypot x.re x.im)))
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
11.0ms
(cos (+ (* (* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im)))) (* (cbrt (log (hypot x.re x.im))) y.im)) (* (atan2 x.im x.re) y.re)))

series330.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(cbrt (log (hypot x.re x.im)))
16.0ms
(* (atan2 x.im x.re) y.re)
17.0ms
(* (atan2 x.im x.re) y.im)
148.0ms
(cos (+ (* (* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im)))) (* (cbrt (log (hypot x.re x.im))) y.im)) (* (atan2 x.im x.re) y.re)))

simplify62.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (27.0ms)

IterNodesCost
0200498
1530436
21204434
32104432
45002432

prune271.0ms

Filtered
76 candidates to 57 candidates (75.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New73376
Fresh178
Picked101
Done000
Total751085

Merged error: 3.0b

Counts
85 → 10

regimes237.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02826
12826

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.4s2077×body1280valid
822.0ms8006×body80valid
673.0ms1449×body640valid
209.0ms652×body320valid
70.0ms320×body160valid

Profiling

Loading profile data...