Details

Time bar (total: 3.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 (46.1%)

Results
608.0ms2031×body1024valid
430.0ms4467×body128valid
233.0ms1026×body512valid
88.0ms523×body256valid
77.0ms209×body2048valid
0.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify10.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
27.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
27.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))
2.3b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

series20.0ms (0.6%)

Counts
2 → 5
Calls

2 calls:

14.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
6.0ms
(sqrt.f64 (+.f64 x 1))

rewrite58.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
832×prod-diff_binary64
742×log1p-expm1-u_binary64
742×expm1-log1p-u_binary64
116×egg-rr
72×add-sqr-sqrt_binary64
Counts
2 → 116
Calls

2 calls:

55.0ms
(sqrt.f64 (+.f64 x 1))
55.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
115117
2184117
3601517
000
100

simplify71.0ms (2.2%)

Algorithm
egg-herbie
Rules
665×fma-def_binary64
635×associate-*l*_binary64
538×unswap-sqr_binary64
518×distribute-rgt-neg-in_binary64
478×distribute-lft-neg-in_binary64
Counts
121 → 123
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01848
15044
211338
330534
480129
5247929
6471829
7492429
8513029

prune158.0ms (5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1158123
Fresh000
Picked101
Done000
Total1168124
Error
25.7b
Counts
124 → 8
Alt Table
StatusErrorProgram
27.5b
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 3/2) (pow.f64 (neg.f64 (sqrt.f64 x)) 3)) (+.f64 (+.f64 x 1) (-.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 (sqrt.f64 x))) (*.f64 (sqrt.f64 (+.f64 x 1)) (neg.f64 (sqrt.f64 x))))))
27.8b
1
27.5b
(+.f64 (fma.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (neg.f64 (*.f64 (sqrt.f64 (cbrt.f64 x)) (sqrt.f64 (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (sqrt.f64 (cbrt.f64 x))) (sqrt.f64 (cbrt.f64 (*.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 x)) (sqrt.f64 (cbrt.f64 (*.f64 x x))))))
27.6b
(+.f64 (fma.f64 1 (sqrt.f64 (+.f64 x 1)) (neg.f64 (*.f64 (sqrt.f64 (cbrt.f64 x)) (sqrt.f64 (cbrt.f64 (*.f64 x x)))))) (fma.f64 (neg.f64 (sqrt.f64 (cbrt.f64 x))) (sqrt.f64 (cbrt.f64 (*.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 x)) (sqrt.f64 (cbrt.f64 (*.f64 x x))))))
27.2b
(+.f64 (-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)) (fma.f64 (neg.f64 (pow.f64 x 1/4)) (pow.f64 x 1/4) (sqrt.f64 x)))
26.5b
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
27.1b
(+.f64 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x 1))) (neg.f64 (sqrt.f64 x))) (fma.f64 -1 (sqrt.f64 x) (sqrt.f64 x)))
27.1b
(fma.f64 (pow.f64 (+.f64 x 1) 1/4) (pow.f64 (+.f64 x 1) 1/4) (neg.f64 (sqrt.f64 x)))
Compiler

Compiled 2792 to 1587 computations (43.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series22.0ms (0.7%)

Counts
3 → 14
Calls

3 calls:

11.0ms
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
10.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
1.0ms
(+.f64 x (-.f64 1 x))

rewrite90.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
689×fma-def_binary64
347×fma-neg_binary64
277×egg-rr
199×expm1-udef_binary64
199×log1p-udef_binary64
Counts
3 → 277
Calls

3 calls:

81.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
81.0ms
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
81.0ms
(+.f64 x (-.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01038
123229
2319429
3495529
000
100

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Counts
291 → 278
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1414
2314

prune229.0ms (7.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3083311
Fresh707
Picked101
Done000
Total3163319
Error
0.1b
Counts
319 → 3
Alt Table
StatusErrorProgram
26.5b
(*.f64 (/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (pow.f64 (+.f64 x 1) 3/2) (pow.f64 x 3/2))) (+.f64 (+.f64 x 1) (-.f64 x (hypot.f64 x (sqrt.f64 x)))))
27.1b
(+.f64 (sqrt.f64 (+.f64 x 1)) (neg.f64 (sqrt.f64 x)))
0.1b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
Compiler

Compiled 6659 to 4179 computations (37.2% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series11.0ms (0.3%)

Counts
1 → 1
Calls

1 calls:

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

rewrite50.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
845×log1p-expm1-u_binary64
845×expm1-log1p-u_binary64
84×add-sqr-sqrt_binary64
79×add-cbrt-cube_binary64
79×add-log-exp_binary64
Counts
1 → 26
Calls

1 calls:

49.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
117614
2214214
3509614
000
100

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Counts
27 → 27
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
141
231

prune136.0ms (4.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1028110
Fresh202
Picked101
Done000
Total1058113
Error
0.0b
Counts
113 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (fma.f64 (cbrt.f64 (sqrt.f64 x)) (cbrt.f64 x) (sqrt.f64 (+.f64 x 1))))
13.9b
(*.f64 (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) 3/2) (pow.f64 x 3/2))) (+.f64 (+.f64 1 x) (-.f64 x (sqrt.f64 (*.f64 (+.f64 1 x) x)))))
0.2b
(/.f64 1 (fma.f64 (pow.f64 x 1/4) (pow.f64 x 1/4) (sqrt.f64 (+.f64 x 1))))
0.4b
(*.f64 (pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) -1) (pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) -1))
0.4b
(*.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)))
0.2b
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
0.3b
(pow.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) 2)
0.6b
(pow.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) 3)
Compiler

Compiled 1831 to 1323 computations (27.7% saved)

localize8.0ms (0.3%)

Local error

Found 4 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
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
0.3b
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)

series41.0ms (1.3%)

Counts
4 → 7
Calls

4 calls:

15.0ms
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)
10.0ms
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
7.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
6.0ms
(sqrt.f64 (+.f64 1 x))

rewrite66.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
439×fma-def_binary64
414×log-prod_binary64
218×fma-neg_binary64
171×expm1-udef_binary64
171×log1p-udef_binary64
Counts
4 → 139
Calls

4 calls:

63.0ms
(sqrt.f64 (+.f64 1 x))
63.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
63.0ms
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
63.0ms
(pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01045
121345
2244245
3494045
000
100

simplify80.0ms (2.5%)

Algorithm
egg-herbie
Rules
665×fma-def_binary64
635×associate-*l*_binary64
538×unswap-sqr_binary64
518×distribute-rgt-neg-in_binary64
478×distribute-lft-neg-in_binary64
Counts
146 → 146
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01850
15046
211340
330536
480131
5247931
6471831
7492431
8513031

prune185.0ms (5.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1451146
Fresh167
Picked011
Done000
Total1468154
Error
0.0b
Counts
154 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (fma.f64 (cbrt.f64 (sqrt.f64 x)) (cbrt.f64 x) (sqrt.f64 (+.f64 x 1))))
13.9b
(*.f64 (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) 3/2) (pow.f64 x 3/2))) (+.f64 (+.f64 1 x) (-.f64 x (sqrt.f64 (*.f64 (+.f64 1 x) x)))))
0.4b
(*.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (cbrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2)))
0.3b
(sqrt.f64 (*.f64 (pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) -2) (pow.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) -2)))
0.2b
(sqrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -2))
0.3b
(pow.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) 2)
0.6b
(pow.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) 3)
0.2b
(/.f64 1 (fma.f64 (pow.f64 x 1/4) (pow.f64 x 1/4) (sqrt.f64 (+.f64 x 1))))
Compiler

Compiled 2438 to 1816 computations (25.5% saved)

regimes322.0ms (10.1%)

Accuracy

Total 0.1b remaining (89%)

Threshold costs 0.1b (89%)

Counts
193 → 1
Compiler

Compiled 6609 to 5065 computations (23.4% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11418
21318

end118.0ms (3.7%)

Compiler

Compiled 157 to 125 computations (20.4% saved)

Profiling

Loading profile data...