Details

Time bar (total: 5.9s)

analyze1.8s (31%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
0%99.9%0.1%8
0%99.9%0.1%9
0%99.9%0.1%10
0%99.9%0.1%11
0%99.9%0.1%12
0%99.9%0.1%13
0%99.9%0.1%14
Compiler

Compiled 18 to 13 computations (27.8% saved)

sample1.9s (31.2%)

Results
823.0ms6262×body128valid
356.0ms554×body4096valid
341.0ms642×body2048valid
186.0ms437×body1024valid
85.0ms252×body512valid
28.0ms109×body256valid
Compiler

Compiled 35 to 25 computations (28.6% saved)

simplify7.0ms (0.1%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
16.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 51 to 37 computations (27.5% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series62.0ms (1.1%)

Counts
2 → 32
Calls

2 calls:

48.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
14.0ms
(+.f64 re (hypot.f64 re im))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
fma-def_binary64
Counts
2 → 32
Calls

2 calls:

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

simplify64.0ms (1.1%)

Algorithm
egg-herbie
Rules
862×fma-neg_binary64
517×fma-def_binary64
437×associate-*r*_binary64
361×associate-*l*_binary64
244×cancel-sign-sub-inv_binary64
Counts
64 → 79
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01611270
14351196
212551148
346831148
454131148

prune64.0ms (1.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New73679
Fresh000
Picked101
Done000
Total74680
Error
9.2b
Counts
80 → 6
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (*.f64 1 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
48.0b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
53.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
47.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
49.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
17.4b
(*.f64 1/2 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
Compiler

Compiled 1862 to 1277 computations (31.4% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

prune55.0ms (0.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New79079
Fresh055
Picked011
Done000
Total79685
Error
9.2b
Counts
85 → 6
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (*.f64 1 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
48.0b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
53.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
47.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
49.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
17.4b
(*.f64 1/2 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
Compiler

Compiled 2006 to 1424 computations (29% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
0.4b
(*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
0.4b
(cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
0.9b
(+.f64 re (hypot.f64 re im))

series200.0ms (3.4%)

Counts
3 → 56
Calls

3 calls:

68.0ms
(*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
67.0ms
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
64.0ms
(cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))

rewrite84.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
78×associate-*r/_binary64
68×cbrt-div_binary64
68×sqrt-div_binary64
34×flip-+_binary64
34×flip3-+_binary64
Counts
3 → 134
Calls

3 calls:

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

simplify189.0ms (3.2%)

Algorithm
egg-herbie
Rules
424×unswap-sqr_binary64
421×associate-*r*_binary64
366×associate-*l*_binary64
292×*-commutative_binary64
289×fma-neg_binary64
Counts
190 → 280
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04888767
112378004
240727471
354727471

prune542.0ms (9.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New5411542
Fresh044
Picked101
Done011
Total5426548
Error
9.2b
Counts
548 → 6
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (*.f64 1 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
48.0b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
53.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
47.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
18.6b
(*.f64 1/2 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
49.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
Compiler

Compiled 26015 to 15756 computations (39.4% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 re)
0.6b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.9b
(+.f64 re (hypot.f64 re im))
17.7b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

series103.0ms (1.7%)

Counts
3 → 48
Calls

3 calls:

43.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
32.0ms
(cbrt.f64 re)
29.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

rewrite14.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:

6.0ms
(cbrt.f64 re)
5.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

simplify97.0ms (1.6%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
01181156
12671039
2861983
33718968
44753956
54987956
64914956

prune210.0ms (3.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2610261
Fresh044
Picked011
Done011
Total2616267
Error
9.2b
Counts
267 → 6
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (*.f64 1 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
48.0b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
53.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
47.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
18.6b
(*.f64 1/2 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))) (cbrt.f64 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
49.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
Compiler

Compiled 11150 to 5573 computations (50% saved)

regimes365.0ms (6.2%)

Accuracy

Total 4.3b remaining (36.1%)

Threshold costs 0b (0%)

Counts
38 → 2
Compiler

Compiled 5237 to 3748 computations (28.4% saved)

bsearch32.0ms (0.5%)

Steps
ItersRangePoint
4
-1.5468733405504273e+99
-9.437159345461679e+98
-1.4762733248770277e+99
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02339
13139
23039

end97.0ms (1.6%)

Compiler

Compiled 148 to 112 computations (24.3% saved)

Profiling

Loading profile data...