Details

Time bar (total: 17.5s)

sample35.0ms

Algorithm
intervals
Results
17.0ms265×body80valid

simplify12.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01115
11713
22113
done2113

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.1b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.0ms

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

series167.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(fma x.re y.re (* x.im y.im))
113.0ms
(/ (fma x.re y.re (* x.im y.im)) (fma y.re y.re (* y.im y.im)))

simplify2.2s

Counts
45 → 45
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
065725
1101714
2250622
3726622
42199622
done5001622

prune177.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 16.6b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
34×times-frac
28×add-exp-log *-un-lft-identity
26×add-cube-cbrt
18×add-cbrt-cube
13×associate-*r* associate-*l*
div-exp
prod-exp
pow1 unswap-sqr
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-/r* div-inv associate-/l*
rec-exp 1-exp
frac-times hypot-udef frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
4 → 107
Calls
4 calls:
0.0ms
(hypot y.re y.im)
27.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma y.re x.re (* y.im x.im)) (hypot y.re y.im)))
0.0ms
(fma y.re x.re (* y.im x.im))
6.0ms
(/ (fma y.re x.re (* y.im x.im)) (hypot y.re y.im))

series493.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(hypot y.re y.im)
243.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma y.re x.re (* y.im x.im)) (hypot y.re y.im)))
46.0ms
(fma y.re x.re (* y.im x.im))
136.0ms
(/ (fma y.re x.re (* y.im x.im)) (hypot y.re y.im))

simplify3.3s

Counts
119 → 119
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01451955
13371821
210831579
339911579
done50001546

prune336.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 6.2b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series396.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(hypot y.re y.im)
150.0ms
(/ (/ (fma y.re x.re (* y.im x.im)) (hypot y.re y.im)) (hypot y.re y.im))
44.0ms
(fma y.re x.re (* y.im x.im))
129.0ms
(/ (fma y.re x.re (* y.im x.im)) (hypot y.re y.im))

simplify2.2s

Counts
133 → 133
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01662544
13312481
27172298
320502244
done50002182

prune723.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 6.1b

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.0b
(/ (* (fma y.re x.re (* y.im x.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
0.3b
(fma y.re x.re (* y.im x.im))
16.3b
(* (fma y.re x.re (* y.im x.im)) (/ 1 (hypot y.re y.im)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log
21×add-sqr-sqrt
18×add-cbrt-cube
15×*-un-lft-identity
14×add-cube-cbrt times-frac
13×associate-*r*
div-exp
prod-exp
pow1
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* associate-/r* unswap-sqr
rec-exp 1-exp associate-*r/ un-div-inv div-inv associate-/l/
hypot-udef frac-2neg pow-prod-down clear-num *-commutative fma-udef associate-/l*
Counts
4 → 87
Calls
4 calls:
0.0ms
(hypot y.re y.im)
16.0ms
(/ (* (fma y.re x.re (* y.im x.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
0.0ms
(fma y.re x.re (* y.im x.im))
15.0ms
(* (fma y.re x.re (* y.im x.im)) (/ 1 (hypot y.re y.im)))

series444.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(hypot y.re y.im)
164.0ms
(/ (* (fma y.re x.re (* y.im x.im)) (/ 1 (hypot y.re y.im))) (hypot y.re y.im))
67.0ms
(fma y.re x.re (* y.im x.im))
137.0ms
(* (fma y.re x.re (* y.im x.im)) (/ 1 (hypot y.re y.im)))

simplify4.8s

Counts
99 → 99
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01251415
12761252
27941032
331051018
done50001018

prune428.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 6.1b

regimes321.0ms

Accuracy

37.4% (6.7b remaining)

Error of 12.6b against oracle of 6.0b and baseline of 16.6b

bsearch132.0ms

Steps
ItersRangePoint
7
5.026165092204197e+184
4.358401358984652e+186
1.5430679091287252e+185
9
-9.137650963602708e+166
-1.1971825537892871e+162
-5.286331128515371e+162

simplify4.0ms

Iterations

Useful iterations: done (4.0ms)

IterNodesCost
02448
13139
done3133

end0.0ms

sample1.1s

Algorithm
intervals
Results
686.0ms8453×body80valid