Details

Time bar (total: 1.5s)

analyze9.0ms (0.6%)

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)

sample1.1s (74.6%)

Results
1.0s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify6.0ms (0.4%)

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

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 24 to 18 computations (25% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series13.0ms (0.9%)

Counts
1 → 4
Calls

1 calls:

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

rewrite12.0ms (0.8%)

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))

simplify82.0ms (5.5%)

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

prune28.0ms (1.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New49251
Fresh000
Picked101
Done000
Total50252
Error
0b
Counts
52 → 2
Alt Table
StatusErrorProgram
32.8b
(sqrt.f64 (-.f64 (*.f64 x x) x))
0.3b
(-.f64 x (+.f64 1/2 (/.f64 1/8 x)))
Compiler

Compiled 686 to 448 computations (34.7% saved)

localize5.0ms (0.3%)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done000
Total022
Error
0b
Counts
2 → 2
Alt Table
StatusErrorProgram
32.8b
(sqrt.f64 (-.f64 (*.f64 x x) x))
0.3b
(-.f64 x (+.f64 1/2 (/.f64 1/8 x)))
Compiler

Compiled 22 to 14 computations (36.4% saved)

localize3.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x x) x)
30.5b
(sqrt.f64 (-.f64 (*.f64 x x) x))

series7.0ms (0.5%)

Counts
2 → 20
Calls

2 calls:

5.0ms
(sqrt.f64 (-.f64 (*.f64 x x) x))
2.0ms
(-.f64 (*.f64 x x) x)

rewrite23.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
sqrt-prod_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
Counts
2 → 41
Calls

2 calls:

4.0ms
(sqrt.f64 (-.f64 (*.f64 x x) x))
3.0ms
(-.f64 (*.f64 x x) x)

simplify72.0ms (4.8%)

Algorithm
egg-herbie
Rules
755×fma-neg_binary64
622×cancel-sign-sub-inv_binary64
554×unswap-sqr_binary64
483×associate-*r*_binary64
442×fma-def_binary64
Counts
61 → 68
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
093634
1177584
2611575
32422575
43417575
55304575

prune27.0ms (1.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh000
Picked011
Done011
Total68270
Error
0b
Counts
70 → 2
Alt Table
StatusErrorProgram
32.8b
(sqrt.f64 (-.f64 (*.f64 x x) x))
0.3b
(-.f64 x (+.f64 1/2 (/.f64 1/8 x)))
Compiler

Compiled 781 to 304 computations (61.1% saved)

regimes34.0ms (2.3%)

Accuracy

Total 0.4b remaining (99.2%)

Threshold costs 0.4b (99.2%)

Counts
13 → 1
Compiler

Compiled 190 to 134 computations (29.5% saved)

simplify2.0ms (0.1%)

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
0710
11010
22010
32810
43110
53210
63010

end48.0ms (3.2%)

Compiler

Compiled 31 to 22 computations (29% saved)

Profiling

Loading profile data...