Details

Time bar (total: 5.7s)

analyze1.1s (19.5%)

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

Results
877.0ms6198×body128valid
556.0ms826×body2048valid
260.0ms546×body1024valid
214.0ms288×body4096valid
146.0ms281×body512valid
29.0ms117×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

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
15.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.2b
(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
(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.8b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
16.6b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series92.0ms (1.6%)

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))
26.0ms
(/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))
25.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))) 1/2)
13.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)

simplify96.0ms (1.7%)

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

prune196.0ms (3.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2365241
Fresh000
Picked101
Done000
Total2375242
Error
2.9b
Counts
242 → 5
Alt Table
StatusErrorProgram
15.3b
(sqrt.f64 (fma.f64 1/2 (log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))))) 1/2))
51.8b
(/.f64 p (neg.f64 x))
50.9b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
55.6b
(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)))))
15.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)))
Compiler

Compiled 5799 to 3906 computations (32.6% saved)

localize12.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.8b
(fma.f64 1/2 (log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))))) 1/2)
2.7b
(log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))))
16.6b
(sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))

series53.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

27.0ms
(fma.f64 1/2 (log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))))) 1/2)
26.0ms
(log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
23×log-pow_binary64
22×exp-prod_binary64
18×times-frac_binary64
16×*-un-lft-identity_binary64
16×add-sqr-sqrt_binary64
Counts
2 → 46
Calls

2 calls:

5.0ms
(log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p)))))))
0.0ms
(fma.f64 1/2 (log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))))) 1/2)

simplify82.0ms (1.4%)

Algorithm
egg-herbie
Rules
471×times-frac_binary64
264×fma-def_binary64
261×sub-neg_binary64
236×unswap-sqr_binary64
227×associate-*r*_binary64
Counts
94 → 132
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01842147
14162010
211051976
342911931
449441931

prune216.0ms (3.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2770277
Fresh044
Picked011
Done000
Total2775282
Error
2.9b
Counts
282 → 5
Alt Table
StatusErrorProgram
15.3b
(sqrt.f64 (fma.f64 1/2 (log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))))) 1/2))
51.8b
(/.f64 p (neg.f64 x))
50.9b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
55.6b
(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)))))
15.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)))
Compiler

Compiled 7267 to 4985 computations (31.4% saved)

localize11.0ms (0.2%)

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.8b
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)
16.6b
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

series97.0ms (1.7%)

Counts
4 → 96
Calls

4 calls:

32.0ms
(pow.f64 (fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2) 3)
26.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))
26.0ms
(fma.f64 1/2 (/.f64 x (sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))) 1/2)
12.0ms
(sqrt.f64 (fma.f64 p (*.f64 p 4) (*.f64 x x)))

rewrite7.0ms (0.1%)

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

simplify110.0ms (1.9%)

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

prune123.0ms (2.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1590159
Fresh033
Picked011
Done011
Total1595164
Error
2.9b
Counts
164 → 5
Alt Table
StatusErrorProgram
15.3b
(sqrt.f64 (fma.f64 1/2 (log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))))) 1/2))
51.8b
(/.f64 p (neg.f64 x))
50.9b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))
55.6b
(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)))))
15.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)))
Compiler

Compiled 4208 to 2934 computations (30.3% 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)
25.7b
(sqrt.f64 (/.f64 p (/.f64 (*.f64 x x) p)))

series46.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

29.0ms
(/.f64 p (/.f64 (*.f64 x x) p))
10.0ms
(/.f64 (*.f64 x x) p)
6.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:

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

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

prune61.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
15.3b
(sqrt.f64 (fma.f64 1/2 (log.f64 (exp.f64 (/.f64 x (sqrt.f64 (fma.f64 x x (*.f64 p (*.f64 4 p))))))) 1/2))
51.8b
(/.f64 p (neg.f64 x))
55.6b
(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)))))
15.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.6b
(/.f64 p x)
Compiler

Compiled 2803 to 805 computations (71.3% saved)

regimes983.0ms (17.2%)

Accuracy

Total 5.8b remaining (98.7%)

Threshold costs 0b (0%)

Counts
103 → 2
Compiler

Compiled 11549 to 8937 computations (22.6% saved)

bsearch3.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
02661
12861
22861

end98.0ms (1.7%)

Compiler

Compiled 171 to 116 computations (32.2% saved)

Profiling

Loading profile data...