Details

Time bar (total: 13.9s)

sample44.0ms

Algorithm
intervals
Results
30.0ms268×body80valid

simplify18.0ms

Counts
1 → 1

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.4b

localize33.0ms

Local error

Found 3 expressions with local error:

25.4b
(/ (fma x.re y.re (* x.im y.im)) (fma y.im y.im (* y.re y.re)))
0.8b
(fma x.re y.re (* x.im y.im))
0.0b
(fma y.im y.im (* y.re y.re))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log
expm1-log1p-u pow1 associate-/r* insert-posit16 log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv clear-num frac-2neg div-exp div-inv
Counts
3 → 52
Calls
3 calls:
Slowest
9.0ms
(/ (fma x.re y.re (* x.im y.im)) (fma y.im y.im (* y.re y.re)))
1.0ms
(fma y.im y.im (* y.re y.re))
0.0ms
(fma x.re y.re (* x.im y.im))

series277.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
157.0ms
(/ (fma x.re y.re (* x.im y.im)) (fma y.im y.im (* y.re y.re)))
75.0ms
(fma x.re y.re (* x.im y.im))
45.0ms
(fma y.im y.im (* y.re y.re))

simplify1.0s

Counts
61 → 61

prune707.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 24.9b

localize34.0ms

Local error

Found 4 expressions with local error:

27.6b
(sqrt (fma y.im y.im (* y.re y.re)))
27.6b
(sqrt (fma y.im y.im (* y.re y.re)))
16.3b
(/ (fma x.re y.re (* x.im y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
0.8b
(fma x.re y.re (* x.im y.im))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×*-un-lft-identity add-cube-cbrt
18×times-frac sqrt-prod
pow1 associate-/r* add-cbrt-cube add-exp-log
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
fma-udef associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 hypot-def
cbrt-undiv clear-num frac-2neg div-exp div-inv
Counts
4 → 87
Calls
4 calls:
Slowest
9.0ms
(/ (fma x.re y.re (* x.im y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
3.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
3.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
0.0ms
(fma x.re y.re (* x.im y.im))

series329.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
139.0ms
(/ (fma x.re y.re (* x.im y.im)) (sqrt (fma y.im y.im (* y.re y.re))))
79.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
67.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
44.0ms
(fma x.re y.re (* x.im y.im))

simplify1.1s

Counts
99 → 99

prune1.3s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 23.4b

localize40.0ms

Local error

Found 4 expressions with local error:

27.6b
(sqrt (fma y.im y.im (* y.re y.re)))
27.6b
(sqrt (fma y.im y.im (* y.re y.re)))
16.4b
(* (fma x.re y.re (* x.im y.im)) (/ 1 (sqrt (fma y.im y.im (* y.re y.re)))))
0.8b
(fma x.re y.re (* x.im y.im))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
22×*-un-lft-identity times-frac associate-*r*
20×add-cube-cbrt
17×sqrt-prod
13×add-exp-log
add-cbrt-cube
pow1
unswap-sqr
expm1-log1p-u prod-exp insert-posit16 log1p-expm1-u add-log-exp
associate-*l* fma-udef
rem-sqrt-square sqrt-pow1 pow1/2 div-exp cbrt-unprod hypot-def
cbrt-undiv rec-exp 1-exp pow-prod-down associate-*r/ un-div-inv *-commutative div-inv
Counts
4 → 95
Calls
4 calls:
Slowest
11.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (sqrt (fma y.im y.im (* y.re y.re)))))
1.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
1.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
0.0ms
(fma x.re y.re (* x.im y.im))

series354.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
172.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (sqrt (fma y.im y.im (* y.re y.re)))))
70.0ms
(fma x.re y.re (* x.im y.im))
58.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
54.0ms
(sqrt (fma y.im y.im (* y.re y.re)))

simplify1.0s

Counts
107 → 107

prune1.4s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 23.4b

localize48.0ms

Local error

Found 4 expressions with local error:

27.6b
(sqrt (fma y.im y.im (* y.re y.re)))
16.4b
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re)))
0.8b
(fma x.re y.re (* x.im y.im))
0.1b
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re))) (sqrt (fma y.im y.im (* y.re y.re))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log
25×add-sqr-sqrt
18×*-un-lft-identity add-cbrt-cube
17×times-frac add-cube-cbrt
13×associate-*r*
div-exp sqrt-prod
prod-exp
pow1
associate-/r*
cbrt-undiv
expm1-log1p-u cbrt-unprod insert-posit16 log1p-expm1-u add-log-exp
associate-*l* unswap-sqr
rec-exp 1-exp associate-*r/ un-div-inv fma-udef div-inv associate-/l/
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 pow-prod-down *-commutative hypot-def associate-/l*
Counts
4 → 103
Calls
4 calls:
Slowest
23.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re))) (sqrt (fma y.im y.im (* y.re y.re))))
14.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re)))
7.0ms
(sqrt (fma y.im y.im (* y.re y.re)))
0.0ms
(fma x.re y.re (* x.im y.im))

series534.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
238.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re))) (sqrt (fma y.im y.im (* y.re y.re))))
172.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re)))
64.0ms
(fma x.re y.re (* x.im y.im))
60.0ms
(sqrt (fma y.im y.im (* y.re y.re)))

simplify2.0s

Counts
115 → 115

prune1.4s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 14.9b

regimes391.0ms

Accuracy

0% (2.7b remaining)

Error of 16.7b against oracle of 14.0b and baseline of 16.7b

bsearch4.0ms

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.5s8469×body80valid