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

Results
662.0ms2093×body1024valid
376.0ms4402×body128valid
305.0ms1035×body512valid
81.0ms233×body2048valid
72.0ms493×body256valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify47.0ms (1.5%)

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

Compiled 24 to 18 computations (25% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
1.9b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

series15.0ms (0.5%)

Counts
1 → 1
Calls

1 calls:

15.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

rewrite53.0ms (1.7%)

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

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
115111
2184111
3601511
000
100

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
011
141
231

prune173.0ms (5.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New83689
Fresh000
Picked101
Done000
Total84690
Error
27.1b
Counts
90 → 6
Alt Table
StatusErrorProgram
28.5b
(+.f64 (fma.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)) (neg.f64 (sqrt.f64 x))) (fma.f64 (neg.f64 (pow.f64 x 1/4)) (pow.f64 x 1/4) (sqrt.f64 x)))
29.1b
1
29.0b
(/.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.9b
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
28.7b
(fma.f64 (pow.f64 (+.f64 x 1) 1/4) (pow.f64 (+.f64 x 1) 1/4) (neg.f64 (sqrt.f64 x)))
28.7b
(+.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)))
Compiler

Compiled 2273 to 1275 computations (43.9% saved)

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series22.0ms (0.7%)

Counts
3 → 14
Calls

3 calls:

12.0ms
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
9.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
1.0ms
(+.f64 x (-.f64 1 x))

rewrite104.0ms (3.3%)

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

3 calls:

84.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
84.0ms
(/.f64 (+.f64 x (-.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
84.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
289 → 276
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1414
2314

prune301.0ms (9.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2733276
Fresh505
Picked101
Done000
Total2793282
Error
0.1b
Counts
282 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
27.9b
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))) (/.f64 (+.f64 x (-.f64 1 x)) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))))
28.5b
(+.f64 (sqrt.f64 (+.f64 x 1)) (neg.f64 (sqrt.f64 x)))
Compiler

Compiled 6075 to 3791 computations (37.6% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series14.0ms (0.4%)

Counts
1 → 1
Calls

1 calls:

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

rewrite47.0ms (1.5%)

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 → 25
Calls

1 calls:

46.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
26 → 26
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
141
231

prune86.0ms (2.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New68775
Fresh202
Picked011
Done000
Total70878
Error
0.0b
Counts
78 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x 1))) (sqrt.f64 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.1b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
10.5b
(/.f64 1 (cbrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)) 3)))
0.3b
(pow.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) 2)
0.7b
(pow.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) 3)
17.6b
(*.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.3b
(*.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))
Compiler

Compiled 1385 to 1005 computations (27.4% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2))
0.1b
(/.f64 1 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x 1))) (sqrt.f64 x)))
0.2b
(pow.f64 (cbrt.f64 (+.f64 x 1)) 2)
0.3b
(cbrt.f64 (+.f64 x 1))

series101.0ms (3.2%)

Counts
4 → 37
Calls

4 calls:

83.0ms
(/.f64 1 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x 1))) (sqrt.f64 x)))
9.0ms
(pow.f64 (cbrt.f64 (+.f64 x 1)) 2)
4.0ms
(sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2))
4.0ms
(cbrt.f64 (+.f64 x 1))

rewrite59.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
876×log1p-expm1-u_binary64
876×expm1-log1p-u_binary64
267×prod-diff_binary64
103×egg-rr
102×add-sqr-sqrt_binary64
Counts
4 → 103
Calls

4 calls:

55.0ms
(sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2))
55.0ms
(/.f64 1 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x 1))) (sqrt.f64 x)))
55.0ms
(pow.f64 (cbrt.f64 (+.f64 x 1)) 2)
55.0ms
(cbrt.f64 (+.f64 x 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01243
122733
2229833
3573733
000
100

simplify95.0ms (3%)

Algorithm
egg-herbie
Rules
641×associate-/l*_binary64
514×fma-neg_binary64
354×div-exp_binary64
339×fma-def_binary64
297×cancel-sign-sub-inv_binary64
Counts
140 → 117
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0941050
12771030
2698730
32184559
44612559
54548559
64830559
75466559

prune190.0ms (6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1700170
Fresh066
Picked011
Done011
Total1708178
Error
0.0b
Counts
178 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 1 (fma.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x 1))) (sqrt.f64 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.1b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
10.5b
(/.f64 1 (cbrt.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)) 3)))
0.3b
(pow.f64 (pow.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) -1/2) 2)
0.7b
(pow.f64 (/.f64 1 (cbrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) 3)
17.6b
(*.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.3b
(*.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))
Compiler

Compiled 4166 to 3242 computations (22.2% saved)

regimes136.0ms (4.3%)

Accuracy

Total 0.1b remaining (81.1%)

Threshold costs 0.1b (81.1%)

Counts
76 → 1
Compiler

Compiled 2714 to 2037 computations (24.9% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01016
11416
21316

end129.0ms (4.1%)

Compiler

Compiled 157 to 126 computations (19.7% saved)

Profiling

Loading profile data...