Details

Time bar (total: 7.7s)

sample376.0ms

Algorithm
intervals
Results
45.0ms62×body1280valid
30.0ms253×body80valid
18.0ms36×body640valid
6.0ms18×body320valid
4.0msbody2560valid
2.0msbody160valid

simplify40.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.8b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

1.4b
(* (atan2 x.im x.re) y.im)
29.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.5b
(sin (+ (* (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
sin-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)))
5.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
9.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series252.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)))
164.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
78 → 78
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0213458
1565417
21299415
32889415
45003415

prune377.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New681078
Fresh000
Picked101
Done000
Total691079

Merged error: 20.0b

Counts
79 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

0.9b
(* (atan2 x.im x.re) y.re)
1.4b
(* (atan2 x.im x.re) y.im)
29.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.5b
(sin (+ (* (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 sqrt-pow1 flip3-+ pow1/2 sin-sum flip-+ hypot-def
Counts
4 → 68
Calls
4 calls:
3.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
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (atan2 x.im x.re) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
153.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify92.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0259390
1731350
21732349
33569349
45002349

prune380.0ms

Filtered
80 candidates to 61 candidates (76.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New701080
Fresh639
Picked101
Done000
Total771390

Merged error: 3.9b

Counts
90 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (hypot x.re x.im)) y.im)
0.9b
(* (atan2 x.im x.re) y.re)
1.4b
(* (atan2 x.im x.re) y.im)
32.5b
(sin (+ (* (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
sin-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)
3.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series288.0ms

Counts
4 → 12
Calls
4 calls:
101.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)
155.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

simplify74.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0223400
1696351
21619349
32891349
45001349

prune330.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New711283
Fresh12012
Picked101
Done000
Total841296

Merged error: 3.5b

Counts
96 → 12

localize27.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im))))
0.9b
(* (atan2 x.im x.re) y.re)
1.4b
(* (atan2 x.im x.re) y.im)
32.7b
(sin (+ (* (* (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)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×cbrt-prod
21×pow1
18×*-un-lft-identity
16×add-cube-cbrt
13×associate-*r* associate-*l*
10×add-exp-log
swap-sqr
add-cbrt-cube
pow1/3 log-pow unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
prod-exp *-commutative cbrt-unprod
pow-sqr pow-prod-up
pow2 pow-plus sin-sum
Counts
4 → 97
Calls
4 calls:
7.0ms
(* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im))))
4.0ms
(* (atan2 x.im x.re) y.re)
4.0ms
(* (atan2 x.im x.re) y.im)
11.0ms
(sin (+ (* (* (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)))

series334.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im))))
16.0ms
(* (atan2 x.im x.re) y.re)
20.0ms
(* (atan2 x.im x.re) y.im)
152.0ms
(sin (+ (* (* (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)))

simplify116.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0267826
1852743
23601688
35002683

prune365.0ms

Filtered
109 candidates to 73 candidates (67.0%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1045109
Fresh01111
Picked101
Done000
Total10516121

Merged error: 3.4b

Counts
121 → 16

regimes363.0ms

Accuracy

0% (0.7b remaining)

Error of 3.7b against oracle of 3.0b and baseline of 3.7b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02826
12826

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.5s2132×body1280valid
843.0ms7949×body80valid
708.0ms1440×body640valid
197.0ms568×body320valid
71.0ms43×body2560valid
51.0ms230×body160valid