Details

Time bar (total: 13.9s)

sample39.0ms

Algorithm
intervals
Results
19.0ms276×body80valid

simplify85.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01115
12114
24014
35614
47614
59014
69414
done9414

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.8b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma y.re y.re (* y.im y.im))
0.2b
(- (* x.im y.re) (* x.re y.im))
26.3b
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num fma-udef div-inv
Counts
3 → 58
Calls
3 calls:
0.0ms
(fma y.re y.re (* y.im y.im))
17.0ms
(- (* x.im y.re) (* x.re y.im))
22.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

series262.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(fma y.re y.re (* y.im y.im))
53.0ms
(- (* x.im y.re) (* x.re y.im))
150.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

simplify700.0ms

Counts
67 → 67
Iterations

Useful iterations: done (697.0ms)

IterNodesCost
0971039
12341011
21158894
done5000892

prune365.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 17.0b

localize25.0ms

Local error

Found 3 expressions with local error:

0.2b
(- (* x.im y.re) (* x.re y.im))
0.3b
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
16.6b
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
34×times-frac
27×add-exp-log *-un-lft-identity
25×add-cube-cbrt
17×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
unswap-sqr
pow1 cbrt-undiv add-log-exp
cbrt-unprod
expm1-log1p-u associate-/r* log1p-expm1-u div-inv associate-/l*
rec-exp flip3-- 1-exp flip-- associate-/l/
frac-times sub-neg frac-2neg fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 106
Calls
3 calls:
17.0ms
(- (* x.im y.re) (* x.re y.im))
45.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
42.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series526.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(- (* x.im y.re) (* x.re y.im))
264.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
187.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify2.1s

Counts
115 → 115
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01642165
14892030
225791779
done50011765

prune506.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 6.2b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (- y.im) x.re (* y.re x.im))
0.1b
(/ (/ (fma (- y.im) x.re (* y.re x.im)) (hypot y.re y.im)) (hypot y.re y.im))
16.6b
(/ (fma (- y.im) x.re (* y.re x.im)) (hypot y.re y.im))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
10×add-exp-log add-cbrt-cube
associate-/r* div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
fma-udef associate-/l/
Counts
3 → 111
Calls
3 calls:
1.0ms
(fma (- y.im) x.re (* y.re x.im))
23.0ms
(/ (/ (fma (- y.im) x.re (* y.re x.im)) (hypot y.re y.im)) (hypot y.re y.im))
10.0ms
(/ (fma (- y.im) x.re (* y.re x.im)) (hypot y.re y.im))

series392.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(fma (- y.im) x.re (* y.re x.im))
169.0ms
(/ (/ (fma (- y.im) x.re (* y.re x.im)) (hypot y.re y.im)) (hypot y.re y.im))
148.0ms
(/ (fma (- y.im) x.re (* y.re x.im)) (hypot y.re y.im))

simplify1.0s

Counts
120 → 120
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01612651
13532592
216112411
done50002365

prune561.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 2.3b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot y.re y.im))
0.1b
(/ (/ (/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im))) (hypot y.re y.im))
7.9b
(/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im)))
8.8b
(/ (/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im)))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
1644×times-frac
787×add-sqr-sqrt
786×add-cube-cbrt *-un-lft-identity
627×sqrt-prod
161×associate-/l*
38×div-inv
20×add-exp-log add-cbrt-cube
15×associate-/r*
10×cbrt-undiv div-exp
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
associate-/l/
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 799
Calls
4 calls:
2.0ms
(sqrt (hypot y.re y.im))
65.0ms
(/ (/ (/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im))) (hypot y.re y.im))
7.0ms
(/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im)))
31.0ms
(/ (/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im)))

series706.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(sqrt (hypot y.re y.im))
180.0ms
(/ (/ (/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im))) (hypot y.re y.im))
224.0ms
(/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im)))
194.0ms
(/ (/ (fma (- y.im) x.re (* y.re x.im)) (sqrt (hypot y.re y.im))) (sqrt (hypot y.re y.im)))

simplify1.4s

Counts
811 → 811
Iterations

Useful iterations: done (1.3s)

IterNodesCost
084731408
1208928381
done500027140

prune2.9s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 2.3b

regimes367.0ms

Accuracy

25.7% (10.2b remaining)

Error of 12.6b against oracle of 2.3b and baseline of 16.1b

bsearch104.0ms

Steps
ItersRangePoint
10
1.4317325747908352e+118
8.951855089679279e+128
3.5377160840176096e+123
6
-3.624907100826712e+129
-4.093952998244274e+128
-2.3523280669470315e+129

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01934
12134
done2134

end0.0ms

sample1.3s

Algorithm
intervals
Results
827.0ms8396×body80valid