Details

Time bar (total: 3.7m)

sample7.0s

Algorithm
intervals
Results
6.7s1658×body10240exit
90.0ms256×body80valid

simplify191.0ms

Calls
1 calls:
Slowest
190.0ms
(* (exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))) (sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re))))

prune45.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.6b

localize73.0ms

Local error

Found 4 expressions with local error:

37.0b
(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)

rewrite28.0ms

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

series249.0ms

Calls
4 calls:
Slowest
136.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
68.0ms
(* y.re (log (hypot x.re x.im)))
22.0ms
(* (atan2 x.im x.re) y.im)
22.0ms
(* (atan2 x.im x.re) y.re)

simplify647.0ms

Calls
27 calls:
Slowest
154.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
146.0ms
(* -1 (* y.re (log (/ -1 x.re))))
107.0ms
(* -1 (* y.re (log (/ 1 x.re))))
77.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ 1 x.re)))))
22.0ms
(+ (* (atan2 x.im x.re) y.re) (* y.im (log x.im)))

prune1.3s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

localize30.0ms

Local error

Found 4 expressions with local error:

37.0b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
37.0b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
37.0b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
0.6b
(cbrt (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
cbrt-prod sin-sum fma-udef
pow1/3
Calls
4 calls:
Slowest
5.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
5.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (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)))
3.0ms
(cbrt (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))

series589.0ms

Calls
4 calls:
Slowest
201.0ms
(cbrt (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))
146.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
129.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
113.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.1s

Calls
18 calls:
Slowest
213.0ms
(- (+ (* 1/3 (* y.im (* (exp (* 1/3 (- (log (/ 1 (pow (atan2 x.im x.re) 2))) (* 2 (log y.re))))) (log x.im)))) (exp (* 1/3 (+ (log (atan2 x.im x.re)) (log y.re))))) (* 7/81 (* (pow y.im 2) (* (pow (log x.im) 2) (exp (* 1/3 (+ (log (atan2 x.im x.re)) (log y.re))))))))
149.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
146.0ms
(pow (sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re))))) 1/3)
122.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
114.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))

prune1.2s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.6b

localize37.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube sin-sum add-exp-log add-cube-cbrt fma-udef insert-posit16 log1p-expm1-u add-log-exp
Calls
4 calls:
Slowest
3.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
2.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
2.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
2.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series510.0ms

Calls
4 calls:
Slowest
145.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
138.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
117.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
109.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify865.0ms

Calls
16 calls:
Slowest
130.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
128.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
119.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
114.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
84.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ 1 x.re)))))

prune1.4s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.6b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

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

series522.0ms

Calls
4 calls:
Slowest
144.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
137.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
127.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
114.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify881.0ms

Calls
16 calls:
Slowest
153.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
126.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
118.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
114.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
60.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ 1 x.re)))))

prune1.3s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.6b

regimes355.0ms

Accuracy

0% (0.0b remaining)

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

bsearch3.0ms

end0.0ms

sample3.4m

Algorithm
intervals
Results
3.3m47239×body10240exit
4.5s8000×body80valid