Details

Time bar (total: 1.5s)

analyze5.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%50%50%2
0%50%50%3
12.5%25%62.5%4
18.7%12.5%68.8%5
21.9%6.2%71.9%6
23.4%3.1%73.5%7
24.2%1.6%74.2%8
24.6%0.8%74.6%9
24.8%0.4%74.8%10
24.9%0.2%74.9%11
24.9%0.1%75%12
25%0%75%13
25%0%75%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample798.0ms (53%)

Results
760.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify9.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11311
21411
31211

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
Compiler

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))

series11.0ms (0.7%)

Counts
1 → 4
Calls

1 calls:

11.0ms
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))

rewrite67.0ms (4.5%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
14×sqrt-prod_binary64
10×associate-*l*_binary64
*-un-lft-identity_binary64
associate-*r*_binary64
Counts
1 → 39
Calls

1 calls:

7.0ms
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))

simplify93.0ms (6.2%)

Algorithm
egg-herbie
Rules
865×fma-neg_binary64
626×distribute-rgt-in_binary64
492×distribute-lft-in_binary64
314×associate-*l*_binary64
262×associate-/r*_binary64
Counts
43 → 51
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
073590
1146578
2355578
3725578
41829568
54473568
64973568

prune69.0ms (4.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New50151
Fresh000
Picked011
Done000
Total50252
Error
0b
Counts
52 → 2
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
0.5b
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
Compiler

Compiled 692 to 454 computations (34.4% saved)

localize7.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
0.0b
(+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))
0.5b
(/.f64 1/16 (*.f64 x x))

series8.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))
3.0ms
(/.f64 1/16 (*.f64 x x))
2.0ms
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))

rewrite79.0ms (5.2%)

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity_binary64
24×add-sqr-sqrt_binary64
22×add-cube-cbrt_binary64
16×distribute-lft-out_binary64
15×prod-diff_binary64
Counts
3 → 94
Calls

3 calls:

57.0ms
(+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))
13.0ms
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
3.0ms
(/.f64 1/16 (*.f64 x x))

simplify153.0ms (10.1%)

Algorithm
egg-herbie
Rules
551×fma-def_binary64
505×distribute-rgt-in_binary64
481×distribute-lft-in_binary64
343×times-frac_binary64
291×fma-neg_binary64
Counts
130 → 129
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01542404
13382026
211581744
346661744
449301744

prune105.0ms (7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh000
Picked011
Done011
Total1292131
Error
0b
Counts
131 → 2
Alt Table
StatusErrorProgram
0.5b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 x))
0.5b
(-.f64 x (+.f64 1/2 (+.f64 (/.f64 1/8 x) (/.f64 1/16 (*.f64 x x)))))
Compiler

Compiled 3113 to 2055 computations (34% saved)

regimes51.0ms (3.4%)

Accuracy

Total 0.3b remaining (98.5%)

Threshold costs 0.3b (98.5%)

Counts
21 → 1
Compiler

Compiled 481 to 359 computations (25.4% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
distribute-neg-in_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11519
22519
33419
44919
55419
65619
75319

end44.0ms (2.9%)

Compiler

Compiled 50 to 36 computations (28% saved)

Profiling

Loading profile data...