Details

Time bar (total: 23.9s)

sample423.0ms

Algorithm
intervals
Results
119.0ms83×body1280valid
63.0msbody160valid
57.0ms258×body80valid
43.0ms43×body640valid
15.0ms23×body320valid
7.0msbody2560valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
01937
13526
26325
39925
423225
5103425
done500025

prune23.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 8.4b

localize33.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
1.5b
(* (atan2 x.im x.re) y.im)
1.8b
(* (atan2 x.im x.re) y.re)
33.5b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity
21×times-frac
12×unpow-prod-down
10×add-exp-log add-cbrt-cube
pow1
associate-/l*
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
div-exp associate-/r*
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cbrt-undiv pow-to-exp frac-2neg sin-sum pow-exp clear-num fma-udef div-inv
Counts
4 → 97
Calls
4 calls:
12.0ms
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
7.0ms
(* (atan2 x.im x.re) y.im)
7.0ms
(* (atan2 x.im x.re) y.re)
5.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series509.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
21.0ms
(* (atan2 x.im x.re) y.im)
24.0ms
(* (atan2 x.im x.re) y.re)
286.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify963.0ms

Counts
109 → 109
Iterations

Useful iterations: done (958.0ms)

IterNodesCost
01851599
13531557
212291451
done50011444

prune815.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.5b

localize43.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (hypot x.re x.im)) y.re)
1.5b
(* (atan2 x.im x.re) y.im)
1.8b
(* (atan2 x.im x.re) y.re)
33.5b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite57.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 fma-udef
Counts
4 → 71
Calls
4 calls:
17.0ms
(* (log (hypot x.re x.im)) y.re)
15.0ms
(* (atan2 x.im x.re) y.im)
16.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series533.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(* (log (hypot x.re x.im)) y.re)
33.0ms
(* (atan2 x.im x.re) y.im)
37.0ms
(* (atan2 x.im x.re) y.re)
294.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify734.0ms

Counts
83 → 83
Iterations

Useful iterations: done (731.0ms)

IterNodesCost
0120757
1241741
2836655
done5000649

prune563.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.5b

localize64.0ms

Local error

Found 4 expressions with local error:

1.8b
(* (atan2 x.im x.re) y.re)
33.5b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
33.5b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
33.5b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
sin-sum associate-*r* associate-*l* fma-udef
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 50
Calls
4 calls:
8.0ms
(* (atan2 x.im x.re) y.re)
4.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
6.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
16.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series723.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (atan2 x.im x.re) y.re)
250.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
232.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
207.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify3.1s

Counts
62 → 62
Iterations

Useful iterations: 3 (448.0ms)

IterNodesCost
069827
1124818
2356726
32316720
done5001720

prune617.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 4.5b

localize85.0ms

Local error

Found 4 expressions with local error:

6.7b
(cbrt (atan2 x.im x.re))
33.5b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
33.5b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
33.6b
(sin (fma (log (hypot x.re x.im)) y.im (* (* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re))) (* (cbrt (atan2 x.im x.re)) y.re))))

rewrite12.0ms

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

series811.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(cbrt (atan2 x.im x.re))
276.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
226.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
235.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re))) (* (cbrt (atan2 x.im x.re)) y.re))))

simplify2.4s

Counts
55 → 55
Iterations

Useful iterations: 3 (162.0ms)

IterNodesCost
074920
1118910
2226708
3624663
42657663
done5001663

prune508.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 4.5b

regimes566.0ms

Accuracy

0% (0.6b remaining)

Error of 4.2b against oracle of 3.6b and baseline of 4.2b

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02566
13266
done3266

end0.0ms

sample8.6s

Algorithm
intervals
Results
3.2s2154×body1280valid
2.8s7946×body80valid
1.3s1429×body640valid
309.0ms545×body320valid
131.0ms224×body160valid
109.0ms47×body2560valid