Details

Time bar (total: 9.4s)

sample23.0ms

Algorithm
intervals
Results
12.0ms273×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0177
1217
2217

prune3.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: 29.3b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

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

series145.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0290532
11199475
24872462
35001462

prune184.0ms

Filtered
70 candidates to 57 candidates (81.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New601070
Fresh000
Picked101
Done000
Total611071

Merged error: 16.9b

Counts
71 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
170×add-exp-log
92×prod-exp
63×div-exp
50×add-cbrt-cube
41×1-exp
17×cbrt-unprod
16×cbrt-undiv
15×rec-exp
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity times-frac
pow1
associate-*r* associate-*l*
associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg pow-prod-down clear-num associate-/r*
frac-times associate-*r/ associate-*l/ *-commutative fma-udef inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
4.0ms
(/ 1 (* (hypot y.re y.im) 1))
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)))
5.0ms
(/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1))

series372.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ 1 (* (hypot y.re y.im) 1))
36.0ms
(fma x.re y.re (* x.im y.im))
173.0ms
(* (/ 1 (* (hypot y.re y.im) 1)) (/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1)))
110.0ms
(/ (fma x.re y.re (* x.im y.im)) (* (hypot y.re y.im) 1))

simplify46.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04861191
11654892
25002884

prune243.0ms

Filtered
157 candidates to 77 candidates (49.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1507157
Fresh639
Picked101
Done000
Total15710167

Merged error: 5.2b

Counts
167 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
23×add-exp-log
18×add-cbrt-cube
16×associate-/l*
10×div-exp
cbrt-undiv
pow1 expm1-log1p-u prod-exp associate-/r* log1p-expm1-u div-inv add-log-exp
frac-2neg 1-exp clear-num cbrt-unprod
hypot-udef fma-udef associate-/l/
Counts
4 → 99
Calls
4 calls:
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) 1))
1.0ms
(fma x.re y.re (* x.im y.im))
3.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

series299.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot y.re y.im)
109.0ms
(/ (/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im)) (* (hypot y.re y.im) 1))
35.0ms
(fma x.re y.re (* x.im y.im))
109.0ms
(/ (fma x.re y.re (* x.im y.im)) (hypot y.re y.im))

simplify76.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0308794
11149701
23275701
35001693

prune259.0ms

Filtered
111 candidates to 89 candidates (80.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1065111
Fresh369
Picked011
Done000
Total10912121

Merged error: 5.1b

Counts
121 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (sqrt (hypot y.re y.im)))
0.3b
(/ (/ 1 (sqrt (hypot y.re y.im))) (/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im)))))
7.3b
(/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im))))
9.4b
(/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im)))

rewrite278.0ms

Algorithm
rewrite-expression-head
Rules
5792×times-frac
2471×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
1329×sqrt-prod
172×div-inv
105×associate-/r*
54×add-exp-log
36×div-exp
34×add-cbrt-cube
31×associate-/l*
25×associate-/r/
20×cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
pow-flip
sqrt-pow1 pow1/2 associate-/l/ inv-pow
Counts
4 → 1883
Calls
4 calls:
4.0ms
(/ 1 (sqrt (hypot y.re y.im)))
50.0ms
(/ (/ 1 (sqrt (hypot y.re y.im))) (/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im)))))
8.0ms
(/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im))))
4.0ms
(/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im)))

series610.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ 1 (sqrt (hypot y.re y.im)))
175.0ms
(/ (/ 1 (sqrt (hypot y.re y.im))) (/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im)))))
153.0ms
(/ (hypot y.re y.im) (/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im))))
204.0ms
(/ (fma x.re y.re (* x.im y.im)) (sqrt (hypot y.re y.im)))

simplify686.0ms

Algorithm
egg-herbie
Counts
1895 → 1895
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
0500249275

prune5.0s

Filtered
1895 candidates to 1237 candidates (65.3%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New189231895
Fresh1910
Picked011
Done011
Total1893141907

Merged error: 4.7b

Counts
1907 → 14

regimes234.0ms

Accuracy

29.2% (8.2b remaining)

Error of 13.9b against oracle of 5.7b and baseline of 17.2b

bsearch63.0ms

Steps
ItersRangePoint
5
1.3815484546578421e+73
3.4258758800285786e+73
3.3703509945803273e+73
7
-5.748822937396627e+92
-3.149463098646164e+91
-4.7598287961022074e+92

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
13014
23014

end0.0ms

sample589.0ms

Algorithm
intervals
Results
372.0ms8488×body80valid