Details

Time bar (total: 24.1s)

sample527.0ms

Algorithm
intervals
Results
160.0ms254×body80valid
145.0ms71×body1280valid
73.0ms39×body640valid
9.0ms14×body320valid
9.0msbody2560valid
7.0msbody160valid

simplify1.2s

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

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.4b

localize43.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)))

rewrite29.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)))
6.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series346.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* y.re (log (hypot x.re x.im)))
31.0ms
(* (atan2 x.im x.re) y.re)
31.0ms
(* (atan2 x.im x.re) y.im)
168.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.5s

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

prune807.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.4b

localize70.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)))

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

series362.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(cbrt (hypot x.re x.im))
27.0ms
(* (atan2 x.im x.re) y.re)
31.0ms
(* (atan2 x.im x.re) y.im)
171.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.3s

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

prune879.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 2.4b

localize101.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)))

rewrite32.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:
17.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)))
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)))

series464.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (atan2 x.im x.re) y.im)
154.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)))
163.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

prune682.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 2.4b

localize88.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)))))

rewrite20.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:
11.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)))
0.0ms
(posit16->real (real->posit16 (* y.re (log (hypot x.re x.im)))))

series353.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (atan2 x.im x.re) y.re)
19.0ms
(* (atan2 x.im x.re) y.im)
177.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
126.0ms
(posit16->real (real->posit16 (* y.re (log (hypot x.re x.im)))))

simplify1.1s

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

prune1.1s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 2.4b

regimes592.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify7.0ms

Iterations
IterNodes
done27
127
021

end0.0ms

sample11.3s

Algorithm
intervals
Results
5.3s2155×body1280valid
2.5s7955×body80valid
2.0s1395×body640valid
605.0ms542×body320valid
219.0ms49×body2560valid
214.0ms252×body160valid