Details

Time bar (total: 7.4s)

analyze1.7s (23.6%)

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

Compiled 20 to 12 computations (40% saved)

sample1.3s (18.1%)

Results
1.1s8256×body128valid
150.0ms223×body8192exit
31.0ms247×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11818
22218
32218

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
25.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
25.2b
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))
Compiler

Compiled 66 to 32 computations (51.5% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 c c (*.f64 d d))
0.5b
(fma.f64 a c (*.f64 b d))
24.9b
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))

series109.0ms (1.5%)

Counts
3 → 120
Calls

3 calls:

90.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))
9.0ms
(fma.f64 a c (*.f64 b d))
9.0ms
(fma.f64 c c (*.f64 d d))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 49
Calls

3 calls:

2.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))
0.0ms
(fma.f64 a c (*.f64 b d))
0.0ms
(fma.f64 c c (*.f64 d d))

simplify84.0ms (1.1%)

Algorithm
egg-herbie
Rules
686×fma-def_binary64
410×associate-/l/_binary64
377×fma-neg_binary64
252×distribute-rgt-neg-in_binary64
251×distribute-lft-neg-in_binary64
Counts
169 → 117
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01022836
12052674
26112590
321632542
450542542

prune84.0ms (1.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1116117
Fresh000
Picked101
Done000
Total1126118
Error
1.8b
Counts
118 → 6
Alt Table
StatusErrorProgram
38.6b
(*.f64 (/.f64 (sqrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)) (/.f64 (sqrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)))
37.2b
(/.f64 a c)
15.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
33.8b
(fma.f64 a (/.f64 c (*.f64 d d)) (/.f64 b d))
35.7b
(/.f64 b d)
25.2b
(fma.f64 b (/.f64 d (fma.f64 d d (*.f64 c c))) (/.f64 (*.f64 c a) (fma.f64 d d (*.f64 c c))))
Compiler

Compiled 2543 to 502 computations (80.3% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (hypot.f64 d c))
0.2b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
0.5b
(fma.f64 d b (*.f64 c a))
14.9b
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))

series242.0ms (3.3%)

Counts
4 → 168
Calls

4 calls:

112.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
100.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))
19.0ms
(/.f64 1 (hypot.f64 d c))
11.0ms
(fma.f64 d b (*.f64 c a))

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt_binary64
43×times-frac_binary64
36×*-un-lft-identity_binary64
34×add-cube-cbrt_binary64
32×add-exp-log_binary64
Counts
4 → 130
Calls

4 calls:

8.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
2.0ms
(/.f64 1 (hypot.f64 d c))
2.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))
0.0ms
(fma.f64 d b (*.f64 c a))

simplify156.0ms (2.1%)

Algorithm
egg-herbie
Rules
845×times-frac_binary64
428×fma-neg_binary64
410×fma-def_binary64
335×cancel-sign-sub-inv_binary64
274×distribute-rgt-in_binary64
Counts
298 → 286
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02336205
16315720
221255547
348415539
450795539

prune175.0ms (2.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2824286
Fresh325
Picked011
Done000
Total2857292
Error
0.2b
Counts
292 → 7
Alt Table
StatusErrorProgram
38.6b
(*.f64 (/.f64 (sqrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)) (/.f64 (sqrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)))
33.0b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
15.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
30.9b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
18.6b
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c))))
45.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 (fma.f64 (/.f64 c d) a b)))
25.2b
(fma.f64 b (/.f64 d (fma.f64 d d (*.f64 c c))) (/.f64 (*.f64 c a) (fma.f64 d d (*.f64 c c))))
Compiler

Compiled 7333 to 2176 computations (70.3% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (sqrt.f64 (hypot.f64 d c)))
0.5b
(fma.f64 d b (*.f64 c a))
7.7b
(/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c)))
15.1b
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c))))

series281.0ms (3.8%)

Counts
3 → 88
Calls

3 calls:

150.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c)))
107.0ms
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c))))
24.0ms
(/.f64 1 (sqrt.f64 (hypot.f64 d c)))

rewrite72.0ms (1%)

Algorithm
rewrite-expression-head
Rules
213×times-frac_binary64
177×add-sqr-sqrt_binary64
114×*-un-lft-identity_binary64
108×add-cube-cbrt_binary64
72×sqrt-prod_binary64
Counts
3 → 228
Calls

3 calls:

29.0ms
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c))))
3.0ms
(/.f64 1 (sqrt.f64 (hypot.f64 d c)))
3.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c)))

simplify231.0ms (3.1%)

Algorithm
egg-herbie
Rules
455×fma-def_binary64
436×cancel-sign-sub-inv_binary64
294×fma-neg_binary64
253×associate-*l/_binary64
245×distribute-rgt-in_binary64
Counts
316 → 370
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031310306
18278743
228348535
345428535
449878535

prune217.0ms (2.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3911392
Fresh235
Picked011
Done011
Total3936399
Error
0.2b
Counts
399 → 6
Alt Table
StatusErrorProgram
15.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
30.9b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
33.0b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
24.4b
(fma.f64 (/.f64 c (fma.f64 c c (*.f64 d d))) a (/.f64 (*.f64 d b) (fma.f64 c c (*.f64 d d))))
18.6b
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c))))
45.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 (fma.f64 (/.f64 c d) a b)))
Compiler

Compiled 13327 to 3490 computations (73.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 c c (*.f64 d d))
2.1b
(fma.f64 (/.f64 c (fma.f64 c c (*.f64 d d))) a (/.f64 (*.f64 d b) (fma.f64 c c (*.f64 d d))))
16.2b
(/.f64 c (fma.f64 c c (*.f64 d d)))
17.4b
(/.f64 (*.f64 d b) (fma.f64 c c (*.f64 d d)))

series248.0ms (3.3%)

Counts
3 → 108
Calls

3 calls:

145.0ms
(fma.f64 (/.f64 c (fma.f64 c c (*.f64 d d))) a (/.f64 (*.f64 d b) (fma.f64 c c (*.f64 d d))))
86.0ms
(/.f64 (*.f64 d b) (fma.f64 c c (*.f64 d d)))
16.0ms
(/.f64 c (fma.f64 c c (*.f64 d d)))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
12×times-frac_binary64
10×add-cbrt-cube_binary64
Counts
3 → 62
Calls

3 calls:

3.0ms
(/.f64 (*.f64 d b) (fma.f64 c c (*.f64 d d)))
2.0ms
(/.f64 c (fma.f64 c c (*.f64 d d)))
0.0ms
(fma.f64 (/.f64 c (fma.f64 c c (*.f64 d d))) a (/.f64 (*.f64 d b) (fma.f64 c c (*.f64 d d))))

simplify115.0ms (1.5%)

Algorithm
egg-herbie
Rules
781×associate-/l*_binary64
775×times-frac_binary64
354×fma-neg_binary64
284×associate-/l/_binary64
240×cancel-sign-sub-inv_binary64
Counts
170 → 159
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01864060
14173810
213463696
346563696
449643696

prune121.0ms (1.6%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2041205
Fresh033
Picked011
Done022
Total2047211
Error
0.0b
Counts
211 → 7
Alt Table
StatusErrorProgram
15.9b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
30.9b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
33.0b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
24.4b
(fma.f64 (/.f64 c (fma.f64 c c (*.f64 d d))) a (/.f64 (*.f64 d b) (fma.f64 c c (*.f64 d d))))
18.6b
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (sqrt.f64 (hypot.f64 d c))))
45.1b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 (fma.f64 (/.f64 c d) a b)))
12.6b
(fma.f64 (/.f64 c (fma.f64 c c (*.f64 d d))) a (*.f64 (/.f64 d (hypot.f64 d c)) (/.f64 b (hypot.f64 d c))))
Compiler

Compiled 5561 to 1098 computations (80.3% saved)

regimes1.9s (25.4%)

Accuracy

Total 6.1b remaining (98.6%)

Threshold costs 0b (0%)

Counts
156 → 5
Compiler

Compiled 16798 to 8904 computations (47% saved)

bsearch88.0ms (1.2%)

Steps
ItersRangePoint
8
1.3911201530396798e+119
2.188913424522284e+122
2.1546967477784777e+122
4
5.128383406173875e-177
7.541457833649871e-174
4.87134912457176e-174
7
-5.850809904216814e-141
-3.0449618591271845e-142
-3.072242908321757e-142
5
-7.0070866402637814e+159
-2.081921925101563e+159
-2.1315939500394346e+159
Compiler

Compiled 5 to 4 computations (20% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
037134
146134
253132
360132
463132
564132
662132

end110.0ms (1.5%)

Compiler

Compiled 332 to 145 computations (56.3% saved)

Profiling

Loading profile data...