Details

Time bar (total: 29.3s)

sample445.0ms

Algorithm
intervals
Results
162.0ms68×body1280valid
82.0ms256×body80valid
57.0ms42×body640valid
16.0ms16×body320valid
9.0msbody160valid

simplify1.4s

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

prune30.0ms

Pruning

2 alts after pruning (2 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.5b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite42.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
cos-sum log-pow fma-udef
Counts
4 → 81
Calls
4 calls:
14.0ms
(* y.re (log (hypot x.re x.im)))
6.0ms
(* (atan2 x.im x.re) y.re)
10.0ms
(* (atan2 x.im x.re) y.im)
7.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series338.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(* y.re (log (hypot x.re x.im)))
28.0ms
(* (atan2 x.im x.re) y.re)
28.0ms
(* (atan2 x.im x.re) y.im)
184.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify998.0ms

Counts
93 → 93
Iterations
IterNodes
done2002
32002
2736
1298
0150

prune1.6s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.4b

localize64.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (log (hypot x.re x.im))) (cbrt (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.5b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×cbrt-prod
21×pow1
18×*-un-lft-identity
16×add-cube-cbrt
13×associate-*r* associate-*l*
10×add-exp-log
swap-sqr
add-cbrt-cube
pow1/3 log-pow unswap-sqr
expm1-log1p-u pow-prod-down insert-posit16 log1p-expm1-u add-log-exp
prod-exp *-commutative cbrt-unprod
pow-sqr pow-prod-up
pow2 cos-sum pow-plus fma-udef
Counts
4 → 101
Calls
4 calls:
28.0ms
(* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im))))
12.0ms
(* (atan2 x.im x.re) y.re)
12.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series455.0ms

Counts
4 → 12
Calls
4 calls:
202.0ms
(* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im))))
30.0ms
(* (atan2 x.im x.re) y.re)
30.0ms
(* (atan2 x.im x.re) y.im)
193.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.3s

Counts
113 → 113
Iterations
IterNodes
done2000
42000
31821
2715
1318
0152

prune2.6s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 2.4b

localize112.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (log (hypot x.re x.im))) (cbrt (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.5b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×cbrt-prod
21×pow1
18×*-un-lft-identity
16×add-cube-cbrt
13×associate-*r* associate-*l*
10×add-exp-log
swap-sqr
add-cbrt-cube
pow1/3 log-pow unswap-sqr
expm1-log1p-u pow-prod-down insert-posit16 log1p-expm1-u add-log-exp
prod-exp *-commutative cbrt-unprod
pow-sqr pow-prod-up
pow2 cos-sum pow-plus fma-udef
Counts
4 → 101
Calls
4 calls:
18.0ms
(* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im))))
12.0ms
(* (atan2 x.im x.re) y.re)
12.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series395.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(* (cbrt (log (hypot x.re x.im))) (cbrt (log (hypot x.re x.im))))
18.0ms
(* (atan2 x.im x.re) y.re)
24.0ms
(* (atan2 x.im x.re) y.im)
160.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.4s

Counts
113 → 113
Iterations
IterNodes
done2000
42000
31821
2715
1318
0152

prune2.3s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 2.4b

localize80.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)
23.7b
(posit16->real (real->posit16 (cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))))
34.5b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite26.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
cos-sum fma-udef remove-posit16
Counts
4 → 64
Calls
4 calls:
8.0ms
(* (atan2 x.im x.re) y.re)
12.0ms
(* (atan2 x.im x.re) y.im)
0.0ms
(posit16->real (real->posit16 (cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))))
5.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (atan2 x.im x.re) y.re)
37.0ms
(* (atan2 x.im x.re) y.im)
148.0ms
(posit16->real (real->posit16 (cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))))
136.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.4s

Counts
76 → 76
Iterations
IterNodes
done2010
42010
31445
2495
1219
0116

prune2.4s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.3b

regimes480.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify8.0ms

Iterations
IterNodes
done23
123
019

end0.0ms

sample10.9s

Algorithm
intervals
Results
4.4s1975×body1280valid
2.6s7979×body80valid
2.4s1448×body640valid
702.0ms639×body320valid
267.0ms307×body160valid