Details

Time bar (total: 4.2s)

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

Results
676.0ms2067×body1024valid
393.0ms4358×body128valid
241.0ms1070×body512valid
86.0ms535×body256valid
80.0ms226×body2048valid
0.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify10.0ms (0.2%)

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
31.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.5b
(-.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))
4.1b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

series23.0ms (0.6%)

Counts
2 → 5
Calls

2 calls:

15.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
8.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))

simplify151.0ms (3.6%)

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

prune102.0ms (2.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New94498
Fresh000
Picked101
Done000
Total95499
Error
0.1b
Counts
99 → 4
Alt Table
StatusErrorProgram
31.7b
(-.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) 3)) (sqrt.f64 x))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
31.5b
(expm1.f64 (log1p.f64 (-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))
31.5b
(cbrt.f64 (pow.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) 3))
Compiler

Compiled 1938 to 1044 computations (46.1% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series30.0ms (0.7%)

Counts
3 → 6
Calls

3 calls:

14.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
9.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
7.0ms
(sqrt.f64 (+.f64 1 x))

rewrite21.0ms (0.5%)

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

simplify128.0ms (3.1%)

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

prune125.0ms (3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New87895
Fresh213
Picked101
Done000
Total90999
Error
0.0b
Counts
99 → 9
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (+.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 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))))
0.9b
(*.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)))))
31.7b
(-.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) 3)) (sqrt.f64 x))
0.3b
(*.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)))))
10.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)))))
10.0b
(/.f64 1 (+.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) 3)) (sqrt.f64 x)))
10.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)))))
10.0b
(*.f64 (/.f64 1 (+.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) 3) (pow.f64 (sqrt.f64 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)))))
Compiler

Compiled 1964 to 1416 computations (27.9% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series23.0ms (0.5%)

Counts
2 → 2
Calls

2 calls:

14.0ms
(/.f64 1 (+.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
9.0ms
(+.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity_binary64
23×sqrt-prod_binary64
20×distribute-lft-out_binary64
18×times-frac_binary64
15×add-sqr-sqrt_binary64
Counts
2 → 69
Calls

2 calls:

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

simplify125.0ms (3%)

Algorithm
egg-herbie
Rules
578×fma-neg_binary64
337×sub-neg_binary64
335×associate-/l*_binary64
331×times-frac_binary64
317×distribute-rgt-in_binary64
Counts
71 → 67
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0581097
11231012
22421012
35101010
412291010
523711010
643451010
745591010
849201010
948201010

prune140.0ms (3.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New94195
Fresh178
Picked011
Done000
Total959104
Error
0.0b
Counts
104 → 9
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (+.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 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))))
0.9b
(*.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.3b
(*.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)))))
10.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)))))
10.0b
(/.f64 1 (+.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) 3)) (sqrt.f64 x)))
9.2b
(cbrt.f64 (pow.f64 (/.f64 1 (+.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))) 3))
10.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)))))
10.0b
(*.f64 (/.f64 1 (+.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) 3) (pow.f64 (sqrt.f64 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)))))
Compiler

Compiled 1948 to 1395 computations (28.4% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series42.0ms (1%)

Counts
2 → 2
Calls

2 calls:

28.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
14.0ms
(*.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)))))

rewrite79.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
258×sqrt-prod_binary64
236×*-un-lft-identity_binary64
148×times-frac_binary64
144×add-sqr-sqrt_binary64
84×distribute-lft-out_binary64
Counts
2 → 204
Calls

2 calls:

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

simplify222.0ms (5.3%)

Algorithm
egg-herbie
Rules
635×unswap-sqr_binary64
539×times-frac_binary64
411×div-sub_binary64
403×fma-def_binary64
378×associate-/l*_binary64
Counts
206 → 200
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01114253
11864015
24933961
312303833
425213833
542433833
642563829
749263829
847883829

prune635.0ms (15.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3816387
Fresh527
Picked101
Done101
Total3888396
Error
0b
Counts
396 → 8
Alt Table
StatusErrorProgram
0.9b
(*.f64 (*.f64 (sqrt.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)))))) (sqrt.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 (sqrt.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))))
0.6b
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 4) (/.f64 -1 2))
10.0b
(/.f64 1 (+.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) 3)) (sqrt.f64 x)))
0.2b
(*.f64 (sqrt.f64 1) (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
0.5b
(*.f64 (sqrt.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)))))) (*.f64 (sqrt.f64 (cbrt.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))))))
10.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 (sqrt.f64 (/.f64 1 (+.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 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))))
Compiler

Compiled 11584 to 8573 computations (26% saved)

regimes579.0ms (13.9%)

Accuracy

Total 0.1b remaining (85.5%)

Threshold costs 0.1b (85.5%)

Counts
241 → 1
Compiler

Compiled 12496 to 9302 computations (25.6% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01016
11916
22716
33316
43516
53416

end162.0ms (3.9%)

Compiler

Compiled 261 to 200 computations (23.4% saved)

Profiling

Loading profile data...