Details

Time bar (total: 25.1s)

sample445.0ms

Algorithm
intervals
Results
115.0ms255×body80valid
113.0ms61×body1280valid
31.0ms37×body640valid
11.0ms19×body320valid
9.0msbody2560valid
1.0msbody160valid

simplify2.4s

Counts
1 → 1
Iterations
IterNodes
done5001
51130
4249
399
263
135
019

prune30.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.2b

localize48.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y.re (log (hypot x.re x.im)))
0.7b
(* (atan2 x.im x.re) y.re)
2.4b
(* (atan2 x.im x.re) y.im)
34.0b
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite38.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 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 → 77
Calls
4 calls:
13.0ms
(* y.re (log (hypot x.re x.im)))
10.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)))

series367.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(* y.re (log (hypot x.re x.im)))
28.0ms
(* (atan2 x.im x.re) y.re)
19.0ms
(* (atan2 x.im x.re) y.im)
214.0ms
(sin (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify952.0ms

Counts
89 → 89
Iterations
IterNodes
done5000
2871
1270
0138

prune832.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.1b

localize96.0ms

Local error

Found 4 expressions with local error:

18.0b
(cos (* (atan2 x.im x.re) y.re))
18.3b
(sin (* (atan2 x.im x.re) y.re))
25.8b
(sin (* y.im (log (hypot x.re x.im))))
26.3b
(cos (* y.im (log (hypot x.re x.im))))

rewrite50.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 log1p-expm1-u add-log-exp
Counts
4 → 48
Calls
4 calls:
11.0ms
(cos (* (atan2 x.im x.re) y.re))
15.0ms
(sin (* (atan2 x.im x.re) y.re))
14.0ms
(sin (* y.im (log (hypot x.re x.im))))
8.0ms
(cos (* y.im (log (hypot x.re x.im))))

series441.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(cos (* (atan2 x.im x.re) y.re))
49.0ms
(sin (* (atan2 x.im x.re) y.re))
169.0ms
(sin (* y.im (log (hypot x.re x.im))))
153.0ms
(cos (* y.im (log (hypot x.re x.im))))

simplify989.0ms

Counts
60 → 60
Iterations
IterNodes
done5000
31235
2367
1184
0130

prune848.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 3.8b

localize204.0ms

Local error

Found 4 expressions with local error:

25.9b
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
26.3b
(cos (* y.im (log (hypot x.re x.im))))
26.4b
(cos (* (log (cbrt (hypot x.re x.im))) y.im))
26.4b
(sin (* (log (cbrt (hypot x.re x.im))) y.im))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt cos-sum log-prod *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in
Counts
4 → 42
Calls
4 calls:
7.0ms
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
14.0ms
(cos (* y.im (log (hypot x.re x.im))))
11.0ms
(cos (* (log (cbrt (hypot x.re x.im))) y.im))
11.0ms
(sin (* (log (cbrt (hypot x.re x.im))) y.im))

series1.2s

Counts
4 → 12
Calls
4 calls:
259.0ms
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
148.0ms
(cos (* y.im (log (hypot x.re x.im))))
257.0ms
(cos (* (log (cbrt (hypot x.re x.im))) y.im))
492.0ms
(sin (* (log (cbrt (hypot x.re x.im))) y.im))

simplify1.3s

Counts
54 → 54
Iterations
IterNodes
done5001
31842
2481
1204
0134

prune1.2s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 3.7b

localize328.0ms

Local error

Found 4 expressions with local error:

25.9b
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
26.3b
(cos (* y.im (log (hypot x.re x.im))))
26.4b
(cos (* (log (cbrt (hypot x.re x.im))) y.im))
26.4b
(sin (* (log (cbrt (hypot x.re x.im))) y.im))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt cos-sum log-prod *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in
Counts
4 → 42
Calls
4 calls:
13.0ms
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
15.0ms
(cos (* y.im (log (hypot x.re x.im))))
11.0ms
(cos (* (log (cbrt (hypot x.re x.im))) y.im))
11.0ms
(sin (* (log (cbrt (hypot x.re x.im))) y.im))

series1.1s

Counts
4 → 12
Calls
4 calls:
301.0ms
(cos (* (log (* (cbrt (hypot x.re x.im)) (cbrt (hypot x.re x.im)))) y.im))
169.0ms
(cos (* y.im (log (hypot x.re x.im))))
335.0ms
(cos (* (log (cbrt (hypot x.re x.im))) y.im))
250.0ms
(sin (* (log (cbrt (hypot x.re x.im))) y.im))

simplify1.3s

Counts
54 → 54
Iterations
IterNodes
done5001
31842
2481
1204
0134

prune1.1s

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 3.7b

regimes1.2s

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify13.0ms

Iterations
IterNodes
done54
154
039

end1.0ms

sample8.8s

Algorithm
intervals
Results
3.4s2184×body1280valid
2.5s7979×body80valid
1.4s1363×body640valid
303.0ms564×body320valid
121.0ms242×body160valid
116.0ms44×body2560valid