Details

Time bar (total: 5.0s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%0%50%2
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample2.1s (41.6%)

Results
929.0ms2287×body1024valid
679.0ms4402×body128valid
322.0ms1012×body512valid
107.0ms555×body256valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify15.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 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11417
22017
32817
43617
55417
67917
79617
811317
912317
1012717
1112917
1211517

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
19.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
19.7b
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
Compiler

Compiled 47 to 38 computations (19.1% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series46.0ms (0.9%)

Counts
4 → 8
Calls

4 calls:

15.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
14.0ms
(/.f64 1 (sqrt.f64 x))
10.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
7.0ms
(sqrt.f64 (+.f64 x 1))

rewrite341.0ms (6.9%)

Algorithm
egg-rewrite
Rules
125×egg
65×egg
43×egg
33×egg
Counts
4 → 266
Calls

4 calls:

102.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
80.0ms
(sqrt.f64 (+.f64 x 1))
79.0ms
(/.f64 1 (sqrt.f64 x))
75.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0917
120513
2257013
3475713
4494813
056
1974
210034
347264
448464
069
11287
214427
348647
450787
056
11026
211316
346206
462196

simplify74.0ms (1.5%)

Algorithm
egg-herbie
Rules
914×fma-neg_binary64
743×cancel-sign-sub-inv_binary64
601×distribute-rgt-neg-in_binary64
443×fma-def_binary64
382×unsub-neg_binary64
Counts
274 → 276
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02794
17986
220376
356664
4170664
5323964
6440164
7511964

prune344.0ms (6.9%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New26412276
Fresh000
Picked101
Done000
Total26512277
Error
19.2b
Counts
277 → 12
Alt Table
StatusErrorProgram
29.0b
(fma.f64 (*.f64 (cbrt.f64 (/.f64 -1 (sqrt.f64 (+.f64 1 x)))) (cbrt.f64 (/.f64 -1 (sqrt.f64 (+.f64 1 x))))) (cbrt.f64 (/.f64 -1 (sqrt.f64 (+.f64 1 x)))) (pow.f64 x -1/2))
29.9b
(fma.f64 (cbrt.f64 (pow.f64 x -1/2)) (cbrt.f64 (/.f64 1 x)) (/.f64 -1 (sqrt.f64 (+.f64 1 x))))
25.2b
(/.f64 (-.f64 (/.f64 1 x) (*.f64 (/.f64 -1 (sqrt.f64 (+.f64 1 x))) (/.f64 -1 (sqrt.f64 (+.f64 1 x))))) (-.f64 (pow.f64 x -1/2) (/.f64 -1 (sqrt.f64 (+.f64 1 x)))))
19.6b
(-.f64 (pow.f64 x -1/2) (pow.f64 (+.f64 1 x) -1/2))
30.4b
(/.f64 (+.f64 (pow.f64 (sqrt.f64 x) -3) (pow.f64 (/.f64 -1 (sqrt.f64 (+.f64 1 x))) 3)) (+.f64 (/.f64 1 x) (-.f64 (*.f64 (/.f64 -1 (sqrt.f64 (+.f64 1 x))) (/.f64 -1 (sqrt.f64 (+.f64 1 x)))) (*.f64 (pow.f64 x -1/2) (/.f64 -1 (sqrt.f64 (+.f64 1 x)))))))
29.2b
(fma.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) (neg.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2)) (pow.f64 x -1/2))
29.5b
(fma.f64 (pow.f64 (sqrt.f64 x) -1/2) (pow.f64 (sqrt.f64 x) -1/2) (/.f64 -1 (sqrt.f64 (+.f64 1 x))))
29.8b
(fma.f64 (pow.f64 (cbrt.f64 x) -1) (pow.f64 (cbrt.f64 (sqrt.f64 x)) -1) (/.f64 -1 (sqrt.f64 (+.f64 1 x))))
29.2b
(+.f64 (fma.f64 1 (pow.f64 x -1/2) (neg.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1)))) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1)) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1) (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1))))
29.2b
(+.f64 (-.f64 (pow.f64 x -1/2) (pow.f64 (+.f64 1 x) -1/2)) (fma.f64 (neg.f64 (pow.f64 (pow.f64 (+.f64 1 x) 1/4) -1)) (pow.f64 (pow.f64 (+.f64 1 x) 1/4) -1) (pow.f64 (+.f64 1 x) -1/2)))
29.5b
(+.f64 (fma.f64 (pow.f64 (sqrt.f64 x) -1/2) (pow.f64 (sqrt.f64 x) -1/2) (neg.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1)))) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1)) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1) (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1))))
29.3b
(+.f64 (fma.f64 -1 (/.f64 1 (neg.f64 (sqrt.f64 x))) (neg.f64 (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1)))) (fma.f64 (neg.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1)) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1) (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 1 x))) -1) (pow.f64 (cbrt.f64 (+.f64 1 x)) -1))))
Compiler

Compiled 6305 to 5060 computations (19.7% saved)

localize12.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (+.f64 1 x) -1/2)
2.6b
(-.f64 (pow.f64 x -1/2) (pow.f64 (+.f64 1 x) -1/2))

series11.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

7.0ms
(-.f64 (pow.f64 x -1/2) (pow.f64 (+.f64 1 x) -1/2))
4.0ms
(pow.f64 (+.f64 1 x) -1/2)

rewrite150.0ms (3%)

Algorithm
egg-rewrite
Rules
91×egg
27×egg
Counts
2 → 118
Calls

2 calls:

80.0ms
(pow.f64 (+.f64 1 x) -1/2)
67.0ms
(-.f64 (pow.f64 x -1/2) (pow.f64 (+.f64 1 x) -1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
118313
2217513
3635513
067
11297
214047
348357
450047

simplify69.0ms (1.4%)

Algorithm
egg-herbie
Rules
542×cancel-sign-sub-inv_binary64
484×times-frac_binary64
431×fma-neg_binary64
353×sub-neg_binary64
277×associate-/l*_binary64
Counts
142 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
082797
1241769
2668583
31896471
44291471
54966471

prune164.0ms (3.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1583161
Fresh11011
Picked101
Done000
Total1703173
Error
0.1b
Counts
173 → 3
Alt Table
StatusErrorProgram
33.2b
(*.f64 (/.f64 (pow.f64 x -1/2) x) (+.f64 1/2 (/.f64 -3/8 x)))
43.5b
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) -3/8 (*.f64 1/2 (sqrt.f64 (/.f64 1 (pow.f64 x 3)))))
25.2b
(-.f64 (pow.f64 x -1/2) (pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2))
Compiler

Compiled 3908 to 3215 computations (17.7% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 1 x))
0.1b
(pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2)
0.2b
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2)
15.2b
(-.f64 (pow.f64 x -1/2) (pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2))

series53.0ms (1.1%)

Counts
4 → 18
Calls

4 calls:

19.0ms
(pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2)
19.0ms
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2)
8.0ms
(-.f64 (pow.f64 x -1/2) (pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2))
7.0ms
(sqrt.f64 (+.f64 1 x))

rewrite331.0ms (6.7%)

Algorithm
egg-rewrite
Rules
111×egg
43×egg
30×egg
29×egg
Counts
4 → 213
Calls

4 calls:

128.0ms
(-.f64 (pow.f64 x -1/2) (pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2))
79.0ms
(pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2)
76.0ms
(sqrt.f64 (+.f64 1 x))
44.0ms
(pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01115
124813
2270413
3479713
4481413
5486213
099
11947
219337
349747
448147
077
11497
216037
349337
056
11016
211446
346356
449436

simplify97.0ms (1.9%)

Algorithm
egg-herbie
Rules
426×distribute-rgt-neg-in_binary64
413×cancel-sign-sub-inv_binary64
402×sub-neg_binary64
354×distribute-lft-neg-in_binary64
325×associate-*l*_binary64
Counts
231 → 239
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055222
1155202
2436185
31226174
43106174
54498174
64960174
74998174

prune168.0ms (3.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2390239
Fresh022
Picked011
Done000
Total2393242
Error
0.1b
Counts
242 → 3
Alt Table
StatusErrorProgram
33.2b
(*.f64 (/.f64 (pow.f64 x -1/2) x) (+.f64 1/2 (/.f64 -3/8 x)))
43.5b
(fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 x 5))) -3/8 (*.f64 1/2 (sqrt.f64 (/.f64 1 (pow.f64 x 3)))))
25.2b
(-.f64 (pow.f64 x -1/2) (pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2))
Compiler

Compiled 4787 to 3961 computations (17.3% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 -3/8 x))
0.1b
(*.f64 (/.f64 (pow.f64 x -1/2) x) (+.f64 1/2 (/.f64 -3/8 x)))
0.2b
(/.f64 (pow.f64 x -1/2) x)

series21.0ms (0.4%)

Counts
3 → 12
Calls

3 calls:

12.0ms
(*.f64 (/.f64 (pow.f64 x -1/2) x) (+.f64 1/2 (/.f64 -3/8 x)))
7.0ms
(/.f64 (pow.f64 x -1/2) x)
2.0ms
(+.f64 1/2 (/.f64 -3/8 x))

rewrite227.0ms (4.6%)

Algorithm
egg-rewrite
Rules
99×egg
86×egg
38×egg
Counts
3 → 223
Calls

3 calls:

95.0ms
(*.f64 (/.f64 (pow.f64 x -1/2) x) (+.f64 1/2 (/.f64 -3/8 x)))
86.0ms
(/.f64 (pow.f64 x -1/2) x)
42.0ms
(+.f64 1/2 (/.f64 -3/8 x))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
057
11124
212674
349234
452244
01016
123713
2294713
3495113
4528713
067
11397
216977
348967

simplify14.0ms (0.3%)

Algorithm
egg-herbie
Rules
16×fma-def_binary64
11×sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
associate-+l-_binary64
Counts
235 → 224
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01069
12069
22969
34569
45969
57769
69269
710169
810869
97669

prune140.0ms (2.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2222224
Fresh101
Picked101
Done011
Total2243227
Error
0b
Counts
227 → 3
Alt Table
StatusErrorProgram
25.2b
(-.f64 (pow.f64 x -1/2) (pow.f64 (pow.f64 (sqrt.f64 (+.f64 1 x)) -1/2) 2))
33.2b
(/.f64 (pow.f64 x -1/2) (/.f64 x (+.f64 1/2 (/.f64 -3/8 x))))
33.1b
(*.f64 (pow.f64 x -3/2) (+.f64 1/2 (/.f64 -3/8 x)))
Compiler

Compiled 3797 to 2902 computations (23.6% saved)

regimes440.0ms (8.9%)

Accuracy

Total 0.3b remaining (72.8%)

Threshold costs 0.3b (72.8%)

Counts
136 → 2
Compiler

Compiled 4778 to 3972 computations (16.9% saved)

bsearch4.0ms (0.1%)

Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02879
14179
25179
35679
45879
55679

end150.0ms (3%)

Compiler

Compiled 141 to 116 computations (17.7% saved)

Profiling

Loading profile data...