Details

Time bar (total: 12.2s)

sample42.0ms

Algorithm
intervals
Results
19.0ms267×body80valid

simplify112.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01115
12114
24014
35614
47614
59014
69414
done9414

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.6b

localize11.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (* x.im y.re) (* x.re y.im))
25.2b
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

rewrite36.0ms

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

series194.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(- (* x.im y.re) (* x.re y.im))
135.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (fma y.re y.re (* y.im y.im)))

simplify2.1s

Counts
54 → 54
Iterations

Useful iterations: 3 (896.0ms)

IterNodesCost
088931
1222906
2890809
34246807
done5000807

prune180.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 16.5b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite75.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:
40.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
9.0ms
(- (* x.im y.re) (* x.re y.im))
22.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

series417.0ms

Counts
3 → 9
Calls
3 calls:
229.0ms
(* (/ 1 (hypot y.re y.im)) (/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im)))
41.0ms
(- (* x.im y.re) (* x.re y.im))
147.0ms
(/ (- (* x.im y.re) (* x.re y.im)) (hypot y.re y.im))

simplify1.7s

Counts
115 → 115
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01642165
14892030
223871779
done50001765

prune505.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.5b

localize20.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series415.0ms

Counts
2 → 6
Calls
2 calls:
220.0ms
(/ (/ (fma x.re (- y.im) (* y.re x.im)) (hypot y.re y.im)) (hypot y.re y.im))
195.0ms
(/ (fma x.re (- y.im) (* y.re x.im)) (hypot y.re y.im))

simplify1.0s

Counts
107 → 107
Iterations

Useful iterations: done (999.0ms)

IterNodesCost
01552536
13432477
215992310
done50022268

prune564.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 1.4b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (/ 1 (/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im)))) (hypot y.re y.im))
0.2b
(/ 1 (/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im))))
16.2b
(/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
480×times-frac
238×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
50×associate-/l*
35×add-exp-log
23×div-inv
22×div-exp
19×associate-/r* add-cbrt-cube
10×cbrt-undiv
associate-/r/
pow1 rec-exp 1-exp
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 309
Calls
3 calls:
41.0ms
(/ (/ 1 (/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im)))) (hypot y.re y.im))
21.0ms
(/ 1 (/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im))))
8.0ms
(/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im)))

series669.0ms

Counts
3 → 9
Calls
3 calls:
247.0ms
(/ (/ 1 (/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im)))) (hypot y.re y.im))
262.0ms
(/ 1 (/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im))))
160.0ms
(/ (hypot y.re y.im) (fma x.re (- y.im) (* y.re x.im)))

simplify1.0s

Counts
318 → 318
Iterations

Useful iterations: done (992.0ms)

IterNodesCost
04549184
113128350
done50017836

prune905.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 1.4b

regimes314.0ms

Accuracy

29.8% (10.3b remaining)

Error of 12.5b against oracle of 2.2b and baseline of 16.9b

bsearch99.0ms

Steps
ItersRangePoint
7
1.821547073792465e+115
6.050378771870372e+116
2.9468590428583657e+116
7
-1.5593098650405636e+174
-7.484363023265762e+171
-8.854189588374422e+171

simplify5.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02136
12634
22734
done2734

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.2s8438×body80valid