Details

Time bar (total: 4.3s)

analyze454.0ms (10.6%)

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)

sample58.0ms (1.4%)

Algorithm
intervals
Results
14.0ms194×body128valid
8.0ms20×body4096valid
7.0ms16×body2048valid
4.0ms14×body1024valid
2.0msbody512valid
0.0msbody256valid
Compiler

Compiled 37 to 27 computations (27% saved)

simplify12.0ms (0.3%)

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

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
12.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
12.7b
(*.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 3 expressions with local error:

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

series76.0ms (1.8%)

Counts
3 → 56
Calls

3 calls:

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

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

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

simplify79.0ms (1.9%)

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

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1108118
Fresh000
Picked101
Done000
Total1118119
Error
7.5b
Counts
119 → 8
Alt Table
StatusErrorProgram
46.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
12.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 re (hypot.f64 re im)))))
13.3b
(*.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)))))))
14.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
15.4b
(*.f64 1/2 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
48.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
54.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 2737 to 1857 computations (32.2% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series81.0ms (1.9%)

Counts
2 → 16
Calls

2 calls:

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

rewrite12.0ms (0.3%)

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:

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

simplify75.0ms (1.7%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01811642
14611585
214871518
345391518
449971518

prune132.0ms (3.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1692171
Fresh077
Picked101
Done000
Total1709179
Error
7.5b
Counts
179 → 9
Alt Table
StatusErrorProgram
12.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (+.f64 re (hypot.f64 re im))))))
13.3b
(*.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)))))))
14.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
15.4b
(*.f64 1/2 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
14.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
48.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
54.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
46.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
Compiler

Compiled 4149 to 2740 computations (34% 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)))))
1.0b
(+.f64 re (hypot.f64 re im))

series98.0ms (2.3%)

Counts
2 → 16
Calls

2 calls:

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

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

simplify93.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 → 117
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02182355
15412218
217492162
348342162
451362162

prune204.0ms (4.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1954199
Fresh268
Picked101
Done000
Total19810208
Error
7.5b
Counts
208 → 10
Alt Table
StatusErrorProgram
14.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
54.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
14.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
46.5b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (neg.f64 im)))))
48.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))))
15.4b
(*.f64 1/2 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
48.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
12.8b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (+.f64 re (hypot.f64 re im)))))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
54.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 5705 to 4056 computations (28.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series47.0ms (1.1%)

Counts
2 → 8
Calls

2 calls:

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

rewrite38.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
83×sqrt-prod_binary64
76×add-sqr-sqrt_binary64
35×sqrt-pow1_binary64
33×pow1_binary64
28×rem-sqrt-square_binary64
Counts
2 → 120
Calls

2 calls:

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

simplify96.0ms (2.2%)

Algorithm
egg-herbie
Rules
359×*-commutative_binary64
340×fma-def_binary64
304×unswap-sqr_binary64
299×fma-neg_binary64
282×cancel-sign-sub-inv_binary64
Counts
128 → 139
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01781550
13931455
212411403
328251370
449431366
549231366

prune174.0ms (4.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2201221
Fresh099
Picked011
Done000
Total22011231
Error
7.5b
Counts
231 → 11
Alt Table
StatusErrorProgram
14.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
54.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
14.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 re (*.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)))))))
46.5b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (neg.f64 im)))))
48.8b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))))
15.4b
(*.f64 1/2 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
48.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
12.8b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (+.f64 re (hypot.f64 re im)))))
16.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
54.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
48.8b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 im)))
Compiler

Compiled 5500 to 3809 computations (30.7% saved)

regimes984.0ms (23%)

Accuracy

Total 2.5b remaining (26.4%)

Threshold costs 0b (0%)

Counts
110 → 3
Compiler

Compiled 12802 to 10289 computations (19.6% saved)

bsearch4.0ms (0.1%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03599
14599
24599

end1.0ms (0%)

Compiler

Compiled 67 to 39 computations (41.8% saved)

sample1.4s (32.7%)

Algorithm
intervals
Results
422.0ms6157×body128valid
205.0ms518×body4096valid
191.0ms592×body2048valid
117.0ms395×body1024valid
42.0ms221×body512valid
14.0ms117×body256valid
Compiler

Compiled 259 to 190 computations (26.6% saved)

Profiling

Loading profile data...