Details

Time bar (total: 29.1s)

sample611.0ms

Algorithm
intervals
Results
267.0ms71×body1280valid
119.0ms254×body80valid
62.0ms39×body640valid
46.0ms14×body320valid
15.0msbody2560valid
10.0msbody160valid

simplify1.6s

Counts
1 → 1
Iterations
IterNodes
done2030
62030
5823
4210
395
262
135
019

prune35.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.4b

localize49.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y.re (log (hypot x.re x.im)))
2.1b
(* (atan2 x.im x.re) y.re)
2.7b
(* (atan2 x.im x.re) y.im)
34.9b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

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

series341.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(* y.re (log (hypot x.re x.im)))
18.0ms
(* (atan2 x.im x.re) y.re)
25.0ms
(* (atan2 x.im x.re) y.im)
166.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.2s

Counts
93 → 93
Iterations
IterNodes
done2002
42002
31505
2616
1270
0142

prune1.7s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.4b

localize76.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
pow1 add-cbrt-cube add-exp-log
associate-*r* associate-*l*
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
cbrt-prod
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sin-sum pow1/3 fma-udef
Counts
4 → 67
Calls
4 calls:
1.0ms
(cbrt (hypot x.re x.im))
6.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)
2.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series390.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(cbrt (hypot x.re x.im))
19.0ms
(* (atan2 x.im x.re) y.re)
34.0ms
(* (atan2 x.im x.re) y.im)
188.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.4s

Counts
79 → 79
Iterations
IterNodes
done2000
42000
31453
2516
1234
0126

prune1.9s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 2.4b

localize66.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
expm1-log1p-u insert-posit16 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 → 54
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.im)
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)))

series521.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (atan2 x.im x.re) y.im)
153.0ms
(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)))
158.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.3s

Counts
66 → 66
Iterations
IterNodes
done2000
52000
41279
3547
2259
1130
073

prune1.8s

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 2.4b

localize70.0ms

Local error

Found 4 expressions with local error:

2.1b
(* (atan2 x.im x.re) y.re)
2.7b
(* (atan2 x.im x.re) y.im)
34.9b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
60.0b
(posit16->real (real->posit16 (* y.re (log (hypot x.re x.im)))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
associate-*r* associate-*l*
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sin-sum fma-udef remove-posit16
Counts
4 → 64
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
1.0ms
(posit16->real (real->posit16 (* y.re (log (hypot x.re x.im)))))

series287.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (atan2 x.im x.re) y.re)
20.0ms
(* (atan2 x.im x.re) y.im)
131.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
118.0ms
(posit16->real (real->posit16 (* y.re (log (hypot x.re x.im)))))

simplify1.2s

Counts
76 → 76
Iterations
IterNodes
done2003
42003
31176
2454
1207
0114

prune2.4s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 2.4b

regimes691.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done27
127
021

end0.0ms

sample11.5s

Algorithm
intervals
Results
5.0s2155×body1280valid
3.3s7955×body80valid
1.9s1395×body640valid
448.0ms542×body320valid
168.0ms252×body160valid
162.0ms49×body2560valid