Details

Time bar (total: 4.6s)

sample19.0ms

Algorithm
intervals
Results
9.0ms268×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1217
2217

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 24.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* y.re y.re) (* y.im y.im))
0.0b
(+ (* x.re y.re) (* x.im y.im))
23.7b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
216×*-un-lft-identity
85×distribute-lft-out
82×associate-*l*
56×times-frac
32×add-sqr-sqrt
28×add-cube-cbrt
27×fma-def
21×swap-sqr
associate-/r*
associate-/l* add-log-exp
associate-*r*
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1 expm1-log1p-u log1p-expm1-u
+-commutative sum-log associate-/r/ *-commutative associate-/l/ unswap-sqr
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 151
Calls
3 calls:
15.0ms
(+ (* y.re y.re) (* y.im y.im))
15.0ms
(+ (* x.re y.re) (* x.im y.im))
28.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series160.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* y.re y.re) (* y.im y.im))
30.0ms
(+ (* x.re y.re) (* x.im y.im))
99.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify139.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02891060
11169954
24795929
35001929

prune203.0ms

Filtered
160 candidates to 81 candidates (50.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New14911160
Fresh000
Picked101
Done000
Total15011161

Merged error: 14.7b

Counts
161 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
571×add-sqr-sqrt
552×associate-/r*
463×times-frac
431×*-un-lft-identity
374×add-cube-cbrt
361×frac-times
170×add-exp-log
138×associate-/l*
133×associate-*l*
124×associate-*r*
102×unswap-sqr
93×div-exp
62×prod-exp
50×add-cbrt-cube
46×clear-num
44×frac-2neg
41×1-exp
31×div-inv
28×*-commutative
22×associate-/r/
20×cbrt-undiv
19×associate-*r/ associate-*l/
15×rec-exp
13×cbrt-unprod
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
un-div-inv remove-double-div
hypot-udef pow-flip pow-prod-down inv-pow
Counts
4 → 761
Calls
4 calls:
1.0ms
(hypot y.re y.im)
7.0ms
(/ 1 (/ (hypot y.re y.im) 1))
56.0ms
(* (/ 1 (/ (hypot y.re y.im) 1)) (/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1)))
7.0ms
(/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1))

series415.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(hypot y.re y.im)
58.0ms
(/ 1 (/ (hypot y.re y.im) 1))
188.0ms
(* (/ 1 (/ (hypot y.re y.im) 1)) (/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1)))
121.0ms
(/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1))

simplify152.0ms

Algorithm
egg-herbie
Counts
773 → 773
Iterations

Useful iterations: 1 (52.0ms)

IterNodesCost
030958391
150017362

prune904.0ms

Filtered
773 candidates to 283 candidates (36.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New7658773
Fresh8210
Picked101
Done000
Total77410784

Merged error: 4.7b

Counts
784 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot y.re y.im)
0.0b
(hypot y.re y.im)
0.1b
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (hypot y.re y.im))
14.4b
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

rewrite15.0ms

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

series338.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot y.re y.im)
49.0ms
(hypot y.re y.im)
122.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (hypot y.re y.im))
117.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify88.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
03421225
110551137
239971120
350011115

prune292.0ms

Filtered
141 candidates to 112 candidates (79.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1347141
Fresh639
Picked011
Done000
Total14011151

Merged error: 4.6b

Counts
151 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt
81×frac-times
77×*-un-lft-identity
74×add-cube-cbrt
67×associate-/l*
66×associate-/r*
43×times-frac
32×add-exp-log
23×clear-num
22×frac-2neg
20×add-cbrt-cube
13×associate-*r* associate-*l*
11×div-exp
associate-*r/ associate-*l/
prod-exp
pow1
cbrt-undiv unswap-sqr
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv add-log-exp
rec-exp 1-exp
un-div-inv
hypot-udef pow-flip pow-prod-down *-commutative inv-pow
Counts
4 → 228
Calls
4 calls:
1.0ms
(hypot y.re y.im)
3.0ms
(/ 1 (hypot y.re y.im))
14.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)))
3.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

series424.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot y.re y.im)
57.0ms
(/ 1 (hypot y.re y.im))
200.0ms
(* (/ 1 (hypot y.re y.im)) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)))
120.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify106.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07221934
136501720
250011634

prune308.0ms

Filtered
240 candidates to 125 candidates (52.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2391240
Fresh189
Picked101
Done011
Total24110251

Merged error: 4.6b

Counts
251 → 10

regimes163.0ms

Accuracy

35.2% (6.8b remaining)

Error of 12.7b against oracle of 5.9b and baseline of 16.5b

bsearch73.0ms

Steps
ItersRangePoint
8
2.108882011704695e+145
3.055944189201881e+149
3.3012917942497675e+146
7
-1.9994462549967526e+205
-3.459071203583835e+203
-1.674096505949315e+204

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02814
12914
23214
33214

end0.0ms

sample505.0ms

Algorithm
intervals
Results
297.0ms8505×body80valid