Details

Time bar (total: 5.0s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%12.5%37.5%4
50%6.2%43.8%5
50%3.1%46.9%6
50%1.6%48.5%7
50%0.8%49.2%8
50%0.4%49.6%9
50%0.2%49.8%10
50%0.1%49.9%11
50%0%50%12
50%0%50%13
50%0%50%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.6s (31.4%)

Results
702.0ms2047×body1024valid
428.0ms4475×body128valid
256.0ms991×body512valid
88.0ms237×body2048valid
76.0ms506×body256valid
0.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify13.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11211
21611
32311
43011
54711
67211
79211
810911
911911
1012311
1112511
1211111

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
23.8b
Counts
2 → 1
Alt Table
StatusErrorProgram
23.8b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
2.4b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

series17.0ms (0.3%)

Counts
2 → 5
Calls

2 calls:

12.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
5.0ms
(sqrt.f64 (+.f64 x 1))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
64×sqrt-prod_binary64
57×*-un-lft-identity_binary64
45×add-sqr-sqrt_binary64
42×prod-diff_binary64
33×add-cube-cbrt_binary64
Counts
2 → 95
Calls

2 calls:

8.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 x 1))

simplify150.0ms (3%)

Algorithm
egg-herbie
Rules
1110×fma-neg_binary64
566×unswap-sqr_binary64
455×cancel-sign-sub-inv_binary64
444×fma-def_binary64
429×associate-*l*_binary64
Counts
100 → 98
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01192533
12241344
25921128
325271125
440991093
543811093
646631093
749491093
847301093

prune118.0ms (2.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh000
Picked101
Done000
Total96399
Error
0.1b
Counts
99 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
25.2b
(-.f64 (fma.f64 1/2 x 1) (sqrt.f64 x))
23.0b
(/.f64 (-.f64 (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))) (*.f64 (sqrt.f64 x) (sqrt.f64 x))) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
Compiler

Compiled 1938 to 1036 computations (46.5% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 1 x))
0.0b
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
0.1b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

series23.0ms (0.5%)

Counts
3 → 6
Calls

3 calls:

10.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
8.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
5.0ms
(sqrt.f64 (+.f64 1 x))

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity_binary64
28×sqrt-prod_binary64
22×distribute-lft-out_binary64
22×add-sqr-sqrt_binary64
18×times-frac_binary64
Counts
3 → 91
Calls

3 calls:

8.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
8.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
3.0ms
(sqrt.f64 (+.f64 1 x))

simplify138.0ms (2.7%)

Algorithm
egg-herbie
Rules
888×fma-neg_binary64
558×cancel-sign-sub-inv_binary64
538×times-frac_binary64
389×associate-*l*_binary64
311×associate-*r*_binary64
Counts
97 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0961310
12031217
24441211
311331207
425561207
542291207
649561207
749981207
848371207

prune104.0ms (2.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New91495
Fresh022
Picked101
Done000
Total92698
Error
0.0b
Counts
98 → 6
Alt Table
StatusErrorProgram
23.0b
(/.f64 (-.f64 (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))) (*.f64 (sqrt.f64 x) (sqrt.f64 x))) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
0.1b
(/.f64 1 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))
0.3b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
9.0b
(*.f64 (/.f64 1 (fma.f64 x (sqrt.f64 x) (pow.f64 (sqrt.f64 (+.f64 1 x)) 3))) (+.f64 (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 (+.f64 1 x))) (-.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)) (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
9.1b
(cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
25.2b
(-.f64 (fma.f64 1/2 x 1) (sqrt.f64 x))
Compiler

Compiled 1810 to 1296 computations (28.4% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 1 x))
0.0b
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
0.1b
(fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))
0.1b
(/.f64 1 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))

series58.0ms (1.1%)

Counts
3 → 14
Calls

3 calls:

45.0ms
(/.f64 1 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))
9.0ms
(fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))
4.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
12×sqrt-prod_binary64
times-frac_binary64
Counts
3 → 67
Calls

3 calls:

3.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
2.0ms
(/.f64 1 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))
0.0ms
(fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))

simplify96.0ms (1.9%)

Algorithm
egg-herbie
Rules
911×fma-def_binary64
652×times-frac_binary64
572×fma-neg_binary64
338×associate-/l*_binary64
259×associate-/r*_binary64
Counts
81 → 113
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01321459
12701361
25871255
315521216
442291216
548401216
648841216

prune275.0ms (5.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2141215
Fresh145
Picked011
Done000
Total2156221
Error
0.0b
Counts
221 → 6
Alt Table
StatusErrorProgram
23.0b
(/.f64 (-.f64 (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))) (*.f64 (sqrt.f64 x) (sqrt.f64 x))) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
0.3b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))))
0.1b
(/.f64 1 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))
9.0b
(*.f64 (/.f64 1 (fma.f64 x (sqrt.f64 x) (pow.f64 (sqrt.f64 (+.f64 1 x)) 3))) (+.f64 (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 (+.f64 1 x))) (-.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)) (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
9.1b
(cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
25.2b
(-.f64 (fma.f64 1/2 x 1) (sqrt.f64 x))
Compiler

Compiled 5140 to 3909 computations (23.9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.1b
(sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))
0.1b
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
0.2b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))))

series313.0ms (6.2%)

Counts
4 → 4
Calls

4 calls:

238.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))))
37.0ms
(sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))
19.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
18.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))

rewrite116.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
414×times-frac_binary64
386×*-un-lft-identity_binary64
369×sqrt-prod_binary64
214×add-sqr-sqrt_binary64
204×add-cube-cbrt_binary64
Counts
4 → 356
Calls

4 calls:

17.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))))
8.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
6.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
1.0ms
(sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))

simplify447.0ms (8.9%)

Algorithm
egg-herbie
Rules
649×fma-def_binary64
434×distribute-rgt-in_binary64
377×distribute-lft-in_binary64
319×times-frac_binary64
242×fma-neg_binary64
Counts
360 → 319
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
017721613
136114760
255713223
3103012151
4256212134
5485812134
6496112134

prune637.0ms (12.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3154319
Fresh224
Picked101
Done011
Total3187325
Error
0b
Counts
325 → 7
Alt Table
StatusErrorProgram
0.7b
(*.f64 (*.f64 (cbrt.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (cbrt.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))) (/.f64 (cbrt.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
0.1b
(/.f64 1 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))
23.0b
(/.f64 (-.f64 (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))) (*.f64 (sqrt.f64 x) (sqrt.f64 x))) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
0.5b
(/.f64 (/.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))))
0.4b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))))
9.0b
(*.f64 (/.f64 1 (fma.f64 x (sqrt.f64 x) (pow.f64 (sqrt.f64 (+.f64 1 x)) 3))) (+.f64 (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 (+.f64 1 x))) (-.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 x)) (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
0.2b
(/.f64 (*.f64 1 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (fma.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x))))
Compiler

Compiled 13821 to 10283 computations (25.6% saved)

regimes731.0ms (14.5%)

Accuracy

Total 0.1b remaining (75%)

Threshold costs 0.1b (75%)

Counts
336 → 1
Compiler

Compiled 16963 to 13143 computations (22.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11314
21114

end141.0ms (2.8%)

Compiler

Compiled 237 to 176 computations (25.7% saved)

Profiling

Loading profile data...