Details

Time bar (total: 32.9s)

sample1.1s

Algorithm
intervals
Results
607.0ms30×body640valid
241.0ms257×body80valid
158.0ms61×body1280valid
14.0ms15×body320valid
5.0msbody160valid

simplify2.6s

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

prune23.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 3.1b

localize54.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y.re (log (hypot x.re x.im)))
1.0b
(* (atan2 x.im x.re) y.re)
1.3b
(* (atan2 x.im x.re) y.im)
31.9b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite55.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:
13.0ms
(* y.re (log (hypot x.re x.im)))
11.0ms
(* (atan2 x.im x.re) y.re)
11.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:
109.0ms
(* y.re (log (hypot x.re x.im)))
27.0ms
(* (atan2 x.im x.re) y.re)
20.0ms
(* (atan2 x.im x.re) y.im)
184.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

prune891.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.0b

localize68.0ms

Local error

Found 4 expressions with local error:

0.4b
(log1p (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))
1.0b
(* (atan2 x.im x.re) y.re)
1.3b
(* (atan2 x.im x.re) y.im)
31.9b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite21.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
log1p-udef sin-sum log1p-expm1 fma-udef
Counts
4 → 65
Calls
4 calls:
0.0ms
(log1p (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))
11.0ms
(* (atan2 x.im x.re) y.re)
6.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)))

series430.0ms

Counts
4 → 12
Calls
4 calls:
218.0ms
(log1p (sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re))))
24.0ms
(* (atan2 x.im x.re) y.re)
18.0ms
(* (atan2 x.im x.re) y.im)
170.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify3.7s

Counts
77 → 77
Iterations
IterNodes
done5006
44440
31373
2500
1221
0118

prune682.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.9b

localize64.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (* y.re (log (hypot x.re x.im))))
1.0b
(* (atan2 x.im x.re) y.re)
1.3b
(* (atan2 x.im x.re) y.im)
31.9b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite36.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
cbrt-prod sin-sum pow1/3 fma-udef
Counts
4 → 65
Calls
4 calls:
3.0ms
(cbrt (* y.re (log (hypot x.re x.im))))
7.0ms
(* (atan2 x.im x.re) y.re)
21.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)))

series468.0ms

Counts
4 → 12
Calls
4 calls:
285.0ms
(cbrt (* y.re (log (hypot x.re x.im))))
18.0ms
(* (atan2 x.im x.re) y.re)
30.0ms
(* (atan2 x.im x.re) y.im)
136.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify2.3s

Counts
77 → 77
Iterations
IterNodes
done5001
42689
31127
2496
1235
0130

prune841.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.9b

localize73.0ms

Local error

Found 4 expressions with local error:

18.7b
(sin (* (atan2 x.im x.re) y.re))
19.1b
(cos (* (atan2 x.im x.re) y.re))
22.9b
(sin (* y.im (log (hypot x.re x.im))))
23.0b
(cos (* y.im (log (hypot x.re x.im))))

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

series420.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(sin (* (atan2 x.im x.re) y.re))
58.0ms
(cos (* (atan2 x.im x.re) y.re))
154.0ms
(sin (* y.im (log (hypot x.re x.im))))
152.0ms
(cos (* y.im (log (hypot x.re x.im))))

simplify2.2s

Counts
64 → 64
Iterations
IterNodes
done5000
41441
3559
2280
1188
0134

prune826.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 2.8b

regimes553.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify8.0ms

Iterations
IterNodes
done32
132
024

end0.0ms

sample11.9s

Algorithm
intervals
Results
5.0s2190×body1280valid
2.7s1392×body640valid
2.6s7957×body80valid
593.0ms590×body320valid
225.0ms56×body2560valid
217.0ms247×body160valid