Details

Time bar (total: 4.8s)

analyze946.0ms (19.7%)

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)

sample78.0ms (1.6%)

Algorithm
intervals
Results
28.0ms202×body128valid
15.0ms15×body4096valid
10.0ms16×body2048valid
7.0ms15×body1024valid
2.0msbody512valid
1.0msbody256valid
Compiler

Compiled 37 to 27 computations (27% saved)

simplify22.0ms (0.5%)

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

prune10.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 85 to 61 computations (28.2% saved)

localize13.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite16.0ms (0.3%)

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:

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

series120.0ms (2.5%)

Counts
2 → 32
Calls

2 calls:

88.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
31.0ms
(+.f64 re (hypot.f64 re im))

simplify132.0ms (2.7%)

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 → 99
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01611270
14351196
212551148
346831148
454131148

prune120.0ms (2.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New93699
Fresh101
Picked101
Done000
Total956101
Error
6.3b
Counts
101 → 6
Alt Table
StatusErrorProgram
12.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (+.f64 re (hypot.f64 re im))) (cbrt.f64 (+.f64 re (hypot.f64 re im)))) (cbrt.f64 (+.f64 re (hypot.f64 re im)))))))
27.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
48.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
45.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
12.1b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 1862 to 1265 computations (32.1% saved)

localize14.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite28.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
15×sqrt-prod_binary64
11×*-un-lft-identity_binary64
associate-*r*_binary64
add-cube-cbrt_binary64
Counts
2 → 55
Calls

2 calls:

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

series140.0ms (2.9%)

Counts
2 → 16
Calls

2 calls:

87.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 re (hypot.f64 re im))))
53.0ms
(sqrt.f64 (+.f64 re (hypot.f64 re im)))

simplify125.0ms (2.6%)

Algorithm
egg-herbie
Rules
608×fma-neg_binary64
601×fma-def_binary64
441×times-frac_binary64
335×associate-/l*_binary64
318×cancel-sign-sub-inv_binary64
Counts
71 → 102
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01811642
14611585
214871518
345391518
449971518

prune109.0ms (2.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1643167
Fresh145
Picked101
Done000
Total1667173
Error
6.2b
Counts
173 → 7
Alt Table
StatusErrorProgram
55.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 (/.f64 (*.f64 im im) re) -1/2))))
27.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
48.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
12.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (*.f64 (sqrt.f64 (cbrt.f64 2)) (sqrt.f64 (+.f64 re (hypot.f64 re im))))))
12.1b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (+.f64 re (hypot.f64 re im))))))
45.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
Compiler

Compiled 3186 to 2101 computations (34.1% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite27.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
36×sqrt-prod_binary64
18×associate-*l*_binary64
16×rem-sqrt-square_binary64
14×pow1_binary64
Counts
2 → 77
Calls

2 calls:

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

series86.0ms (1.8%)

Counts
2 → 16
Calls

2 calls:

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

simplify105.0ms (2.2%)

Algorithm
egg-herbie
Rules
591×fma-def_binary64
440×fma-neg_binary64
341×cancel-sign-sub-inv_binary64
263×associate-+l+_binary64
215×associate-*r*_binary64
Counts
93 → 153
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02182355
15412218
217492162
348342162
451362162

prune169.0ms (3.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3166322
Fresh426
Picked011
Done000
Total3209329
Error
6.2b
Counts
329 → 9
Alt Table
StatusErrorProgram
12.1b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (+.f64 re (hypot.f64 re im))))))
45.5b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))))
12.0b
(*.f64 1/2 (pow.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))) (/.f64 1 2)))
48.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
45.4b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (*.f64 (sqrt.f64 2) im))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
48.5b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (neg.f64 im)))))
55.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re))))))
12.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (+.f64 re (hypot.f64 re im))))) (cbrt.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (+.f64 re (hypot.f64 re im)))))) (cbrt.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (+.f64 re (hypot.f64 re im))))))))
Compiler

Compiled 5681 to 4049 computations (28.7% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))) (/.f64 1 2))
0.3b
(+.f64 re (hypot.f64 re im))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×pow-unpow_binary64
times-frac_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
1 → 29
Calls

1 calls:

7.0ms
(pow.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))) (/.f64 1 2))

series34.0ms (0.7%)

Counts
1 → 24
Calls

1 calls:

33.0ms
(pow.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))) (/.f64 1 2))

simplify63.0ms (1.3%)

Algorithm
egg-herbie
Rules
860×times-frac_binary64
453×associate-/l*_binary64
394×fma-def_binary64
367×associate-/r*_binary64
155×cancel-sign-sub-inv_binary64
Counts
53 → 100
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01961736
15051655
214961557
351411557

prune110.0ms (2.3%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3564360
Fresh527
Picked011
Done011
Total3618369
Error
1.8b
Counts
369 → 8
Alt Table
StatusErrorProgram
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
55.9b
(*.f64 1/2 (-.f64 (exp.f64 (*.f64 1/2 (+.f64 (log.f64 (/.f64 -1 re)) (log.f64 (pow.f64 im 2))))) (*.f64 1/8 (/.f64 (*.f64 (exp.f64 (*.f64 1/2 (+.f64 (log.f64 (/.f64 -1 re)) (log.f64 (pow.f64 im 2))))) (pow.f64 im 2)) (pow.f64 re 2)))))
12.0b
(*.f64 1/2 (pow.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))) (/.f64 1 2)))
49.6b
(*.f64 1/2 (sqrt.f64 (exp.f64 (-.f64 (log.f64 2) (log.f64 (/.f64 -1 im))))))
55.7b
(*.f64 1/2 (fma.f64 (*.f64 (/.f64 (*.f64 im im) (*.f64 re re)) (*.f64 (pow.f64 (/.f64 -1 re) 1/2) (exp.f64 (log.f64 im)))) -1/8 (*.f64 (pow.f64 (/.f64 -1 re) 1/2) (exp.f64 (log.f64 im)))))
55.1b
(*.f64 1/2 (*.f64 (pow.f64 (/.f64 -1 re) 1/2) (exp.f64 (log.f64 im))))
55.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re))))))
12.1b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (+.f64 re (hypot.f64 re im))))))
Compiler

Compiled 3682 to 2718 computations (26.2% saved)

regimes942.0ms (19.6%)

Accuracy

Total 7.6b remaining (69.6%)

Threshold costs 0b (0%)

Compiler

Compiled 9781 to 7879 computations (19.4% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03595
14595
24595

end1.0ms (0%)

Compiler

Compiled 63 to 43 computations (31.7% saved)

sample1.4s (28.4%)

Algorithm
intervals
Results
387.0ms6068×body128valid
220.0ms651×body2048valid
194.0ms529×body4096valid
100.0ms412×body1024valid
37.0ms221×body512valid
14.0ms119×body256valid
Compiler

Compiled 247 to 193 computations (21.9% saved)

Profiling

Loading profile data...