Details

Time bar (total: 3.9m)

sample6.9s

Algorithm
intervals
Results
6.6s1433×body10240exit
76.0ms256×body80valid

simplify3.1s

Counts
1 → 1

prune21.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize41.0ms

Local error

Found 4 expressions with local error:

36.6b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
0.3b
(* (atan2 x.im x.re) y.im)
0.2b
(* y.re (log (hypot x.re x.im)))
0.2b
(* (atan2 x.im x.re) y.re)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×*-un-lft-identity add-cube-cbrt
11×pow1
10×add-cbrt-cube associate-*r* add-exp-log
associate-*l*
log-prod
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sin-sum log-pow fma-udef
Counts
4 → 81
Calls
4 calls:
Slowest
6.0ms
(* y.re (log (hypot x.re x.im)))
6.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(* (atan2 x.im x.re) y.re)
4.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
161.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
92.0ms
(* y.re (log (hypot x.re x.im)))
28.0ms
(* (atan2 x.im x.re) y.im)
21.0ms
(* (atan2 x.im x.re) y.re)

simplify1.8s

Counts
93 → 93

prune1.6s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize111.0ms

Local error

Found 4 expressions with local error:

36.8b
(cos (* (atan2 x.im x.re) y.re))
36.6b
(sin (* (atan2 x.im x.re) y.re))
15.2b
(cos (* y.im (log (hypot x.re x.im))))
15.1b
(sin (* y.im (log (hypot x.re x.im))))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
12×log-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
distribute-rgt-in cos-sum distribute-lft-in sin-sum
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
Counts
4 → 52
Calls
4 calls:
Slowest
24.0ms
(cos (* (atan2 x.im x.re) y.re))
18.0ms
(cos (* y.im (log (hypot x.re x.im))))
18.0ms
(sin (* y.im (log (hypot x.re x.im))))
16.0ms
(sin (* (atan2 x.im x.re) y.re))

series414.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
158.0ms
(cos (* y.im (log (hypot x.re x.im))))
130.0ms
(sin (* y.im (log (hypot x.re x.im))))
67.0ms
(cos (* (atan2 x.im x.re) y.re))
60.0ms
(sin (* (atan2 x.im x.re) y.re))

simplify1.4s

Counts
64 → 64

prune1.4s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize565.0ms

Local error

Found 4 expressions with local error:

36.8b
(cos (* (atan2 x.im x.re) y.re))
36.6b
(sin (* (atan2 x.im x.re) y.re))
15.2b
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
15.2b
(cos (* y.im (log (hypot x.re x.im))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt cos-sum log-prod *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in
Counts
4 → 46
Calls
4 calls:
Slowest
15.0ms
(cos (* (atan2 x.im x.re) y.re))
10.0ms
(cos (* y.im (log (hypot x.re x.im))))
9.0ms
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
7.0ms
(sin (* (atan2 x.im x.re) y.re))

series555.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
272.0ms
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
152.0ms
(cos (* y.im (log (hypot x.re x.im))))
66.0ms
(sin (* (atan2 x.im x.re) y.re))
65.0ms
(cos (* (atan2 x.im x.re) y.re))

simplify2.4s

Counts
58 → 58

prune1.7s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize219.0ms

Local error

Found 4 expressions with local error:

36.8b
(cos (* (atan2 x.im x.re) y.re))
36.6b
(sin (* (atan2 x.im x.re) y.re))
15.2b
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
15.2b
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt insert-posit16 log1p-expm1-u add-log-exp
Counts
4 → 40
Calls
4 calls:
Slowest
22.0ms
(cos (* (atan2 x.im x.re) y.re))
11.0ms
(sin (* (atan2 x.im x.re) y.re))
9.0ms
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
9.0ms
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))

series700.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
301.0ms
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
264.0ms
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
72.0ms
(cos (* (atan2 x.im x.re) y.re))
63.0ms
(sin (* (atan2 x.im x.re) y.re))

simplify3.5s

Counts
52 → 52

prune1.9s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes396.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch8.0ms

end0.0ms

sample3.4m

Algorithm
intervals
Results
3.3m46488×body10240exit
3.1s8000×body80valid