Details

Time bar (total: 30.4s)

sample361.0ms

Algorithm
intervals
Results
96.0ms38×body640valid
89.0ms59×body1280valid
55.0ms260×body80valid
13.0ms19×body320valid
3.0msbody2560valid
3.0msbody160valid

simplify2.5s

Counts
1 → 1
Iterations
IterNodes
done5000
5823
4210
395
262
135
019

prune28.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.2b

localize84.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y.re (log (hypot x.re x.im)))
1.7b
(* (atan2 x.im x.re) y.re)
2.2b
(* (atan2 x.im x.re) y.im)
34.4b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite63.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:
19.0ms
(* y.re (log (hypot x.re x.im)))
15.0ms
(* (atan2 x.im x.re) y.re)
15.0ms
(* (atan2 x.im x.re) y.im)
9.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series391.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(* y.re (log (hypot x.re x.im)))
32.0ms
(* (atan2 x.im x.re) y.re)
32.0ms
(* (atan2 x.im x.re) y.im)
209.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify3.2s

Counts
93 → 93
Iterations
IterNodes
done5000
43768
31505
2616
1270
0142

prune956.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.1b

localize84.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y.re (log (hypot x.re x.im)))
1.7b
(* (atan2 x.im x.re) y.re)
2.2b
(* (atan2 x.im x.re) y.im)
34.4b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite35.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:
9.0ms
(* y.re (log (hypot x.re x.im)))
13.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(* (atan2 x.im x.re) y.im)
3.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series361.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* y.re (log (hypot x.re x.im)))
30.0ms
(* (atan2 x.im x.re) y.re)
30.0ms
(* (atan2 x.im x.re) y.im)
187.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify3.8s

Counts
93 → 93
Iterations
IterNodes
done5000
43768
31505
2616
1270
0142

prune1.0s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.1b

localize115.0ms

Local error

Found 4 expressions with local error:

16.0b
(sin (* (atan2 x.im x.re) y.re))
16.1b
(cos (* (atan2 x.im x.re) y.re))
25.8b
(cos (* y.im (log (hypot x.re x.im))))
25.9b
(sin (* y.im (log (hypot x.re x.im))))

rewrite52.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:
8.0ms
(sin (* (atan2 x.im x.re) y.re))
8.0ms
(cos (* (atan2 x.im x.re) y.re))
12.0ms
(cos (* y.im (log (hypot x.re x.im))))
23.0ms
(sin (* y.im (log (hypot x.re x.im))))

series392.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(sin (* (atan2 x.im x.re) y.re))
55.0ms
(cos (* (atan2 x.im x.re) y.re))
156.0ms
(cos (* y.im (log (hypot x.re x.im))))
119.0ms
(sin (* y.im (log (hypot x.re x.im))))

simplify2.1s

Counts
64 → 64
Iterations
IterNodes
done5000
41483
3553
2278
1186
0134

prune835.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.9b

localize135.0ms

Local error

Found 4 expressions with local error:

25.7b
(sin (* (log (cbrt (hypot x.re x.im))) y.im))
25.8b
(cos (* y.im (log (hypot x.re x.im))))
26.0b
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
26.0b
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))

rewrite64.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:
8.0ms
(sin (* (log (cbrt (hypot x.re x.im))) y.im))
17.0ms
(cos (* y.im (log (hypot x.re x.im))))
20.0ms
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
18.0ms
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))

series914.0ms

Counts
4 → 12
Calls
4 calls:
272.0ms
(sin (* (log (cbrt (hypot x.re x.im))) y.im))
180.0ms
(cos (* y.im (log (hypot x.re x.im))))
246.0ms
(sin (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
216.0ms
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))

simplify2.1s

Counts
58 → 58
Iterations
IterNodes
done5001
42629
3921
2403
1216
0142

prune1.1s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 3.7b

regimes842.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations
IterNodes
done30
130
023

end0.0ms

sample8.8s

Algorithm
intervals
Results
3.4s2158×body1280valid
2.0s1379×body640valid
2.0s7928×body80valid
573.0ms207×body160valid
317.0ms550×body320valid
114.0ms40×body2560valid