Details

Time bar (total: 7.1s)

sample430.0ms

Algorithm
intervals
Results
52.0ms54×body1280valid
23.0ms259×body80valid
16.0ms41×body640valid
5.0ms16×body320valid
1.0msbody160valid

simplify37.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03521
16317
29817
321717
489517
5500117
done500117

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.5b

localize26.0ms

Local error

Found 4 expressions with local error:

1.9b
(* (atan2 x.im x.re) y.re)
30.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
30.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.4b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+ hypot-def
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 66
Calls
4 calls:
7.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
27.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (atan2 x.im x.re) y.re)
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
39.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
159.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify77.0ms

Counts
78 → 78
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0205454
1546413
21264411
32748411
45001411
done5001411

prune360.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 16.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
0.2b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.9b
(* (atan2 x.im x.re) y.im)
30.9b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×pow1
add-cube-cbrt *-un-lft-identity associate-*l*
add-exp-log add-cbrt-cube
associate-*r* add-log-exp
expm1-log1p-u log1p-expm1-u
sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sub-neg rem-sqrt-square flip3-- flip3-+ fma-neg diff-log prod-diff flip-- flip-+ hypot-def
Counts
4 → 77
Calls
4 calls:
9.0ms
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
12.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
90.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
18.0ms
(* (atan2 x.im x.re) y.im)
39.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify82.0ms

Counts
89 → 89
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0320595
11020544
23156516
35001484
done5001484

prune309.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 3.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y.re)
0.6b
(cbrt y.re)
0.6b
(cbrt y.re)
1.9b
(* (atan2 x.im x.re) y.im)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
cbrt-prod add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* associate-*l*
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 59
Calls
4 calls:
1.0ms
(cbrt y.re)
1.0ms
(cbrt y.re)
1.0ms
(cbrt y.re)
7.0ms
(* (atan2 x.im x.re) y.im)

series545.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt y.re)
173.0ms
(cbrt y.re)
174.0ms
(cbrt y.re)
21.0ms
(* (atan2 x.im x.re) y.im)

simplify55.0ms

Counts
71 → 71
Iterations

Useful iterations: 3 (19.0ms)

IterNodesCost
0102209
1300190
2710184
31530181
45001181
done5001181

prune292.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 3.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y.re)
0.6b
(cbrt y.re)
0.6b
(cbrt y.re)
1.9b
(* (atan2 x.im x.re) y.im)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
cbrt-prod add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* associate-*l*
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 59
Calls
4 calls:
1.0ms
(cbrt y.re)
1.0ms
(cbrt y.re)
1.0ms
(cbrt y.re)
7.0ms
(* (atan2 x.im x.re) y.im)

series548.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt y.re)
174.0ms
(cbrt y.re)
175.0ms
(cbrt y.re)
18.0ms
(* (atan2 x.im x.re) y.im)

simplify54.0ms

Counts
71 → 71
Iterations

Useful iterations: 3 (18.0ms)

IterNodesCost
0102209
1300190
2710184
31530181
45001181
done5001181

prune317.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 3.0b

regimes128.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02927
13327
23327
done3327

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.1s1948×body1280valid
674.0ms7994×body80valid
584.0ms1525×body640valid
188.0ms706×body320valid
46.0ms252×body160valid