Details

Time bar (total: 30.1s)

sample650.0ms

Algorithm
intervals
Results
330.0ms81×body1280valid
93.0ms259×body80valid
64.0ms39×body640valid
42.0msbody2560valid
19.0ms16×body320valid
6.0msbody160valid

simplify1.4s

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

prune47.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.8b

localize73.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.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:
24.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)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(* y.re (log (hypot x.re x.im)))
24.0ms
(* (atan2 x.im x.re) y.re)
24.0ms
(* (atan2 x.im x.re) y.im)
174.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify1.3s

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

prune1.6s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.7b

localize64.0ms

Local error

Found 4 expressions with local error:

18.8b
(cos (* (atan2 x.im x.re) y.re))
19.1b
(sin (* (atan2 x.im x.re) y.re))
24.0b
(sin (* y.im (log (hypot x.re x.im))))
24.1b
(cos (* y.im (log (hypot x.re x.im))))

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

series382.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(cos (* (atan2 x.im x.re) y.re))
60.0ms
(sin (* (atan2 x.im x.re) y.re))
116.0ms
(sin (* y.im (log (hypot x.re x.im))))
158.0ms
(cos (* y.im (log (hypot x.re x.im))))

simplify1.3s

Counts
64 → 64
Iterations
IterNodes
done2030
52030
41441
3559
2280
1188
0134

prune1.5s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.6b

localize123.0ms

Local error

Found 4 expressions with local error:

18.8b
(cos (* (atan2 x.im x.re) y.re))
19.1b
(sin (* (atan2 x.im x.re) y.re))
24.0b
(sin (* y.im (log (hypot x.re x.im))))
24.1b
(cos (* y.im (log (hypot x.re x.im))))

rewrite75.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:
16.0ms
(cos (* (atan2 x.im x.re) y.re))
22.0ms
(sin (* (atan2 x.im x.re) y.re))
18.0ms
(sin (* y.im (log (hypot x.re x.im))))
19.0ms
(cos (* y.im (log (hypot x.re x.im))))

series435.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(cos (* (atan2 x.im x.re) y.re))
66.0ms
(sin (* (atan2 x.im x.re) y.re))
171.0ms
(sin (* y.im (log (hypot x.re x.im))))
145.0ms
(cos (* y.im (log (hypot x.re x.im))))

simplify1.1s

Counts
64 → 64
Iterations
IterNodes
done2030
52030
41441
3559
2280
1188
0134

prune1.6s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 2.6b

localize200.0ms

Local error

Found 4 expressions with local error:

24.1b
(cos (* y.im (log (hypot x.re x.im))))
24.1b
(cos (* y.im (log (cbrt (hypot x.re x.im)))))
24.4b
(cos (* y.im (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im))))))
24.6b
(sin (* y.im (log (cbrt (hypot x.re x.im)))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
32×log-prod
20×cos-sum
16×distribute-rgt-in distribute-lft-in
14×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
12×cbrt-prod sin-sum
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
Counts
4 → 72
Calls
4 calls:
19.0ms
(cos (* y.im (log (hypot x.re x.im))))
20.0ms
(cos (* y.im (log (cbrt (hypot x.re x.im)))))
10.0ms
(cos (* y.im (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im))))))
11.0ms
(sin (* y.im (log (cbrt (hypot x.re x.im)))))

series742.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(cos (* y.im (log (hypot x.re x.im))))
209.0ms
(cos (* y.im (log (cbrt (hypot x.re x.im)))))
179.0ms
(cos (* y.im (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im))))))
188.0ms
(sin (* y.im (log (cbrt (hypot x.re x.im)))))

simplify1.5s

Counts
84 → 84
Iterations
IterNodes
done2000
42000
31715
2641
1372
0247

prune2.7s

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 2.5b

regimes863.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify9.0ms

Iterations
IterNodes
done31
131
023

end0.0ms

sample11.9s

Algorithm
intervals
Results
5.5s2254×body1280valid
2.7s7983×body80valid
2.0s1375×body640valid
937.0ms545×body320valid
229.0ms52×body2560valid
125.0ms223×body160valid