Details

Time bar (total: 17.4s)

sample47.0ms

Algorithm
intervals
Results
24.0ms271×body80valid

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01115
11713
22113
done2113

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.6b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma y.re y.re (* y.im y.im))
0.5b
(fma x.re y.re (* x.im y.im))
26.1b
(/ (fma x.re y.re (* x.im y.im)) (fma y.re y.re (* y.im y.im)))

rewrite11.0ms

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

series249.0ms

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

simplify2.2s

Counts
58 → 58
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
074833
1114819
2287707
3782707
42290707
done5000707

prune244.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 17.6b

localize21.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (/ 1 (hypot y.im y.re)) (/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re)))
0.5b
(fma x.re y.re (* x.im y.im))
17.2b
(/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re))

rewrite42.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
cbrt-unprod
expm1-log1p-u associate-/r* log1p-expm1-u div-inv associate-/l* add-log-exp
rec-exp 1-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
3 → 97
Calls
3 calls:
33.0ms
(* (/ 1 (hypot y.im y.re)) (/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re)))
0.0ms
(fma x.re y.re (* x.im y.im))
5.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re))

series471.0ms

Counts
3 → 9
Calls
3 calls:
228.0ms
(* (/ 1 (hypot y.im y.re)) (/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re)))
62.0ms
(fma x.re y.re (* x.im y.im))
181.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re))

simplify3.7s

Counts
106 → 106
Iterations

Useful iterations: done (3.7s)

IterNodesCost
01401895
13281763
210681527
339791527
done50001494

prune269.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.1b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re)) (hypot y.im y.re))
0.5b
(fma x.re y.re (* x.im y.im))
17.2b
(/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re))

rewrite21.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:
11.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re)) (hypot y.im y.re))
0.0ms
(fma x.re y.re (* x.im y.im))
5.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re))

series321.0ms

Counts
3 → 9
Calls
3 calls:
135.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re)) (hypot y.im y.re))
46.0ms
(fma x.re y.re (* x.im y.im))
140.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re))

simplify2.1s

Counts
120 → 120
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01612484
13222423
27032246
320302192
done50002130

prune875.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re))) (hypot y.im y.re))
0.5b
(fma x.re y.re (* x.im y.im))
17.3b
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log
20×add-sqr-sqrt
17×add-cbrt-cube
14×*-un-lft-identity times-frac
13×add-cube-cbrt associate-*r*
div-exp
prod-exp
pow1 cbrt-undiv
cbrt-unprod
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u add-log-exp unswap-sqr
rec-exp 1-exp associate-*r/ un-div-inv div-inv associate-/l/
frac-2neg pow-prod-down clear-num *-commutative fma-udef associate-/l*
Counts
3 → 77
Calls
3 calls:
28.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re))) (hypot y.im y.re))
1.0ms
(fma x.re y.re (* x.im y.im))
20.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re)))

series429.0ms

Counts
3 → 9
Calls
3 calls:
186.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re))) (hypot y.im y.re))
51.0ms
(fma x.re y.re (* x.im y.im))
191.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re)))

simplify4.3s

Counts
86 → 86
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01201355
12671194
2784980
33069966
done5000966

prune345.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 6.0b

regimes260.0ms

Accuracy

30.9% (7.8b remaining)

Error of 13.4b against oracle of 5.6b and baseline of 16.9b

bsearch77.0ms

Steps
ItersRangePoint
4
4.564852210057707e+83
8.26536377327354e+83
8.140603411282213e+83
8
-8.514940969726654e+214
-4.9402977088155893e+210
-6.01901390366994e+211

simplify8.0ms

Iterations

Useful iterations: done (8.0ms)

IterNodesCost
02345
13039
done3033

end0.0ms

sample1.3s

Algorithm
intervals
Results
809.0ms8514×body80valid