Details

Time bar (total: 5.1s)

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.4s (27.8%)

Results
610.0ms2037×body1024valid
401.0ms4477×body128valid
208.0ms990×body512valid
81.0ms528×body256valid
81.0ms224×body2048valid
0.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

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

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 24 to 18 computations (25% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series25.0ms (0.5%)

Counts
2 → 5
Calls

2 calls:

18.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
7.0ms
(sqrt.f64 (+.f64 x 1))

rewrite18.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:

7.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
2.0ms
(sqrt.f64 (+.f64 x 1))

simplify155.0ms (3.1%)

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

prune101.0ms (2%)

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.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
31.3b
(/.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)))
31.4b
(-.f64 (hypot.f64 (sqrt.f64 x) 1) (sqrt.f64 x))
Compiler

Compiled 1938 to 1034 computations (46.6% saved)

localize5.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.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

series29.0ms (0.6%)

Counts
3 → 6
Calls

3 calls:

12.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
10.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
7.0ms
(sqrt.f64 (+.f64 1 x))

rewrite20.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:

7.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
6.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
2.0ms
(sqrt.f64 (+.f64 1 x))

simplify140.0ms (2.8%)

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

prune120.0ms (2.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New88795
Fresh112
Picked011
Done000
Total89998
Error
0.0b
Counts
98 → 9
Alt Table
StatusErrorProgram
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))))
31.3b
(/.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 1 (+.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x)))) (cbrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
11.3b
(cbrt.f64 (pow.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 3))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
11.9b
(*.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.8b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
0.4b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
0.9b
(*.f64 (*.f64 (cbrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (cbrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (cbrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
Compiler

Compiled 1954 to 1410 computations (27.8% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
0.0b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.2b
(/.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 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))

series63.0ms (1.2%)

Counts
3 → 3
Calls

3 calls:

27.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
22.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
13.0ms
(/.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))))

rewrite138.0ms (2.7%)

Algorithm
rewrite-expression-head
Rules
733×*-un-lft-identity_binary64
694×sqrt-prod_binary64
594×times-frac_binary64
276×distribute-lft-out_binary64
259×add-sqr-sqrt_binary64
Counts
3 → 451
Calls

3 calls:

24.0ms
(/.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))))
8.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
8.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

simplify571.0ms (11.3%)

Algorithm
egg-herbie
Rules
453×fma-def_binary64
452×distribute-rgt-in_binary64
411×distribute-lft-in_binary64
348×associate-/l/_binary64
341×associate-/l*_binary64
Counts
454 → 339
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
016018625
132917661
258816355
3120615865
4269014861
5450213993
6490413993
7487913993

prune712.0ms (14.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4006406
Fresh617
Picked101
Done011
Total4078415
Error
0b
Counts
415 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
12.1b
(*.f64 (/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (fma.f64 x (sqrt.f64 x) (pow.f64 (sqrt.f64 (+.f64 1 x)) 3)))) (/.f64 (sqrt.f64 (-.f64 (fma.f64 x 2 1) (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.3b
(pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) -2)
11.9b
(*.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.5b
(/.f64 (/.f64 1 (*.f64 (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 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
0.8b
(*.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)))))
1.0b
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) 5)) (cbrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
Compiler

Compiled 14042 to 10187 computations (27.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
0.0b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.0b
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2)
0.2b
(/.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))

series34.0ms (0.7%)

Counts
2 → 2
Calls

2 calls:

20.0ms
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2)
13.0ms
(/.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))

rewrite46.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
200×*-un-lft-identity_binary64
154×sqrt-prod_binary64
90×times-frac_binary64
88×distribute-lft-out_binary64
66×unpow-prod-down_binary64
Counts
2 → 151
Calls

2 calls:

17.0ms
(/.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
7.0ms
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2)

simplify185.0ms (3.7%)

Algorithm
egg-herbie
Rules
725×associate-/r/_binary64
686×unswap-sqr_binary64
347×fma-def_binary64
325×*-commutative_binary64
209×associate-/l*_binary64
Counts
153 → 130
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01356410
12196277
25336099
317175997
433615987
552365987

prune348.0ms (6.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1934197
Fresh426
Picked101
Done011
Total1987205
Error
0b
Counts
205 → 7
Alt Table
StatusErrorProgram
0.4b
(/.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) (*.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))))))
0.4b
(*.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/4) (/.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/4) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
0.2b
(/.f64 (pow.f64 (fma.f64 (sqrt.f64 (*.f64 (cbrt.f64 (+.f64 1 x)) (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 x)) -1/2) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
0.8b
(*.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.3b
(/.f64 (sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2)) (/.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/4)))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
1.0b
(/.f64 (/.f64 1 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) 5)) (cbrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
Compiler

Compiled 6199 to 4362 computations (29.6% saved)

regimes743.0ms (14.7%)

Accuracy

Total 0.1b remaining (74.2%)

Threshold costs 0.1b (74.2%)

Counts
301 → 1
Compiler

Compiled 18313 to 13664 computations (25.4% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
11214
21114

end158.0ms (3.1%)

Compiler

Compiled 218 to 165 computations (24.3% saved)

Profiling

Loading profile data...