Details

Time bar (total: 3.8s)

analyze514.0ms (13.4%)

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)

sample49.0ms (1.3%)

Algorithm
intervals
Results
19.0ms197×body128valid
9.0ms21×body2048valid
5.0ms13×body4096valid
4.0ms16×body1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 37 to 27 computations (27% saved)

simplify7.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

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
13.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
13.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
36.2b
(*.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)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series79.0ms (2.1%)

Counts
3 → 56
Calls

3 calls:

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

rewrite10.0ms (0.3%)

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:

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

simplify81.0ms (2.1%)

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

prune87.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1135118
Fresh101
Picked011
Done000
Total1146120
Error
6.6b
Counts
120 → 6
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (exp.f64 (log.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
14.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
46.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
13.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
54.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
49.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 2633 to 1800 computations (31.6% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.0b
(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.0b
(+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))

series82.0ms (2.1%)

Counts
3 → 56
Calls

3 calls:

53.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))))
15.0ms
(+.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)))

rewrite16.0ms (0.4%)

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))))

simplify97.0ms (2.5%)

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 (4.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2581259
Fresh044
Picked101
Done011
Total2596265
Error
6.6b
Counts
265 → 6
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (exp.f64 (log.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
15.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
46.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
13.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
54.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
49.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 6309 to 3570 computations (43.4% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series111.0ms (2.9%)

Counts
3 → 48
Calls

3 calls:

40.0ms
(cbrt.f64 re)
40.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
30.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))

rewrite11.0ms (0.3%)

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:

7.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
1.0ms
(cbrt.f64 re)
1.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))

simplify86.0ms (2.2%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
01201156
12691039
2864983
33732968
44770956
54915956

prune181.0ms (4.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2511252
Fresh044
Picked101
Done011
Total2526258
Error
6.6b
Counts
258 → 6
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (exp.f64 (log.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
46.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
13.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
54.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))))
49.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 6633 to 2655 computations (60% saved)

localize27.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

prune514.0ms (13.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New7551756
Fresh044
Picked101
Done011
Total7566762
Error
6.6b
Counts
762 → 6
Alt Table
StatusErrorProgram
16.5b
(*.f64 1/2 (exp.f64 (log.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
16.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im))))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))))))
46.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
13.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
54.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
49.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 48854 to 8879 computations (81.8% saved)

regimes281.0ms (7.3%)

Accuracy

Total 4.3b remaining (36.2%)

Threshold costs 0b (0%)

Counts
22 → 2
Compiler

Compiled 3581 to 2029 computations (43.3% saved)

bsearch37.0ms (1%)

Steps
ItersRangePoint
7
-4.2354348912974205e+144
-2.7453559540601653e+142
-5.435225094155723e+142
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02139
12739
22739

end1.0ms (0%)

Compiler

Compiled 28 to 22 computations (21.4% saved)

sample1.4s (35.6%)

Algorithm
intervals
Results
417.0ms6093×body128valid
221.0ms647×body2048valid
216.0ms522×body4096valid
103.0ms400×body1024valid
48.0ms225×body512valid
14.0ms113×body256valid
Compiler

Compiled 207 to 102 computations (50.7% saved)

Profiling

Loading profile data...