Details

Time bar (total: 17.5s)

sample45.0ms

Algorithm
intervals
Results
25.0ms271×body80valid

simplify16.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01115
11713
22113
done2113

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.6b

localize21.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)))

rewrite13.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:
1.0ms
(fma y.re y.re (* y.im y.im))
1.0ms
(fma x.re y.re (* x.im y.im))
10.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:
41.0ms
(fma y.re y.re (* y.im y.im))
57.0ms
(fma x.re y.re (* x.im y.im))
150.0ms
(/ (fma x.re y.re (* x.im y.im)) (fma y.re y.re (* y.im y.im)))

simplify2.7s

Counts
58 → 58
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
074833
1114819
2287707
3782707
42290707
done5000707

prune278.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 17.6b

localize11.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))

rewrite38.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:
29.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))

series419.0ms

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

simplify3.3s

Counts
106 → 106
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01401895
13281763
210681527
339791527
done50001494

prune433.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.1b

localize26.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))

rewrite34.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:
18.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))
8.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re))

series424.0ms

Counts
3 → 9
Calls
3 calls:
164.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re)) (hypot y.im y.re))
68.0ms
(fma x.re y.re (* x.im y.im))
192.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.im y.re))

simplify1.9s

Counts
120 → 120
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01612484
13222423
27032246
320302192
done50002130

prune488.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)))

rewrite50.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:
14.0ms
(/ (* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re))) (hypot y.im y.re))
0.0ms
(fma x.re y.re (* x.im y.im))
34.0ms
(* (fma x.re y.re (* x.im y.im)) (/ 1 (hypot y.im y.re)))

series447.0ms

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

simplify4.2s

Counts
86 → 86
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01201355
12671194
2784980
33069966
done5000966

prune329.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 6.0b

regimes278.0ms

Accuracy

30.9% (7.8b remaining)

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

bsearch66.0ms

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

simplify18.0ms

Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
02239
12933
23333
done3333

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.2s8514×body80valid