Details

Time bar (total: 5.3s)

analyze1.2s (22%)

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)

sample2.1s (38.9%)

Results
929.0ms6332×body128valid
526.0ms759×body2048valid
259.0ms518×body1024valid
189.0ms256×body4096valid
104.0ms273×body512valid
33.0ms118×body256valid
Compiler

Compiled 75 to 54 computations (28% saved)

simplify7.0ms (0.1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01524
13124
23922
34522
44722
54922
65022
74722

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 68 to 48 computations (29.4% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.0b
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
0.7b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
15.6b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series81.0ms (1.5%)

Counts
4 → 96
Calls

4 calls:

28.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
22.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
20.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
11.0ms
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
18×times-frac_binary64
18×sqrt-prod_binary64
Counts
4 → 81
Calls

4 calls:

3.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
1.0ms
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))
1.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)

simplify98.0ms (1.8%)

Algorithm
egg-herbie
Rules
716×associate-/l*_binary64
593×fma-def_binary64
419×cancel-sign-sub-inv_binary64
284×fma-neg_binary64
229×sub-neg_binary64
Counts
177 → 241
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02734370
17344162
222944048
352264048

prune186.0ms (3.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2374241
Fresh000
Picked011
Done000
Total2375242
Error
3.4b
Counts
242 → 5
Alt Table
StatusErrorProgram
57.8b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3 (*.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35)))))
51.1b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
14.3b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
14.7b
(sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)))
54.9b
(/.f64 p (neg.f64 x))
Compiler

Compiled 5778 to 3890 computations (32.7% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
0.5b
(cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3))
0.7b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)
15.6b
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

series80.0ms (1.5%)

Counts
4 → 96
Calls

4 calls:

26.0ms
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
21.0ms
(cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3))
21.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)
11.0ms
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
12×add-sqr-sqrt_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
cube-prod_binary64
Counts
4 → 73
Calls

4 calls:

1.0ms
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
1.0ms
(cbrt.f64 (pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3))
1.0ms
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))
0.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)

simplify109.0ms (2%)

Algorithm
egg-herbie
Rules
760×times-frac_binary64
633×fma-neg_binary64
388×fma-def_binary64
259×cancel-sign-sub-inv_binary64
203×unswap-sqr_binary64
Counts
169 → 159
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02124114
15393786
215933641
345003641
450103641

prune117.0ms (2.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1581159
Fresh033
Picked101
Done011
Total1595164
Error
3.4b
Counts
164 → 5
Alt Table
StatusErrorProgram
57.8b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3 (*.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35)))))
51.1b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
14.3b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
54.9b
(/.f64 p (neg.f64 x))
31.6b
(sqrt.f64 (cbrt.f64 (fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8))))
Compiler

Compiled 4224 to 2939 computations (30.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (/.f64 x p) 3/16 1/8)
0.3b
(*.f64 (/.f64 x p) (/.f64 x p))
0.7b
(fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8))
14.2b
(cbrt.f64 (fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8)))

series78.0ms (1.5%)

Counts
4 → 96
Calls

4 calls:

30.0ms
(cbrt.f64 (fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8)))
28.0ms
(*.f64 (/.f64 x p) (/.f64 x p))
15.0ms
(fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8))
5.0ms
(fma.f64 (/.f64 x p) 3/16 1/8)

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt_binary64
40×times-frac_binary64
33×*-un-lft-identity_binary64
33×add-cube-cbrt_binary64
16×add-cbrt-cube_binary64
Counts
4 → 102
Calls

4 calls:

10.0ms
(*.f64 (/.f64 x p) (/.f64 x p))
1.0ms
(cbrt.f64 (fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8)))
0.0ms
(fma.f64 (/.f64 x p) 3/16 1/8)
0.0ms
(fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8))

simplify116.0ms (2.2%)

Algorithm
egg-herbie
Rules
503×associate-/r/_binary64
395×associate-/l/_binary64
314×fma-def_binary64
197×fma-neg_binary64
171×associate-*r/_binary64
Counts
198 → 197
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02394079
16333670
220913281
348003271
449653271

prune108.0ms (2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1970197
Fresh033
Picked011
Done011
Total1975202
Error
3.4b
Counts
202 → 5
Alt Table
StatusErrorProgram
57.8b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3 (*.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35)))))
51.1b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
14.3b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
54.9b
(/.f64 p (neg.f64 x))
31.6b
(sqrt.f64 (cbrt.f64 (fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8))))
Compiler

Compiled 5419 to 2902 computations (46.4% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 p (/.f64 (*.f64 x x) p))
0.2b
(/.f64 (*.f64 x x) p)
23.2b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

series40.0ms (0.7%)

Counts
3 → 72
Calls

3 calls:

25.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
9.0ms
(/.f64 (*.f64 x x) p)
5.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
69×times-frac_binary64
40×add-sqr-sqrt_binary64
35×*-un-lft-identity_binary64
35×add-cube-cbrt_binary64
26×sqrt-prod_binary64
Counts
3 → 114
Calls

3 calls:

5.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
4.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
3.0ms
(/.f64 (*.f64 x x) p)

simplify132.0ms (2.5%)

Algorithm
egg-herbie
Rules
676×times-frac_binary64
393×associate-/l*_binary64
381×associate-/l/_binary64
365×unswap-sqr_binary64
334×fma-neg_binary64
Counts
186 → 192
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01702504
13002325
28532121
330292022
442001918
549631918
649931918

prune58.0ms (1.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1911192
Fresh022
Picked101
Done022
Total1925197
Error
0b
Counts
197 → 5
Alt Table
StatusErrorProgram
57.8b
(sqrt.f64 (fma.f64 10 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) (fma.f64 (/.f64 p x) (/.f64 p x) (fma.f64 (/.f64 (pow.f64 p 4) (pow.f64 x 4)) -3 (*.f64 (/.f64 (pow.f64 p 8) (pow.f64 x 8)) -35)))))
52.1b
(/.f64 p x)
14.3b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
54.9b
(/.f64 p (neg.f64 x))
31.6b
(sqrt.f64 (cbrt.f64 (fma.f64 3/32 (*.f64 (/.f64 x p) (/.f64 x p)) (fma.f64 (/.f64 x p) 3/16 1/8))))
Compiler

Compiled 2800 to 799 computations (71.5% saved)

regimes691.0ms (12.9%)

Accuracy

Total 5.3b remaining (99%)

Threshold costs 0b (0%)

Counts
82 → 2
Compiler

Compiled 9164 to 7156 computations (21.9% saved)

bsearch2.0ms (0%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02457
12657
22657

end89.0ms (1.7%)

Compiler

Compiled 164 to 106 computations (35.4% saved)

Profiling

Loading profile data...