Details

Time bar (total: 30.2s)

sample393.0ms

Algorithm
intervals
Results
180.0ms258×body80valid
66.0ms39×body640valid
44.0ms47×body1280valid
9.0ms17×body320valid
3.0ms10×body160valid

simplify1.4s

Counts
1 → 1
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
01937
13137
25336
38236
420136
582936
done500036

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.3b

localize74.0ms

Local error

Found 4 expressions with local error:

0.9b
(* (atan2 x.im x.re) y.im)
29.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.3b
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite70.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
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
10.0ms
(* (atan2 x.im x.re) y.im)
9.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
9.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series383.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (atan2 x.im x.re) y.im)
67.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
53.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
231.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify4.0s

Counts
68 → 68
Iterations

Useful iterations: 3 (360.0ms)

IterNodesCost
095836
1193778
2437690
3816677
41651677
54087677
done5001677

prune601.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 18.2b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (* (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)
0.9b
(* (atan2 x.im x.re) y.im)
29.3b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×pow1
10×add-cube-cbrt *-un-lft-identity
associate-*l*
add-exp-log add-cbrt-cube
add-log-exp
associate-*r*
exp-prod sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
sub-neg rem-sqrt-square flip3-+ exp-diff diff-log flip-+
Counts
4 → 69
Calls
4 calls:
35.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
25.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
15.0ms
(* (atan2 x.im x.re) y.im)
26.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series375.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(exp (- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im)))
115.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
20.0ms
(* (atan2 x.im x.re) y.im)
46.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify3.6s

Counts
81 → 81
Iterations

Useful iterations: 4 (2.0s)

IterNodesCost
01321042
1282985
2691871
31455860
44042859
done5000859

prune444.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 2.8b

localize31.0ms

Local error

Found 2 expressions with local error:

0.0b
(exp (* (atan2 x.im x.re) y.im))
0.9b
(* (atan2 x.im x.re) y.im)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
exp-prod exp-to-pow pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
Counts
2 → 28
Calls
2 calls:
18.0ms
(exp (* (atan2 x.im x.re) y.im))
15.0ms
(* (atan2 x.im x.re) y.im)

series59.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(exp (* (atan2 x.im x.re) y.im))
28.0ms
(* (atan2 x.im x.re) y.im)

simplify2.3s

Counts
34 → 34
Iterations

Useful iterations: 3 (258.0ms)

IterNodesCost
048260
191250
2252223
3600221
41624221
done5000221

prune180.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 2.8b

localize36.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re)))
3.7b
(cbrt (atan2 x.im x.re))
3.7b
(cbrt (atan2 x.im x.re))
3.7b
(cbrt (atan2 x.im x.re))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
12.0ms
(* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re)))
1.0ms
(cbrt (atan2 x.im x.re))
1.0ms
(cbrt (atan2 x.im x.re))
1.0ms
(cbrt (atan2 x.im x.re))

series290.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re)))
88.0ms
(cbrt (atan2 x.im x.re))
48.0ms
(cbrt (atan2 x.im x.re))
55.0ms
(cbrt (atan2 x.im x.re))

simplify5.9s

Counts
85 → 85
Iterations

Useful iterations: done (5.9s)

IterNodesCost
049804
184719
2252595
3920569
44302560
done5001540

prune362.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 2.8b

regimes293.0ms

Accuracy

61% (6.4b remaining)

Error of 10.0b against oracle of 3.6b and baseline of 20.1b

bsearch876.0ms

Steps
ItersRangePoint
11
-1.8064072260362412e-290
5.147296625674691e-303
2.9106186824831246e-307
8
-9.07075452395602e-152
-2.051209900968979e-156
-8.840626789860417e-152
8
-1.4044621988311022e-69
-8.006417948394775e-74
-1.085931852353555e-71
8
-1163.8105601768866
-1.1154561922801245
-1.448187283069528

simplify15.0ms

Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
054119
168109
done68109

end0.0ms

sample8.3s

Algorithm
intervals
Results
2.9s1936×body1280valid
2.3s7997×body80valid
1.7s1402×body640valid
354.0ms663×body320valid
162.0ms305×body160valid