Details

Time bar (total: 11.7s)

analyze56.0ms (0.5%)

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
74.9%25%0.2%5
74.9%25%0.2%6
74.9%25%0.2%7
87.3%12.5%0.2%8
93.6%6.2%0.2%9
93.6%6.2%0.2%10
93.6%6.2%0.2%11
96.7%3.1%0.2%12
98.2%1.6%0.2%13
98.2%1.6%0.2%14
Compiler

Compiled 20 to 12 computations (40% saved)

sample1.5s (12.4%)

Results
1.4s8256×body128valid
Compiler

Compiled 59 to 35 computations (40.7% saved)

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

prune14.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 66 to 32 computations (51.5% saved)

localize12.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.0b
(fma.f64 a c (*.f64 b d))
28.6b
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))

series135.0ms (1.2%)

Counts
2 → 96
Calls

2 calls:

120.0ms
(/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))
15.0ms
(fma.f64 a c (*.f64 b d))

rewrite8.0ms (0.1%)

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

2 calls:

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

simplify167.0ms (1.4%)

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
135 → 94
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0982544
12022411
26042327
321542279
450322279

prune127.0ms (1.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New85994
Fresh000
Picked101
Done000
Total86995
Error
2.0b
Counts
95 → 9
Alt Table
StatusErrorProgram
17.4b
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
34.4b
(fma.f64 a (/.f64 c (*.f64 d d)) (/.f64 b d))
28.8b
(*.f64 (fma.f64 a c (*.f64 b d)) (/.f64 1 (fma.f64 c c (*.f64 d d))))
32.1b
(fma.f64 b (/.f64 d (*.f64 c c)) (/.f64 a c))
42.2b
(*.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)))
17.9b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (cbrt.f64 (fma.f64 d b (*.f64 c a)))) (hypot.f64 d c)) (/.f64 (cbrt.f64 (fma.f64 d b (*.f64 c a))) (hypot.f64 d c)))
29.2b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))) (cbrt.f64 (/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d))))) (cbrt.f64 (/.f64 (fma.f64 a c (*.f64 b d)) (fma.f64 c c (*.f64 d d)))))
28.7b
(/.f64 (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)) (sqrt.f64 (fma.f64 c c (*.f64 d d))))
36.0b
(/.f64 a c)
Compiler

Compiled 2386 to 522 computations (78.1% saved)

localize15.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.2b
(fma.f64 d b (*.f64 c a))
16.7b
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))

series477.0ms (4.1%)

Counts
4 → 168
Calls

4 calls:

225.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
167.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))
72.0ms
(/.f64 1 (hypot.f64 d c))
12.0ms
(fma.f64 d b (*.f64 c a))

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

16.0ms
(*.f64 (/.f64 1 (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c)))
4.0ms
(/.f64 (fma.f64 d b (*.f64 c a)) (hypot.f64 d c))
3.0ms
(/.f64 1 (hypot.f64 d c))
1.0ms
(fma.f64 d b (*.f64 c a))

simplify314.0ms (2.7%)

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

prune429.0ms (3.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2797286
Fresh718
Picked101
Done000
Total2878295
Error
0.2b
Counts
295 → 8
Alt Table
StatusErrorProgram
17.6b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 d c))) (/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c)) (sqrt.f64 (hypot.f64 d c))))
44.8b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 (fma.f64 (/.f64 d c) b a)))
17.3b
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c)) (hypot.f64 d c))
46.5b
(*.f64 (/.f64 1 (hypot.f64 d c)) (neg.f64 (fma.f64 (/.f64 c d) a b)))
25.0b
(*.f64 (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (hypot.f64 d c)) (cbrt.f64 (hypot.f64 d c)))) (hypot.f64 d c)) (/.f64 (fma.f64 d b (*.f64 c a)) (cbrt.f64 (hypot.f64 d c))))
28.8b
(*.f64 (fma.f64 a c (*.f64 b d)) (/.f64 1 (fma.f64 c c (*.f64 d d))))
31.8b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
29.5b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
Compiler

Compiled 7381 to 2215 computations (70% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 d c)
0.1b
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c)) (hypot.f64 d c))
1.0b
(fma.f64 a c (*.f64 d b))
16.7b
(/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c))

series469.0ms (4%)

Counts
4 → 168
Calls

4 calls:

225.0ms
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c)) (hypot.f64 d c))
184.0ms
(/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c))
33.0ms
(hypot.f64 d c)
26.0ms
(fma.f64 a c (*.f64 d b))

rewrite89.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64
54×*-un-lft-identity_binary64
54×add-sqr-sqrt_binary64
54×add-cube-cbrt_binary64
16×associate-/l*_binary64
Counts
4 → 121
Calls

4 calls:

9.0ms
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c)) (hypot.f64 d c))
4.0ms
(/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c))
1.0ms
(fma.f64 a c (*.f64 d b))
1.0ms
(hypot.f64 d c)

simplify333.0ms (2.9%)

Algorithm
egg-herbie
Rules
809×times-frac_binary64
517×fma-neg_binary64
383×associate-/l/_binary64
360×fma-def_binary64
309×cancel-sign-sub-inv_binary64
Counts
289 → 291
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02656714
16696476
218456153
346276153
449676153

prune509.0ms (4.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3294333
Fresh527
Picked011
Done000
Total3347341
Error
0.2b
Counts
341 → 7
Alt Table
StatusErrorProgram
46.5b
(/.f64 (neg.f64 (fma.f64 (/.f64 c d) a b)) (hypot.f64 d c))
27.9b
(*.f64 (/.f64 (fma.f64 a c (*.f64 d b)) 1) (/.f64 (/.f64 1 (hypot.f64 d c)) (hypot.f64 d c)))
44.7b
(/.f64 (neg.f64 (fma.f64 (/.f64 d c) b a)) (hypot.f64 d c))
17.3b
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c)) (hypot.f64 d c))
17.5b
(/.f64 (/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
31.8b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
29.5b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
Compiler

Compiled 8453 to 1923 computations (77.3% saved)

localize28.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
1.0b
(fma.f64 a c (*.f64 d b))
7.9b
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
9.0b
(/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c)))

series659.0ms (5.6%)

Counts
3 → 128
Calls

3 calls:

241.0ms
(/.f64 (/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
239.0ms
(/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c)))
178.0ms
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))

rewrite588.0ms (5%)

Algorithm
rewrite-expression-head
Rules
1644×times-frac_binary64
784×*-un-lft-identity_binary64
784×add-sqr-sqrt_binary64
784×add-cube-cbrt_binary64
624×sqrt-prod_binary64
Counts
3 → 784
Calls

3 calls:

49.0ms
(/.f64 (/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
30.0ms
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c)))
6.0ms
(/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c)))

simplify2.1s (18.4%)

Algorithm
egg-herbie
Rules
506×associate-/r*_binary64
443×fma-def_binary64
441×associate-/l/_binary64
419×cancel-sign-sub-inv_binary64
243×associate-/l*_binary64
Counts
912 → 1004
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
077444671
1176942279
2344539665
3482539014
4497439014
5495639014

prune1.1s (9.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New102411025
Fresh145
Picked011
Done011
Total102571032
Error
0.2b
Counts
1032 → 7
Alt Table
StatusErrorProgram
29.5b
(fma.f64 (/.f64 b c) (/.f64 d c) (/.f64 a c))
27.9b
(*.f64 (fma.f64 d b (*.f64 c a)) (/.f64 (/.f64 1 (hypot.f64 d c)) (hypot.f64 d c)))
44.7b
(/.f64 (neg.f64 (fma.f64 (/.f64 d c) b a)) (hypot.f64 d c))
17.3b
(/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (hypot.f64 d c)) (hypot.f64 d c))
17.5b
(/.f64 (/.f64 (/.f64 (fma.f64 a c (*.f64 d b)) (sqrt.f64 (hypot.f64 d c))) (sqrt.f64 (hypot.f64 d c))) (hypot.f64 d c))
46.5b
(/.f64 (neg.f64 (fma.f64 (/.f64 c d) a b)) (hypot.f64 d c))
31.8b
(fma.f64 (/.f64 a d) (/.f64 c d) (/.f64 b d))
Compiler

Compiled 40980 to 5425 computations (86.8% saved)

regimes2.1s (18.1%)

Accuracy

Total 9.5b remaining (97.7%)

Threshold costs 0b (0%)

Counts
117 → 5
Compiler

Compiled 11893 to 6314 computations (46.9% saved)

bsearch131.0ms (1.1%)

Steps
ItersRangePoint
9
2.3747717619077724e+92
7.865607200093191e+99
1.7908903707439708e+98
7
9.514026573838576e-131
2.6717172040399705e-129
8.272481472784187e-130
10
-6.075455576341602e-127
-8.581049049977316e-142
-3.6283479029046922e-140
9
-2.4807475401011038e+103
-7.293119437331218e+94
-2.1840157650846506e+101
Compiler

Compiled 5 to 4 computations (20% saved)

simplify24.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
038116
145116
249116
352116
453116
553116

end238.0ms (2%)

Compiler

Compiled 290 to 137 computations (52.8% saved)

Profiling

Loading profile data...