Details

Time bar (total: 4.4s)

analyze2.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 (32.6%)

Results
602.0ms2081×body1024valid
407.0ms4473×body128valid
238.0ms993×body512valid
81.0ms511×body256valid
69.0ms198×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

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
28.1b
(-.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.1b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

series24.0ms (0.6%)

Counts
2 → 5
Calls

2 calls:

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

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

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

prune113.0ms (2.6%)

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
28.1b
(cbrt.f64 (pow.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) 3))
28.1b
(expm1.f64 (log1p.f64 (-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))
29.3b
(-.f64 (fma.f64 1/2 x 1) (sqrt.f64 x))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 1932 to 1038 computations (46.3% saved)

localize7.0ms (0.2%)

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:

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

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

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

prune109.0ms (2.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New89695
Fresh303
Picked011
Done000
Total92799
Error
0.0b
Counts
99 → 7
Alt Table
StatusErrorProgram
0.8b
(*.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)))))
10.3b
(cbrt.f64 (pow.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 3))
0.3b
(/.f64 1 (+.f64 (*.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))))
11.1b
(*.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 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)))))
Compiler

Compiled 1832 to 1322 computations (27.8% saved)

localize7.0ms (0.2%)

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

series25.0ms (0.6%)

Counts
3 → 17
Calls

3 calls:

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

rewrite41.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
102×sqrt-prod_binary64
73×add-sqr-sqrt_binary64
41×*-un-lft-identity_binary64
36×sqrt-pow1_binary64
29×pow1_binary64
Counts
3 → 157
Calls

3 calls:

12.0ms
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
11.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))))
3.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))

simplify123.0ms (2.8%)

Algorithm
egg-herbie
Rules
542×fma-neg_binary64
485×fma-def_binary64
430×associate-*l*_binary64
371×associate-*r*_binary64
361×cancel-sign-sub-inv_binary64
Counts
174 → 197
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01922529
14052336
210542201
332922149
449382149
549012149

prune383.0ms (8.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2972299
Fresh055
Picked101
Done011
Total2988306
Error
0.0b
Counts
306 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.3b
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.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)))
0.8b
(*.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)))))
10.3b
(cbrt.f64 (pow.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 3))
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))))
11.1b
(*.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.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)))))
0.3b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x))))
Compiler

Compiled 7418 to 5734 computations (22.7% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x)))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))
0.3b
(cbrt.f64 (sqrt.f64 (+.f64 1 x)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x)))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))))
0.3b
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))

series28.0ms (0.6%)

Counts
4 → 32
Calls

4 calls:

12.0ms
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x)))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))
7.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x)))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))))
5.0ms
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))
4.0ms
(cbrt.f64 (sqrt.f64 (+.f64 1 x)))

rewrite121.0ms (2.8%)

Algorithm
rewrite-expression-head
Rules
416×sqrt-div_binary64
230×cbrt-div_binary64
168×frac-times_binary64
142×flip-+_binary64
142×flip3-+_binary64
Counts
4 → 279
Calls

4 calls:

29.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x)))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))))
14.0ms
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x)))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))
10.0ms
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 1 x))))
2.0ms
(cbrt.f64 (sqrt.f64 (+.f64 1 x)))

simplify294.0ms (6.7%)

Algorithm
egg-herbie
Rules
676×times-frac_binary64
506×fma-def_binary64
456×unswap-sqr_binary64
441×fma-neg_binary64
368×*-commutative_binary64
Counts
311 → 388
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
043410779
16599926
215868652
332728480
448478480
549048480

prune818.0ms (18.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New4720472
Fresh066
Picked011
Done011
Total4728480
Error
0.0b
Counts
480 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.3b
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.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)))
0.8b
(*.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)))))
10.3b
(cbrt.f64 (pow.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 3))
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))))
11.1b
(*.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.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)))))
0.3b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x))))
Compiler

Compiled 20757 to 16299 computations (21.5% saved)

regimes234.0ms (5.3%)

Accuracy

Total 0.1b remaining (81.3%)

Threshold costs 0.1b (81.3%)

Counts
118 → 1
Compiler

Compiled 5227 to 3819 computations (26.9% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11418
21318

end226.0ms (5.2%)

Compiler

Compiled 216 to 167 computations (22.7% saved)

Profiling

Loading profile data...