Details

Time bar (total: 5.8s)

analyze1.2s (20.1%)

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 (36.2%)

Results
935.0ms6232×body128valid
494.0ms829×body2048valid
265.0ms532×body1024valid
216.0ms281×body4096valid
102.0ms263×body512valid
44.0ms119×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
16.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
16.0b
(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)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series102.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

30.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
29.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
28.0ms
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
15.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)

simplify93.0ms (1.6%)

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

prune199.0ms (3.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2365241
Fresh000
Picked011
Done000
Total2366242
Error
3.6b
Counts
242 → 6
Alt Table
StatusErrorProgram
35.8b
(fma.f64 (/.f64 x (*.f64 p (sqrt.f64 1/2))) -1/8 (sqrt.f64 1/2))
16.0b
(cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
51.3b
(/.f64 p (neg.f64 x))
16.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
56.1b
(sqrt.f64 (fma.f64 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) 10 (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)))))
50.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 5861 to 3949 computations (32.6% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
0.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
0.4b
(*.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))
10.7b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series58.0ms (1%)

Counts
2 → 48
Calls

2 calls:

32.0ms
(cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
26.0ms
(*.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
18×sqrt-prod_binary64
17×pow1_binary64
10×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
2 → 65
Calls

2 calls:

7.0ms
(cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
5.0ms
(*.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)))

simplify102.0ms (1.8%)

Algorithm
egg-herbie
Rules
972×times-frac_binary64
731×fma-neg_binary64
478×associate-/l*_binary64
334×fma-def_binary64
222×cancel-sign-sub-inv_binary64
Counts
113 → 138
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01773400
14532907
214962680
348902678
454492678

prune543.0ms (9.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4491450
Fresh134
Picked101
Done011
Total4515456
Error
3.6b
Counts
456 → 5
Alt Table
StatusErrorProgram
51.3b
(/.f64 p (neg.f64 x))
16.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
16.0b
(cbrt.f64 (*.f64 (pow.f64 (pow.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))) 1/2)) 4) 1/2) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
56.1b
(sqrt.f64 (fma.f64 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) 10 (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)))))
50.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 23520 to 16407 computations (30.2% saved)

localize26.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(cbrt.f64 (*.f64 (pow.f64 (pow.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))) 1/2)) 4) 1/2) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
0.4b
(pow.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))) 1/2)) 4)
10.7b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))
10.7b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))

series81.0ms (1.4%)

Counts
3 → 72
Calls

3 calls:

39.0ms
(pow.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))) 1/2)) 4)
29.0ms
(cbrt.f64 (*.f64 (pow.f64 (pow.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))) 1/2)) 4) 1/2) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
12.0ms
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
unpow-prod-down_binary64
sqrt-prod_binary64
Counts
3 → 51
Calls

3 calls:

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

simplify79.0ms (1.4%)

Algorithm
egg-herbie
Rules
669×associate-/l*_binary64
609×associate-/r*_binary64
486×fma-def_binary64
296×cancel-sign-sub-inv_binary64
216×fma-neg_binary64
Counts
123 → 165
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02423509
16283141
219262828
353692828

prune233.0ms (4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2180218
Fresh033
Picked011
Done011
Total2185223
Error
3.6b
Counts
223 → 5
Alt Table
StatusErrorProgram
51.3b
(/.f64 p (neg.f64 x))
16.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
16.0b
(cbrt.f64 (*.f64 (pow.f64 (pow.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))) 1/2)) 4) 1/2) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
56.1b
(sqrt.f64 (fma.f64 (/.f64 (pow.f64 p 6) (pow.f64 x 6)) 10 (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)))))
50.6b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
Compiler

Compiled 8939 to 6473 computations (27.6% saved)

localize5.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.7b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

series43.0ms (0.7%)

Counts
3 → 72
Calls

3 calls:

28.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
10.0ms
(/.f64 (*.f64 x x) p)
5.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

rewrite19.0ms (0.3%)

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
(/.f64 p (/.f64 (*.f64 x x) p))
5.0ms
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
4.0ms
(/.f64 (*.f64 x x) p)

simplify133.0ms (2.3%)

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

prune55.0ms (1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1911192
Fresh112
Picked101
Done022
Total1934197
Error
0b
Counts
197 → 4
Alt Table
StatusErrorProgram
51.3b
(/.f64 p (neg.f64 x))
16.0b
(sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))
16.0b
(cbrt.f64 (*.f64 (pow.f64 (pow.f64 (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 p 4))))) 1/2)) 4) 1/2) (sqrt.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2))))
50.9b
(/.f64 p x)
Compiler

Compiled 2782 to 790 computations (71.6% saved)

regimes605.0ms (10.5%)

Accuracy

Total 6.8b remaining (98.3%)

Threshold costs 0b (0%)

Counts
68 → 2
Compiler

Compiled 10954 to 8185 computations (25.3% saved)

bsearch2.0ms (0%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02249
12449
22449

end77.0ms (1.3%)

Compiler

Compiled 136 to 93 computations (31.6% saved)

Profiling

Loading profile data...