Details

Time bar (total: 7.1s)

sample364.0ms

Algorithm
intervals
Results
41.0ms59×body1280valid
29.0ms251×body80valid
19.0ms41×body640valid
5.0ms14×body320valid
3.0ms13×body160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.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: 31.2b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

2.5b
(* (atan2 x.im x.re) y.im)
27.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.2b
(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
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:
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)))

series244.0ms

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

Useful iterations: 2 (15.0ms)

IterNodesCost
0207456
1556415
21286411
32863411
45002411

prune335.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New73578
Fresh000
Picked101
Done000
Total74579

Merged error: 17.4b

Counts
79 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

1.7b
(* (atan2 x.im x.re) y.re)
2.5b
(* (atan2 x.im x.re) y.im)
27.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.2b
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite20.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)
3.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)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.re)
19.0ms
(* (atan2 x.im x.re) y.im)
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
141.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

prune323.0ms

Filtered
80 candidates to 61 candidates (76.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New77380
Fresh224
Picked101
Done000
Total80585

Merged error: 4.0b

Counts
85 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (hypot x.re x.im)) y.im)
1.7b
(* (atan2 x.im x.re) y.re)
2.5b
(* (atan2 x.im x.re) y.im)
36.2b
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite18.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)
4.0ms
(* (atan2 x.im x.re) y.re)
4.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)))

series272.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.re)
16.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)))

simplify79.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0220396
1690347
21609345
32876345
45001345

prune295.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New731083
Fresh404
Picked101
Done000
Total781088

Merged error: 3.3b

Counts
88 → 10

localize25.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re))) 3)
1.7b
(* (atan2 x.im x.re) y.re)
2.5b
(* (atan2 x.im x.re) y.im)
36.2b
(cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow cube-prod
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cube-mult pow-to-exp cos-sum pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 75
Calls
4 calls:
4.0ms
(pow (cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re))) 3)
4.0ms
(* (atan2 x.im x.re) y.re)
4.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)))

series391.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(pow (cos (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re))) 3)
20.0ms
(* (atan2 x.im x.re) y.re)
16.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)))

simplify153.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0238567
1815504
24058500
35001500

prune275.0ms

Filtered
87 candidates to 58 candidates (66.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh099
Picked011
Done000
Total871097

Merged error: 3.3b

Counts
97 → 10

regimes225.0ms

Accuracy

0% (0.6b remaining)

Error of 3.4b against oracle of 2.8b and baseline of 3.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02517
12517

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.4s2044×body1280valid
832.0ms7989×body80valid
657.0ms1430×body640valid
219.0ms656×body320valid
70.0ms329×body160valid