Details

Time bar (total: 4.6s)

analyze1.1s (23.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%48.6%51.4%0
0%48.6%51.4%1
24.3%24.3%51.4%2
24.3%24.3%51.4%3
30.4%18.2%51.4%4
30.4%18.2%51.4%5
33.4%15.2%51.4%6
33.4%15.2%51.4%7
34.6%14.1%51.4%8
34.8%13.9%51.4%9
35.4%13.2%51.4%10
35.6%13.1%51.4%11
35.9%12.7%51.4%12
36%12.6%51.4%13
36.2%12.4%51.4%14
Compiler

Compiled 28 to 20 computations (28.6% saved)

sample1.9s (42.6%)

Results
840.0ms6198×body128valid
517.0ms856×body2048valid
253.0ms546×body1024valid
186.0ms281×body4096valid
95.0ms252×body512valid
28.0ms123×body256valid
Compiler

Compiled 75 to 54 computations (28% saved)

simplify13.0ms (0.3%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
associate-/l*_binary64
distribute-lft-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01524
13124
24122
34822
45022
55222
65322
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
11.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.6b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 4 (*.f64 p p))))) 1/2))
Compiler

Compiled 68 to 48 computations (29.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 4 (*.f64 p p)))
0.0b
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 4 (*.f64 p p)))))
0.0b
(*.f64 4 (*.f64 p p))
14.9b
(sqrt.f64 (fma.f64 x x (*.f64 4 (*.f64 p p))))

series40.0ms (0.9%)

Counts
4 → 84
Calls

4 calls:

21.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 4 (*.f64 p p)))))
9.0ms
(sqrt.f64 (fma.f64 x x (*.f64 4 (*.f64 p p))))
7.0ms
(fma.f64 x x (*.f64 4 (*.f64 p p)))
2.0ms
(*.f64 4 (*.f64 p p))

rewrite51.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
817×log1p-expm1-u_binary64
817×expm1-log1p-u_binary64
154×prod-diff_binary64
98×egg-rr
88×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0947
118734
2227634
Stop Event
node limit
Counts
4 → 98
Calls

4 calls:

49.0ms
(fma.f64 x x (*.f64 4 (*.f64 p p)))
49.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 4 (*.f64 p p)))))
49.0ms
(*.f64 4 (*.f64 p p))
49.0ms
(sqrt.f64 (fma.f64 x x (*.f64 4 (*.f64 p p))))

simplify53.0ms (1.2%)

Algorithm
egg-herbie
Rules
483×times-frac_binary64
264×sub-neg_binary64
263×associate-/l*_binary64
249×fma-def_binary64
211×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0971427
13101401
210151369
346111342
Stop Event
node limit
Counts
182 → 163

prune171.0ms (3.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1558163
Fresh000
Picked011
Done000
Total1559164
Error
11.5b
Counts
164 → 9
Alt Table
StatusErrorProgram
11.6b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 4 (*.f64 p p))))) 1/2))
12.0b
(sqrt.f64 (fma.f64 1/2 (*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 x (*.f64 p 2)))) (/.f64 x (sqrt.f64 (hypot.f64 x (*.f64 p 2))))) 1/2))
13.7b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x (*.f64 p 2))) 2) 3))) 1/2))
13.7b
(sqrt.f64 (fma.f64 1/2 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (hypot.f64 x (*.f64 p 2))))) 1/2))
11.8b
(sqrt.f64 (fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2))
27.9b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (fma.f64 2 p (*.f64 1/4 (*.f64 (/.f64 x p) x)))) 1/2))
13.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x (*.f64 p 2))) 2) (*.f64 (cbrt.f64 (hypot.f64 x (*.f64 p 2))) (hypot.f64 x (*.f64 p 2)))))) 1/2))
12.5b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (pow.f64 (sqrt.f64 (hypot.f64 x (*.f64 p 2))) 2)) 1/2))
13.4b
(sqrt.f64 (fma.f64 1/2 (*.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (hypot.f64 x (*.f64 p 2)))) (/.f64 (cbrt.f64 x) (sqrt.f64 (hypot.f64 x (*.f64 p 2))))) 1/2))
Compiler

Compiled 3471 to 2580 computations (25.7% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2))
0.0b
(/.f64 1 (hypot.f64 x (*.f64 p 2)))
0.3b
(*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2))))
1.2b
(fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2)

series61.0ms (1.3%)

Counts
4 → 96
Calls

4 calls:

18.0ms
(sqrt.f64 (fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2))
15.0ms
(fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2)
15.0ms
(*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2))))
13.0ms
(/.f64 1 (hypot.f64 x (*.f64 p 2)))

rewrite50.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
504×log-prod_binary64
195×pow1/3_binary64
195×expm1-udef_binary64
195×log1p-udef_binary64
180×pow3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01250
124350
2273550
Stop Event
node limit
Counts
4 → 117
Calls

4 calls:

48.0ms
(sqrt.f64 (fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2))
48.0ms
(/.f64 1 (hypot.f64 x (*.f64 p 2)))
48.0ms
(*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2))))
48.0ms
(fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2)

simplify51.0ms (1.1%)

Algorithm
egg-herbie
Rules
638×associate-/l*_binary64
598×fma-def_binary64
446×cancel-sign-sub-inv_binary64
258×fma-neg_binary64
228×sub-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01842421
16042351
221382237
Stop Event
node limit
Counts
213 → 229

prune147.0ms (3.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2263229
Fresh707
Picked011
Done101
Total2344238
Error
1.8b
Counts
238 → 4
Alt Table
StatusErrorProgram
11.8b
(sqrt.f64 (fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2))
53.3b
(sqrt.f64 (*.f64 (/.f64 p x) (/.f64 p x)))
31.0b
(fma.f64 (/.f64 x (*.f64 p (sqrt.f64 1/2))) -1/8 (sqrt.f64 1/2))
53.2b
(/.f64 (neg.f64 p) x)
Compiler

Compiled 4659 to 2937 computations (37% saved)

localize5.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (/.f64 x (*.f64 p (sqrt.f64 1/2))) -1/8 (sqrt.f64 1/2))
0.2b
(/.f64 x (*.f64 p (sqrt.f64 1/2)))
0.4b
(*.f64 p (sqrt.f64 1/2))

series34.0ms (0.7%)

Counts
3 → 60
Calls

3 calls:

16.0ms
(fma.f64 (/.f64 x (*.f64 p (sqrt.f64 1/2))) -1/8 (sqrt.f64 1/2))
16.0ms
(/.f64 x (*.f64 p (sqrt.f64 1/2)))
3.0ms
(*.f64 p (sqrt.f64 1/2))

rewrite42.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
871×log1p-expm1-u_binary64
871×expm1-log1p-u_binary64
90×add-sqr-sqrt_binary64
86×add-log-exp_binary64
85×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0930
118830
2232430
Stop Event
node limit
Counts
3 → 78
Calls

3 calls:

40.0ms
(fma.f64 (/.f64 x (*.f64 p (sqrt.f64 1/2))) -1/8 (sqrt.f64 1/2))
40.0ms
(/.f64 x (*.f64 p (sqrt.f64 1/2)))
40.0ms
(*.f64 p (sqrt.f64 1/2))

simplify43.0ms (0.9%)

Algorithm
egg-herbie
Rules
567×fma-neg_binary64
371×fma-def_binary64
359×times-frac_binary64
311×cancel-sign-sub-inv_binary64
262×div-sub_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
012639
125639
269603
3169603
4336603
5594603
6939603
71537603
83780603
Stop Event
node limit
Counts
138 → 86

prune43.0ms (0.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done011
Total86490
Error
1.8b
Counts
90 → 4
Alt Table
StatusErrorProgram
11.8b
(sqrt.f64 (fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2))
53.3b
(sqrt.f64 (*.f64 (/.f64 p x) (/.f64 p x)))
31.0b
(fma.f64 (/.f64 x (*.f64 p (sqrt.f64 1/2))) -1/8 (sqrt.f64 1/2))
53.2b
(/.f64 (neg.f64 p) x)
Compiler

Compiled 1306 to 1040 computations (20.4% saved)

localize3.0ms (0.1%)

prune3.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
1.8b
Counts
4 → 4
Alt Table
StatusErrorProgram
11.8b
(sqrt.f64 (fma.f64 1/2 (*.f64 x (/.f64 1 (hypot.f64 x (*.f64 p 2)))) 1/2))
53.3b
(sqrt.f64 (*.f64 (/.f64 p x) (/.f64 p x)))
31.0b
(fma.f64 (/.f64 x (*.f64 p (sqrt.f64 1/2))) -1/8 (sqrt.f64 1/2))
53.2b
(/.f64 (neg.f64 p) x)
Compiler

Compiled 43 to 31 computations (27.9% saved)

regimes644.0ms (14.1%)

Accuracy

Total 4.1b remaining (57.3%)

Threshold costs 0b (0%)

Counts
82 → 2
Compiler

Compiled 8523 to 6671 computations (21.7% saved)

bsearch2.0ms (0%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify2.0ms (0.1%)

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
02347
13147
23547
33847
43947
Stop Event
saturated

end62.0ms (1.4%)

Compiler

Compiled 109 to 75 computations (31.2% saved)

Profiling

Loading profile data...