Details

Time bar (total: 4.0m)

sample7.1s

Algorithm
intervals
Results
6.9s1602×body10240exit
72.0ms256×body80valid

simplify342.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
342.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))))

prune33.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize44.0ms

Local error

Found 4 expressions with local error:

37.5b
(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.re)
0.3b
(* y.re (log (hypot x.re x.im)))
0.2b
(* (atan2 x.im x.re) y.im)

rewrite60.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
26.0ms
(* y.re (log (hypot x.re x.im)))
12.0ms
(* (atan2 x.im x.re) y.im)
11.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
165.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
121.0ms
(* y.re (log (hypot x.re x.im)))
30.0ms
(* (atan2 x.im x.re) y.im)
19.0ms
(* (atan2 x.im x.re) y.re)

simplify1.7s

Counts
48 → 93
Calls
48 calls:
Slowest
373.0ms
(* (* (* y.re y.re) y.re) (* (* (log (hypot x.re x.im)) (log (hypot x.re x.im))) (log (hypot x.re x.im))))
334.0ms
(* (* (* (atan2 x.im x.re) (atan2 x.im x.re)) (atan2 x.im x.re)) (* (* y.re y.re) y.re))
314.0ms
(* (* (* (atan2 x.im x.re) (atan2 x.im x.re)) (atan2 x.im x.re)) (* (* y.im y.im) y.im))
139.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
105.0ms
(* -1 (* y.re (log (/ -1 x.re))))

prune1.6s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize85.0ms

Local error

Found 4 expressions with local error:

37.5b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
37.5b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
37.5b
(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))))

rewrite10.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
Counts
4 → 47
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
(cbrt (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))

series754.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
285.0ms
(cbrt (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))
178.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
156.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
135.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.7s

Counts
18 → 59
Calls
18 calls:
Slowest
366.0ms
(pow (sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re))))) 1/3)
280.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))))))))
240.0ms
(pow (sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ 1 x.re))))) 1/3)
176.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
112.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))

prune1.2s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize117.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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
Counts
4 → 44
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)))
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)))

series695.0ms

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

simplify910.0ms

Counts
16 → 56
Calls
16 calls:
Slowest
149.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)))))
112.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
109.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
81.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ 1 x.re)))))

prune1.3s

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize61.0ms

Local error

Found 4 expressions with local error:

37.5b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
37.5b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
37.5b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
8.5b
(cbrt (* (* (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))) (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))) (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))))

rewrite58.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
sin-sum fma-udef
cbrt-prod cbrt-div pow1/3 pow3 associate-*l/ rem-cbrt-cube sin-mult
Counts
4 → 47
Calls
4 calls:
Slowest
35.0ms
(cbrt (* (* (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))) (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))) (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))))
12.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)))
5.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series636.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
178.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
172.0ms
(cbrt (* (* (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))) (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))) (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))))
152.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
135.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.1s

Counts
18 → 59
Calls
18 calls:
Slowest
150.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
147.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
137.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))
130.0ms
(cbrt (* (- (cos (- (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)) (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))) (cos (+ (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)) (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))) (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))))
114.0ms
(sin (- (* (atan2 x.im x.re) y.re) (* y.im (log (/ -1 x.re)))))

prune1.0s

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.0b

regimes433.0ms

Accuracy

0% (0.0b remaining)

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

bsearch3.0ms

end0.0ms

sample3.7m

Algorithm
intervals
Results
3.6m48217×body10240exit
3.3s8000×body80valid