Details

Time bar (total: 3.1s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
62.5%12.5%25%4
68.7%6.2%25%5
71.8%3.1%25%6
73.4%1.6%25%7
74.2%0.8%25%8
74.6%0.4%25%9
74.8%0.2%25%10
74.9%0.1%25%11
74.9%0%25%12
74.9%0%25%13
74.9%0%25%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample29.0ms (0.9%)

Algorithm
intervals
Results
9.0ms256×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21012

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize5.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series59.0ms (1.9%)

Counts
3 → 12
Calls

3 calls:

44.0ms
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
8.0ms
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
7.0ms
(sqrt.f64 (+.f64 x 1))

rewrite19.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity_binary64
30×add-sqr-sqrt_binary64
21×distribute-lft-out_binary64
18×times-frac_binary64
16×add-cube-cbrt_binary64
Counts
3 → 82
Calls

3 calls:

7.0ms
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
6.0ms
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
2.0ms
(sqrt.f64 (+.f64 x 1))

simplify94.0ms (3%)

Algorithm
egg-herbie
Rules
733×fma-neg_binary64
333×associate-/r*_binary64
321×associate-/l/_binary64
303×associate-*l/_binary64
284×cancel-sign-sub-inv_binary64
Counts
94 → 108
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01231335
12631239
26341227
318781212
443231211
549871211
648751211

prune81.0ms (2.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1053108
Fresh000
Picked011
Done000
Total1054109
Error
0b
Counts
109 → 4
Alt Table
StatusErrorProgram
33.3b
(/.f64 x (/.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.8b
(/.f64 (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
25.7b
(fma.f64 1/2 x (*.f64 (*.f64 x x) (fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8)))
Compiler

Compiled 1643 to 1260 computations (23.3% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series232.0ms (7.4%)

Counts
3 → 12
Calls

3 calls:

146.0ms
(/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
50.0ms
(/.f64 (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
35.0ms
(sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))

rewrite114.0ms (3.6%)

Algorithm
rewrite-expression-head
Rules
597×*-un-lft-identity_binary64
594×times-frac_binary64
555×sqrt-prod_binary64
397×add-sqr-sqrt_binary64
276×distribute-lft-out_binary64
Counts
3 → 439
Calls

3 calls:

20.0ms
(/.f64 (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
7.0ms
(/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
5.0ms
(sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))

simplify396.0ms (12.6%)

Algorithm
egg-herbie
Rules
834×fma-def_binary64
689×times-frac_binary64
590×associate-/l/_binary64
560×associate-/l*_binary64
410×associate-/r*_binary64
Counts
451 → 369
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
032518146
174216553
2178215224
3453915213
4508915213

prune337.0ms (10.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4570457
Fresh022
Picked011
Done011
Total4574461
Error
0b
Counts
461 → 4
Alt Table
StatusErrorProgram
33.3b
(/.f64 x (/.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.8b
(/.f64 (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
25.7b
(fma.f64 1/2 x (*.f64 (*.f64 x x) (fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8)))
Compiler

Compiled 14078 to 11509 computations (18.2% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 x x) (fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8))
0.1b
(fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8)

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(*.f64 (*.f64 x x) (fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8))
2.0ms
(fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8)

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
Counts
2 → 33
Calls

2 calls:

5.0ms
(*.f64 (*.f64 x x) (fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8))
0.0ms
(fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8)

simplify85.0ms (2.7%)

Algorithm
egg-herbie
Rules
671×fma-def_binary64
557×fma-neg_binary64
549×associate-*l*_binary64
446×exp-prod_binary64
422×associate-*r*_binary64
Counts
57 → 71
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0741059
1179872
2515755
31871755
43945755
54954755
64930755

prune54.0ms (1.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New71071
Fresh011
Picked011
Done022
Total71475
Error
0b
Counts
75 → 4
Alt Table
StatusErrorProgram
33.3b
(/.f64 x (/.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.8b
(/.f64 (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
25.7b
(fma.f64 1/2 x (*.f64 (*.f64 x x) (fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8)))
Compiler

Compiled 1468 to 960 computations (34.6% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
0.2b
(/.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1))))
0.2b
(/.f64 x (/.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1)))))
4.0b
(-.f64 1 (sqrt.f64 (+.f64 x 1)))

series64.0ms (2%)

Counts
3 → 12
Calls

3 calls:

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

rewrite131.0ms (4.2%)

Algorithm
rewrite-expression-head
Rules
818×times-frac_binary64
750×add-sqr-sqrt_binary64
706×*-un-lft-identity_binary64
334×add-cube-cbrt_binary64
224×sqrt-prod_binary64
Counts
3 → 633
Calls

3 calls:

19.0ms
(/.f64 x (/.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1)))))
10.0ms
(/.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1))))
7.0ms
(-.f64 1 (sqrt.f64 (+.f64 x 1)))

simplify400.0ms (12.8%)

Algorithm
egg-herbie
Rules
753×fma-def_binary64
414×associate-/r/_binary64
336×associate-/l/_binary64
268×associate-*l/_binary64
247×associate-/l*_binary64
Counts
645 → 579
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
046819323
1102817718
2420817634
3493817634

prune325.0ms (10.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New6080608
Fresh000
Picked011
Done033
Total6084612
Error
0b
Counts
612 → 4
Alt Table
StatusErrorProgram
33.3b
(/.f64 x (/.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.8b
(/.f64 (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
25.7b
(fma.f64 1/2 x (*.f64 (*.f64 x x) (fma.f64 x (-.f64 1/16 (*.f64 5/128 x)) -1/8)))
Compiler

Compiled 14557 to 9505 computations (34.7% saved)

regimes148.0ms (4.7%)

Accuracy

Total 0.2b remaining (99%)

Threshold costs 0.2b (99%)

Counts
77 → 1
Compiler

Compiled 2140 to 1642 computations (23.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21012

end2.0ms (0.1%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

sample516.0ms (16.4%)

Algorithm
intervals
Results
293.0ms7998×body128valid
0.0msbody2048valid
Compiler

Compiled 75 to 58 computations (22.7% saved)

Profiling

Loading profile data...