Details

Time bar (total: 4.5s)

analyze658.0ms (14.7%)

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
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14
Compiler

Compiled 20 to 12 computations (40% saved)

sample1.0s (22.8%)

Results
940.0ms8256×body128valid
56.0ms449×body128invalid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify6.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.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 66 to 32 computations (51.5% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series85.0ms (1.9%)

Counts
2 → 96
Calls

2 calls:

76.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))
8.0ms
(fma.f64 a c (*.f64 b d))

rewrite82.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
512×log-prod_binary64
348×prod-diff_binary64
186×expm1-udef_binary64
186×log1p-udef_binary64
175×pow3_binary64
Counts
2 → 66
Calls

2 calls:

80.0ms
(fma.f64 a c (*.f64 b d))
80.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
120325
2245725
3497625
4515325
000
100

simplify51.0ms (1.1%)

Algorithm
egg-herbie
Rules
598×associate-*l/_binary64
518×fma-def_binary64
410×associate-/r/_binary64
354×fma-neg_binary64
282×associate-/l/_binary64
Counts
162 → 90
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0411626
11121542
23501458
315451410
451461410

prune52.0ms (1.2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New84690
Fresh000
Picked101
Done000
Total85691
Error
1.1b
Counts
91 → 6
Alt Table
StatusErrorProgram
22.9b
(/.f64 (fma.f64 d b (*.f64 c a)) (fma.f64 c c (*.f64 d d)))
36.3b
(fma.f64 b (/.f64 d (*.f64 c c)) (/.f64 a c))
38.5b
(/.f64 a c)
33.5b
(fma.f64 a (/.f64 c (*.f64 d d)) (/.f64 b d))
39.2b
(pow.f64 (/.f64 (sqrt.f64 (fma.f64 a c (*.f64 b d))) (hypot.f64 c d)) 2)
12.4b
(*.f64 (/.f64 1 (hypot.f64 c d)) (/.f64 (fma.f64 a c (*.f64 b d)) (hypot.f64 c d)))
Compiler

Compiled 1822 to 631 computations (65.4% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series203.0ms (4.5%)

Counts
3 → 120
Calls

3 calls:

97.0ms
(*.f64 (/.f64 1 (hypot.f64 c d)) (/.f64 (fma.f64 a c (*.f64 b d)) (hypot.f64 c d)))
89.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (hypot.f64 c d))
17.0ms
(/.f64 1 (hypot.f64 c d))

rewrite76.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
614×log-prod_binary64
254×prod-diff_binary64
213×expm1-udef_binary64
213×log1p-udef_binary64
200×log-pow_binary64
Counts
3 → 124
Calls

3 calls:

73.0ms
(/.f64 1 (hypot.f64 c d))
73.0ms
(*.f64 (/.f64 1 (hypot.f64 c d)) (/.f64 (fma.f64 a c (*.f64 b d)) (hypot.f64 c d)))
73.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (hypot.f64 c d))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01241
124538
2294438
3562738
000
100

simplify91.0ms (2%)

Algorithm
egg-herbie
Rules
600×fma-neg_binary64
573×times-frac_binary64
429×associate-/l*_binary64
359×fma-def_binary64
322×cancel-sign-sub-inv_binary64
Counts
244 → 208
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01173002
13762830
212682666
348252658
452482658

prune145.0ms (3.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2374241
Fresh325
Picked011
Done000
Total2407247
Error
0.1b
Counts
247 → 7
Alt Table
StatusErrorProgram
22.9b
(/.f64 (fma.f64 d b (*.f64 c a)) (fma.f64 c c (*.f64 d d)))
44.4b
(*.f64 (/.f64 1 (hypot.f64 c d)) (fma.f64 (/.f64 d c) b a))
33.5b
(fma.f64 a (/.f64 c (*.f64 d d)) (/.f64 b d))
33.5b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
30.7b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
13.0b
(/.f64 1 (*.f64 (/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d))) (hypot.f64 c d)))
12.4b
(*.f64 (/.f64 1 (hypot.f64 c d)) (/.f64 (fma.f64 a c (*.f64 b d)) (hypot.f64 c d)))
Compiler

Compiled 5441 to 1996 computations (63.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series226.0ms (5.1%)

Counts
3 → 144
Calls

3 calls:

98.0ms
(/.f64 1 (*.f64 (/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d))) (hypot.f64 c d)))
67.0ms
(*.f64 (/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d))) (hypot.f64 c d))
61.0ms
(/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d)))

rewrite79.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
617×log-prod_binary64
245×prod-diff_binary64
217×expm1-udef_binary64
217×log1p-udef_binary64
203×log-pow_binary64
Counts
3 → 99
Calls

3 calls:

77.0ms
(*.f64 (/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d))) (hypot.f64 c d))
77.0ms
(/.f64 1 (*.f64 (/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d))) (hypot.f64 c d)))
77.0ms
(/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01257
124651
2296051
3564351
000
100

simplify188.0ms (4.2%)

Algorithm
egg-herbie
Rules
887×cancel-sign-sub-inv_binary64
326×times-frac_binary64
321×sub-neg_binary64
309×fma-neg_binary64
256×associate-/l*_binary64
Counts
243 → 195
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01946642
17135852
233255816
354425816

prune175.0ms (3.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2280228
Fresh055
Picked011
Done011
Total2287235
Error
0.1b
Counts
235 → 7
Alt Table
StatusErrorProgram
22.9b
(/.f64 (fma.f64 d b (*.f64 c a)) (fma.f64 c c (*.f64 d d)))
44.4b
(*.f64 (/.f64 1 (hypot.f64 c d)) (fma.f64 (/.f64 d c) b a))
33.5b
(fma.f64 a (/.f64 c (*.f64 d d)) (/.f64 b d))
33.5b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
30.7b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
13.0b
(/.f64 1 (*.f64 (/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d))) (hypot.f64 c d)))
12.4b
(*.f64 (/.f64 1 (hypot.f64 c d)) (/.f64 (fma.f64 a c (*.f64 b d)) (hypot.f64 c d)))
Compiler

Compiled 6578 to 2797 computations (57.5% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 d b (*.f64 c a))
22.5b
(/.f64 (fma.f64 d b (*.f64 c a)) (fma.f64 c c (*.f64 d d)))

series92.0ms (2.1%)

Counts
2 → 96
Calls

2 calls:

82.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (fma.f64 c c (*.f64 d d)))
10.0ms
(fma.f64 d b (*.f64 c a))

rewrite82.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
512×log-prod_binary64
348×prod-diff_binary64
186×expm1-udef_binary64
186×log1p-udef_binary64
175×pow3_binary64
Counts
2 → 66
Calls

2 calls:

80.0ms
(fma.f64 d b (*.f64 c a))
80.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (fma.f64 c c (*.f64 d d)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
120325
2245725
3497925
4515625
000
100

simplify53.0ms (1.2%)

Algorithm
egg-herbie
Rules
598×associate-*l/_binary64
518×fma-def_binary64
410×associate-/r/_binary64
354×fma-neg_binary64
282×associate-/l/_binary64
Counts
162 → 90
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0411626
11121542
23501458
315451410
451461410

prune44.0ms (1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh044
Picked011
Done022
Total90797
Error
0.1b
Counts
97 → 7
Alt Table
StatusErrorProgram
22.9b
(/.f64 (fma.f64 d b (*.f64 c a)) (fma.f64 c c (*.f64 d d)))
44.4b
(*.f64 (/.f64 1 (hypot.f64 c d)) (fma.f64 (/.f64 d c) b a))
33.5b
(fma.f64 a (/.f64 c (*.f64 d d)) (/.f64 b d))
33.5b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
30.7b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
13.0b
(/.f64 1 (*.f64 (/.f64 (hypot.f64 c d) (fma.f64 a c (*.f64 b d))) (hypot.f64 c d)))
12.4b
(*.f64 (/.f64 1 (hypot.f64 c d)) (/.f64 (fma.f64 a c (*.f64 b d)) (hypot.f64 c d)))
Compiler

Compiled 1755 to 587 computations (66.6% saved)

regimes830.0ms (18.6%)

Accuracy

Total 10.1b remaining (97.8%)

Threshold costs 0b (0%)

Counts
76 → 5
Compiler

Compiled 6408 to 3994 computations (37.7% saved)

bsearch90.0ms (2%)

Steps
ItersRangePoint
9
3.366100743382238e+180
6.148811803831594e+186
3.408225542871235e+180
6
7.633393291458624e-213
8.584019608971907e-212
4.5110647824345223e-212
11
-7.076260634261073e-232
-9.681289010105418e-256
-4.084260136662665e-238
10
-1.2042930726255398e+162
-4.505010813841915e+149
-9.705756685731516e+151
Compiler

Compiled 5 to 4 computations (20% saved)

simplify5.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
036111
145111
252109
360109
463109
564109
662109

end96.0ms (2.1%)

Compiler

Compiled 275 to 131 computations (52.4% saved)

Profiling

Loading profile data...