Details

Time bar (total: 3.8s)

sample20.0ms

Algorithm
intervals
Results
9.0ms271×body80valid

simplify7.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: 27.8b

Counts
2 → 1

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-/r* flip-+ associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative fma-def frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 47
Calls
2 calls:
6.0ms
(+ (* x.re y.re) (* x.im y.im))
15.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

series113.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ (* x.re y.re) (* x.im y.im))
82.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))

simplify85.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0244458
1872411
23164403
35001403

prune145.0ms

Filtered
53 candidates to 44 candidates (83.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New44953
Fresh000
Picked101
Done000
Total45954

Merged error: 17.5b

Counts
54 → 9

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
154×add-exp-log
86×prod-exp
57×div-exp
44×add-cbrt-cube
35×1-exp
16×cbrt-unprod
14×cbrt-undiv
12×rec-exp
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity times-frac
associate-*r* associate-*l*
pow1
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num associate-/r* *-commutative fma-udef unswap-sqr
Counts
3 → 112
Calls
3 calls:
1.0ms
(fma x.re y.re (* x.im y.im))
11.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1)))
4.0ms
(/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1))

series344.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(fma x.re y.re (* x.im y.im))
188.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1)))
113.0ms
(/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1))

simplify44.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04721079
11607796
25001794

prune211.0ms

Filtered
121 candidates to 59 candidates (48.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1156121
Fresh448
Picked011
Done000
Total11911130

Merged error: 5.7b

Counts
130 → 11

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
22×add-exp-log
17×add-cbrt-cube
16×associate-/l*
10×div-exp
cbrt-undiv
prod-exp associate-/r* div-inv
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg 1-exp clear-num cbrt-unprod
fma-udef associate-/l/
Counts
3 → 89
Calls
3 calls:
1.0ms
(fma x.re y.re (* x.im y.im))
7.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (* (hypot y.re y.im) 1))
3.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

series278.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(fma x.re y.re (* x.im y.im))
121.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (* (hypot y.re y.im) 1))
119.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify81.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0297767
11133677
23251677
35001670

prune246.0ms

Filtered
98 candidates to 75 candidates (76.5%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New94498
Fresh369
Picked011
Done011
Total9712109

Merged error: 5.6b

Counts
109 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x.re y.re (* x.im y.im))
0.1b
(/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)))
0.6b
(/ 1 (/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))))
17.1b
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
480×times-frac
239×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
60×associate-/r*
32×add-exp-log
23×div-inv
20×add-cbrt-cube
19×div-exp
10×cbrt-undiv
associate-/l*
associate-/r/
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
pow-flip fma-udef inv-pow
Counts
4 → 317
Calls
4 calls:
1.0ms
(fma x.re y.re (* x.im y.im))
6.0ms
(/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)))
13.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))

series449.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(fma x.re y.re (* x.im y.im))
93.0ms
(/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)))
192.0ms
(/ 1 (/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))))
121.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify131.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09754412
149903959
250013959

prune657.0ms

Filtered
329 candidates to 208 candidates (63.2%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New3263329
Fresh099
Picked011
Done112
Total32714341

Merged error: 5.6b

Counts
341 → 14

regimes226.0ms

Accuracy

35.1% (7.1b remaining)

Error of 12.7b against oracle of 5.6b and baseline of 16.6b

bsearch91.0ms

Steps
ItersRangePoint
8
2.6639915875115466e+105
1.2401134344781783e+109
4.1722391275213826e+108
10
-7.322685498206333e+190
-5.591969180972269e+180
-3.2727313730029946e+183

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02916
13216
23216

end0.0ms

sample518.0ms

Algorithm
intervals
Results
305.0ms8443×body80valid