Details

Time bar (total: 3.7s)

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

Results
655.0ms2032×body1024valid
440.0ms4405×body128valid
258.0ms1076×body512valid
91.0ms526×body256valid
88.0ms217×body2048valid
0.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify15.0ms (0.4%)

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

series29.0ms (0.8%)

Counts
2 → 5
Calls

2 calls:

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

rewrite22.0ms (0.6%)

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

simplify155.0ms (4.2%)

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

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

Compiled 1912 to 1020 computations (46.7% saved)

localize6.0ms (0.2%)

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

series34.0ms (0.9%)

Counts
3 → 6
Calls

3 calls:

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

rewrite25.0ms (0.7%)

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:

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

simplify136.0ms (3.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

prune119.0ms (3.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New88795
Fresh202
Picked011
Done000
Total90898
Error
0.0b
Counts
98 → 8
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
11.1b
(/.f64 1 (+.f64 (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 (+.f64 1 x))) (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.7b
(*.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)))))
11.3b
(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.7b
(cbrt.f64 (pow.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) 3))
0.3b
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.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))))
Compiler

Compiled 1888 to 1364 computations (27.8% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series211.0ms (5.7%)

Counts
4 → 37
Calls

4 calls:

190.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
10.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
5.0ms
(cbrt.f64 (+.f64 1 x))
5.0ms
(sqrt.f64 (cbrt.f64 (+.f64 1 x)))

rewrite43.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt_binary64
30×cbrt-prod_binary64
29×*-un-lft-identity_binary64
24×sqrt-prod_binary64
21×add-cube-cbrt_binary64
Counts
4 → 135
Calls

4 calls:

14.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
12.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
4.0ms
(cbrt.f64 (+.f64 1 x))
3.0ms
(sqrt.f64 (cbrt.f64 (+.f64 1 x)))

simplify152.0ms (4.1%)

Algorithm
egg-herbie
Rules
771×times-frac_binary64
753×fma-neg_binary64
281×associate-/r*_binary64
273×associate-/l*_binary64
216×cancel-sign-sub-inv_binary64
Counts
172 → 260
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02804455
16753809
217943051
340872701
449302701
548722701

prune446.0ms (12%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3012303
Fresh156
Picked101
Done101
Total3047311
Error
0b
Counts
311 → 7
Alt Table
StatusErrorProgram
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 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x))))
11.1b
(/.f64 1 (+.f64 (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
0.7b
(*.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)))))
11.3b
(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)))))
0.1b
(expm1.f64 (log1p.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 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
Compiler

Compiled 8177 to 6313 computations (22.8% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series52.0ms (1.4%)

Counts
2 → 2
Calls

2 calls:

38.0ms
(log1p.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
14.0ms
(expm1.f64 (log1p.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(log1p.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
0.0ms
(expm1.f64 (log1p.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))

simplify80.0ms (2.1%)

Algorithm
egg-herbie
Rules
824×unswap-sqr_binary64
568×fma-def_binary64
414×associate-*l*_binary64
386×times-frac_binary64
258×associate-*r*_binary64
Counts
24 → 32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
030443
136380
251380
369380
493380
5145380
6269380
7587380
81551380
94602380
104559380
115010380

prune131.0ms (3.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New98199
Fresh246
Picked011
Done000
Total1006106
Error
0b
Counts
106 → 6
Alt Table
StatusErrorProgram
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 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x))))
0.7b
(*.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.1b
(expm1.f64 (log1p.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
0.3b
(expm1.f64 (log1p.f64 (*.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 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
Compiler

Compiled 1942 to 1451 computations (25.3% saved)

regimes261.0ms (7%)

Accuracy

Total 0.1b remaining (76.1%)

Threshold costs 0.1b (76.1%)

Counts
143 → 1
Compiler

Compiled 6242 to 4509 computations (27.8% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11418
21318

end114.0ms (3%)

Compiler

Compiled 175 to 133 computations (24% saved)

Profiling

Loading profile data...