Details

Time bar (total: 4.6s)

analyze509.0ms (11.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14
Compiler

Compiled 18 to 13 computations (27.8% saved)

sample1.8s (39.3%)

Results
793.0ms6232×body128valid
340.0ms671×body2048valid
337.0ms540×body4096valid
188.0ms424×body1024valid
78.0ms253×body512valid
28.0ms136×body256valid
Compiler

Compiled 53 to 38 computations (28.3% saved)

simplify10.0ms (0.2%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
12515
22915
33115
43115

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
16.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
38.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
Compiler

Compiled 85 to 61 computations (28.2% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.2b
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
0.9b
(+.f64 re (hypot.f64 re im))

series66.0ms (1.5%)

Counts
3 → 56
Calls

3 calls:

43.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
11.0ms
(+.f64 re (hypot.f64 re im))
11.0ms
(hypot.f64 re im)

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
3 → 42
Calls

3 calls:

3.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
2.0ms
(+.f64 re (hypot.f64 re im))
0.0ms
(hypot.f64 re im)

simplify74.0ms (1.6%)

Algorithm
egg-herbie
Rules
615×fma-def_binary64
531×fma-neg_binary64
460×associate-*r*_binary64
385×associate-*l*_binary64
294×cancel-sign-sub-inv_binary64
Counts
98 → 118
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01881829
15141737
214651673
349901673
453081673

prune88.0ms (1.9%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1108118
Fresh101
Picked011
Done000
Total1119120
Error
8.1b
Counts
120 → 9
Alt Table
StatusErrorProgram
56.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
53.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
16.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
17.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))))))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
49.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
45.7b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
49.9b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
48.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
Compiler

Compiled 2731 to 1868 computations (31.6% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.2b
(sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))
9.2b
(+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))

series69.0ms (1.5%)

Counts
3 → 56
Calls

3 calls:

44.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))))
13.0ms
(*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))
12.0ms
(+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×pow1_binary64
19×sqrt-prod_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
Counts
3 → 84
Calls

3 calls:

5.0ms
(*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))
3.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))))
2.0ms
(+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))

simplify85.0ms (1.9%)

Algorithm
egg-herbie
Rules
865×fma-neg_binary64
680×fma-def_binary64
324×cancel-sign-sub-inv_binary64
255×associate-/l*_binary64
239×times-frac_binary64
Counts
140 → 181
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02172236
15672078
216811994
346731994
453301994

prune166.0ms (3.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2581259
Fresh077
Picked101
Done011
Total2599268
Error
8.1b
Counts
268 → 9
Alt Table
StatusErrorProgram
20.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))))
48.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
56.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
53.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
17.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))))))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
49.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
45.7b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
49.9b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
Compiler

Compiled 6399 to 3638 computations (43.1% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))
0.5b
(*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im)))
0.6b
(cbrt.f64 (hypot.f64 re im))
10.4b
(+.f64 re (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im))))

series103.0ms (2.3%)

Counts
4 → 96
Calls

4 calls:

42.0ms
(*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im)))
37.0ms
(cbrt.f64 (hypot.f64 re im))
12.0ms
(+.f64 re (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im))))
12.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))

rewrite22.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
30×pow1_binary64
26×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
16×pow1/3_binary64
16×*-un-lft-identity_binary64
Counts
4 → 109
Calls

4 calls:

7.0ms
(*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im)))
6.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))
2.0ms
(+.f64 re (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im))))
1.0ms
(cbrt.f64 (hypot.f64 re im))

simplify146.0ms (3.2%)

Algorithm
egg-herbie
Rules
458×fma-neg_binary64
418×cancel-sign-sub-inv_binary64
227×unswap-sqr_binary64
210×associate-*r*_binary64
209×distribute-rgt-neg-in_binary64
Counts
205 → 247
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02873864
18053722
223283622
346993595
449823595
549343595

prune202.0ms (4.4%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3401341
Fresh167
Picked011
Done011
Total3419350
Error
8.1b
Counts
350 → 9
Alt Table
StatusErrorProgram
56.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
53.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
17.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))))))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
49.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
45.7b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
49.9b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
48.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
18.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))))))
Compiler

Compiled 10319 to 5431 computations (47.4% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.6b
(cbrt.f64 (hypot.f64 re im))
0.6b
(cbrt.f64 re)
17.2b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im))))

series104.0ms (2.3%)

Counts
3 → 48
Calls

3 calls:

44.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
33.0ms
(cbrt.f64 re)
26.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im))))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
10×pow1_binary64
Counts
3 → 65
Calls

3 calls:

4.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
1.0ms
(cbrt.f64 re)
0.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im))))

simplify77.0ms (1.7%)

Algorithm
egg-herbie
Rules
749×times-frac_binary64
474×fma-neg_binary64
403×associate-/r*_binary64
393×distribute-neg-frac_binary64
316×fma-def_binary64
Counts
113 → 127
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01211156
12711039
2866983
33731968
44785956
54933956

prune180.0ms (3.9%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New3060306
Fresh066
Picked011
Done022
Total3069315
Error
8.1b
Counts
315 → 9
Alt Table
StatusErrorProgram
56.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
53.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
17.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))))))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
49.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
45.7b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
49.9b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
48.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
18.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 re im)) (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (hypot.f64 re im)))))))
Compiler

Compiled 10691 to 4462 computations (58.3% saved)

regimes633.0ms (13.9%)

Accuracy

Total 5.0b remaining (40%)

Threshold costs 0b (0%)

Counts
72 → 2
Compiler

Compiled 9693 to 6665 computations (31.2% saved)

bsearch37.0ms (0.8%)

Steps
ItersRangePoint
7
-2287938048.985166
-23397556.316107932
-2231979313.139372
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02139
12739
22739

end119.0ms (2.6%)

Compiler

Compiled 191 to 139 computations (27.2% saved)

Profiling

Loading profile data...