Details

Time bar (total: 7.3s)

sample369.0ms

Algorithm
intervals
Results
42.0ms64×body1280valid
27.0ms256×body80valid
22.0ms49×body640valid
6.0msbody2560valid
6.0ms19×body320valid
2.0ms10×body160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117

prune17.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.1b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (atan2 x.im x.re) y.re)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.0b
(sin (+ (* (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
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.re)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.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.re)
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.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)))

simplify81.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0211458
1555417
21277415
32762415
45002415

prune379.0ms

Filtered
78 candidates to 66 candidates (84.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New70878
Fresh011
Picked101
Done000
Total71980

Merged error: 18.4b

Counts
80 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (atan2 x.im x.re) y.im)
0.7b
(* (atan2 x.im x.re) y.re)
29.2b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.0b
(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.im)
4.0ms
(* (atan2 x.im x.re) y.re)
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)))

series224.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0259390
1731350
21732349
33569349
45002349

prune367.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New74680
Fresh628
Picked101
Done000
Total81889

Merged error: 2.7b

Counts
89 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log (hypot x.re x.im)) y.im)
0.7b
(* (atan2 x.im x.re) y.im)
0.7b
(* (atan2 x.im x.re) y.re)
32.0b
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite20.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:
7.0ms
(* (log (hypot x.re x.im)) y.im)
4.0ms
(* (atan2 x.im x.re) y.im)
3.0ms
(* (atan2 x.im x.re) y.re)
5.0ms
(sin (+ (* (log (hypot x.re x.im)) y.im) (* (atan2 x.im x.re) y.re)))

series285.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0223400
1696351
21619349
32891349
45001349

prune330.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New691483
Fresh707
Picked101
Done000
Total771491

Merged error: 2.4b

Counts
91 → 14

localize25.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (* (log (hypot x.re x.im)) y.im))
0.8b
(cbrt (* (log (hypot x.re x.im)) y.im))
0.8b
(cbrt (* (log (hypot x.re x.im)) y.im))
32.1b
(sin (+ (* (* (cbrt (* (log (hypot x.re x.im)) y.im)) (cbrt (* (log (hypot x.re x.im)) y.im))) (cbrt (* (log (hypot x.re x.im)) y.im))) (* (atan2 x.im x.re) y.re)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod pow1/3
sin-sum
Counts
4 → 43
Calls
4 calls:
2.0ms
(cbrt (* (log (hypot x.re x.im)) y.im))
3.0ms
(cbrt (* (log (hypot x.re x.im)) y.im))
3.0ms
(cbrt (* (log (hypot x.re x.im)) y.im))
11.0ms
(sin (+ (* (* (cbrt (* (log (hypot x.re x.im)) y.im)) (cbrt (* (log (hypot x.re x.im)) y.im))) (cbrt (* (log (hypot x.re x.im)) y.im))) (* (atan2 x.im x.re) y.re)))

series656.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(cbrt (* (log (hypot x.re x.im)) y.im))
162.0ms
(cbrt (* (log (hypot x.re x.im)) y.im))
158.0ms
(cbrt (* (log (hypot x.re x.im)) y.im))
178.0ms
(sin (+ (* (* (cbrt (* (log (hypot x.re x.im)) y.im)) (cbrt (* (log (hypot x.re x.im)) y.im))) (cbrt (* (log (hypot x.re x.im)) y.im))) (* (atan2 x.im x.re) y.re)))

simplify50.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (44.0ms)

IterNodesCost
0132554
1220490
2509475
31437463
45002460

prune252.0ms

Filtered
55 candidates to 51 candidates (92.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New53255
Fresh01313
Picked101
Done000
Total541569

Merged error: 2.4b

Counts
69 → 15

regimes330.0ms

Accuracy

0% (0.7b remaining)

Error of 3.8b against oracle of 3.1b and baseline of 3.8b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02828
12828

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2090×body1280valid
724.0ms7989×body80valid
604.0ms1381×body640valid
159.0ms543×body320valid
66.0ms42×body2560valid
49.0ms253×body160valid