Details

Time bar (total: 2.5s)

analyze192.0ms (7.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
37.5%62.4%0.1%5
62.4%37.5%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample31.0ms (1.3%)

Algorithm
intervals
Results
17.0ms256×body128valid
Compiler

Compiled 23 to 15 computations (34.8% saved)

simplify80.0ms (3.2%)

Algorithm
egg-herbie
Rules
694×fma-def_binary64
621×fma-neg_binary64
457×times-frac_binary64
316×div-sub_binary64
141×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0712
11812
23812
37112
415212
520712
659710
793710
8131410
9133710
10134210
11136910
12137910
13137910
14127410

prune5.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 35 to 18 computations (48.6% saved)

localize9.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

series16.0ms (0.7%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

rewrite54.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
20×times-frac_binary64
12×add-cube-cbrt_binary64
distribute-lft-out_binary64
Counts
1 → 47
Calls

1 calls:

47.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify119.0ms (4.8%)

Algorithm
egg-herbie
Rules
360×cancel-sign-sub-inv_binary64
305×neg-mul-1_binary64
284×div-sub_binary64
252×fma-def_binary64
243×fma-neg_binary64
Counts
71 → 57
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01081291
12741214
27951163
325941145
444361145
551071145

prune57.0ms (2.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New54357
Fresh000
Picked011
Done000
Total54458
Error
0b
Counts
58 → 4
Alt Table
StatusErrorProgram
33.4b
(/.f64 (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))) (sqrt.f64 (-.f64 n f)))
30.1b
(fma.f64 (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)) -2 -1)
33.4b
(fma.f64 2 (/.f64 f n) 1)
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 936 to 321 computations (65.7% saved)

localize12.0ms (0.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))

series27.0ms (1.1%)

Counts
1 → 24
Calls

1 calls:

27.0ms
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))

rewrite98.0ms (4%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×associate-*r*_binary64
11×*-un-lft-identity_binary64
10×times-frac_binary64
add-cube-cbrt_binary64
Counts
1 → 39
Calls

1 calls:

93.0ms
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))

simplify133.0ms (5.4%)

Algorithm
egg-herbie
Rules
332×associate-*l*_binary64
268×associate-*r*_binary64
245×associate-*l/_binary64
242×associate-*r/_binary64
228×distribute-rgt-in_binary64
Counts
63 → 63
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0911078
1227929
2773850
32605849
44059838
54960838

prune65.0ms (2.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New63063
Fresh022
Picked011
Done011
Total63467
Error
0b
Counts
67 → 4
Alt Table
StatusErrorProgram
33.4b
(/.f64 (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))) (sqrt.f64 (-.f64 n f)))
30.1b
(fma.f64 (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)) -2 -1)
33.4b
(fma.f64 2 (/.f64 f n) 1)
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 1287 to 634 computations (50.7% saved)

localize8.0ms (0.3%)

prune4.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
0b
Counts
4 → 4
Alt Table
StatusErrorProgram
33.4b
(/.f64 (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))) (sqrt.f64 (-.f64 n f)))
30.1b
(fma.f64 (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)) -2 -1)
33.4b
(fma.f64 2 (/.f64 f n) 1)
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 61 to 34 computations (44.3% saved)

localize13.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 n f))
0.2b
(/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f)))

series116.0ms (4.7%)

Counts
2 → 16
Calls

2 calls:

77.0ms
(/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f)))
39.0ms
(sqrt.f64 (-.f64 n f))

rewrite56.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity_binary64
35×add-sqr-sqrt_binary64
32×times-frac_binary64
30×sqrt-prod_binary64
22×add-cube-cbrt_binary64
Counts
2 → 81
Calls

2 calls:

36.0ms
(/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f)))
7.0ms
(sqrt.f64 (-.f64 n f))

simplify150.0ms (6.1%)

Algorithm
egg-herbie
Rules
758×times-frac_binary64
486×fma-def_binary64
460×associate-/l*_binary64
378×associate-/r*_binary64
147×fma-neg_binary64
Counts
97 → 125
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01962126
14772065
214802042
349372042
449692042

prune123.0ms (5%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1580158
Fresh000
Picked011
Done033
Total1584162
Error
0b
Counts
162 → 4
Alt Table
StatusErrorProgram
33.4b
(/.f64 (/.f64 (+.f64 f n) (sqrt.f64 (-.f64 n f))) (sqrt.f64 (-.f64 n f)))
30.1b
(fma.f64 (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)) -2 -1)
33.4b
(fma.f64 2 (/.f64 f n) 1)
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 3949 to 1220 computations (69.1% saved)

regimes79.0ms (3.2%)

Accuracy

Total 0.0b remaining (67.8%)

Threshold costs 0.0b (67.8%)

Counts
14 → 1
Compiler

Compiled 458 to 296 computations (35.4% saved)

simplify6.0ms (0.2%)

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
0712
11812
22912
33712
44012
54012

end1.0ms (0%)

Compiler

Compiled 10 to 6 computations (40% saved)

sample1.0s (40.8%)

Algorithm
intervals
Results
477.0ms8000×body128valid
Compiler

Compiled 69 to 42 computations (39.1% saved)

Profiling

Loading profile data...