Details

Time bar (total: 3.2s)

analyze6.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample40.0ms (1.2%)

Algorithm
intervals
Results
6.0ms73×body512valid
5.0ms147×body128valid
2.0ms25×body256valid
1.0ms11×body1024valid
Compiler

Compiled 22 to 18 computations (18.2% saved)

simplify12.0ms (0.4%)

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
0713
11213
21813
32613
43413
55213
67713
79413
811113
912113
1012513
1112713
1211313

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 39 to 31 computations (20.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
3.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
2.0ms
(/.f64 1 (+.f64 x 1))

rewrite71.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
377×*-un-lft-identity_binary64
375×times-frac_binary64
284×add-sqr-sqrt_binary64
260×add-cube-cbrt_binary64
234×prod-diff_binary64
Counts
2 → 337
Calls

2 calls:

21.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
5.0ms
(/.f64 1 (+.f64 x 1))

simplify298.0ms (9.3%)

Algorithm
egg-herbie
Rules
781×fma-def_binary64
395×sub-neg_binary64
340×times-frac_binary64
306×div-sub_binary64
297×associate-*l*_binary64
Counts
361 → 324
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
018311806
13806831
210405351
337265350
441765350
544255342
648035342

prune335.0ms (10.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3213324
Fresh000
Picked011
Done000
Total3214325
Error
0.4b
Counts
325 → 4
Alt Table
StatusErrorProgram
34.1b
(cbrt.f64 (*.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x)) (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))) (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))))
14.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
31.9b
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
13.2b
(/.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 1)) (*.f64 (+.f64 x 1) x))
Compiler

Compiled 11400 to 8687 computations (23.8% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 x 1) x)
0.0b
(/.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 1)) (*.f64 (+.f64 x 1) x))
2.0b
(-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 1))

series14.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

8.0ms
(-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 1))
3.0ms
(/.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 1)) (*.f64 (+.f64 x 1) x))
2.0ms
(*.f64 (+.f64 x 1) x)

rewrite53.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
3 → 67
Calls

3 calls:

8.0ms
(/.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 1)) (*.f64 (+.f64 x 1) x))
5.0ms
(*.f64 (+.f64 x 1) x)
4.0ms
(-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 1))

simplify70.0ms (2.2%)

Algorithm
egg-herbie
Rules
940×div-sub_binary64
498×associate-/l*_binary64
419×associate-/r*_binary64
385×associate-*l*_binary64
331×fma-def_binary64
Counts
103 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01311334
13191067
21152857
33939856
46241856

prune115.0ms (3.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1273130
Fresh022
Picked011
Done011
Total1277134
Error
0.0b
Counts
134 → 7
Alt Table
StatusErrorProgram
5.3b
(*.f64 (/.f64 -1 (-.f64 (pow.f64 x 3) x)) (-.f64 x 1))
31.9b
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
34.1b
(cbrt.f64 (*.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x)) (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))) (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))))
14.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
0.1b
(/.f64 (/.f64 -1 (+.f64 x 1)) x)
23.4b
(*.f64 (/.f64 -1 (+.f64 x (pow.f64 x 4))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))))
13.2b
(/.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 1)) (*.f64 (+.f64 x 1) x))
Compiler

Compiled 2701 to 1979 computations (26.7% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 (/.f64 -1 (+.f64 x 1)) x)
2.0ms
(/.f64 -1 (+.f64 x 1))

rewrite20.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
114×times-frac_binary64
94×*-un-lft-identity_binary64
62×add-sqr-sqrt_binary64
62×add-cube-cbrt_binary64
21×associate-/l*_binary64
Counts
2 → 127
Calls

2 calls:

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

simplify124.0ms (3.9%)

Algorithm
egg-herbie
Rules
530×fma-neg_binary64
402×associate-/l/_binary64
377×associate-/r*_binary64
286×times-frac_binary64
250×associate-/l*_binary64
Counts
151 → 185
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02132819
14812654
212612645
334102644
445632641
549142641

prune143.0ms (4.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1814185
Fresh314
Picked011
Done202
Total1866192
Error
0b
Counts
192 → 6
Alt Table
StatusErrorProgram
29.7b
(cbrt.f64 (*.f64 (*.f64 (/.f64 (/.f64 -1 (+.f64 x 1)) x) (/.f64 (/.f64 -1 (+.f64 x 1)) x)) (/.f64 (/.f64 -1 (+.f64 x 1)) x)))
0.4b
(/.f64 1 (*.f64 (-.f64 -1 x) x))
47.8b
(*.f64 (sqrt.f64 (/.f64 -1 (+.f64 x 1))) (/.f64 (sqrt.f64 (/.f64 -1 (+.f64 x 1))) x))
0.1b
(/.f64 (/.f64 -1 (+.f64 x 1)) x)
5.3b
(*.f64 (/.f64 -1 (-.f64 (pow.f64 x 3) x)) (-.f64 x 1))
16.4b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 x 1))) (*.f64 (neg.f64 x) (sqrt.f64 (+.f64 x 1))))
Compiler

Compiled 3027 to 2203 computations (27.2% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 -1 x) x)
0.5b
(/.f64 1 (*.f64 (-.f64 -1 x) x))

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 1 (*.f64 (-.f64 -1 x) x))
3.0ms
(*.f64 (-.f64 -1 x) x)

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
15×add-exp-log_binary64
10×add-sqr-sqrt_binary64
add-cbrt-cube_binary64
*-un-lft-identity_binary64
pow1_binary64
Counts
2 → 56
Calls

2 calls:

7.0ms
(/.f64 1 (*.f64 (-.f64 -1 x) x))
5.0ms
(*.f64 (-.f64 -1 x) x)

simplify70.0ms (2.2%)

Algorithm
egg-herbie
Rules
687×fma-def_binary64
400×sub-neg_binary64
253×neg-sub0_binary64
249×unsub-neg_binary64
241×neg-mul-1_binary64
Counts
80 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
099965
1210838
2572797
31850795
43993795
54964795

prune69.0ms (2.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh044
Picked011
Done011
Total1006106
Error
0b
Counts
106 → 6
Alt Table
StatusErrorProgram
29.7b
(cbrt.f64 (*.f64 (*.f64 (/.f64 (/.f64 -1 (+.f64 x 1)) x) (/.f64 (/.f64 -1 (+.f64 x 1)) x)) (/.f64 (/.f64 -1 (+.f64 x 1)) x)))
0.4b
(/.f64 1 (*.f64 (-.f64 -1 x) x))
47.8b
(*.f64 (sqrt.f64 (/.f64 -1 (+.f64 x 1))) (/.f64 (sqrt.f64 (/.f64 -1 (+.f64 x 1))) x))
0.1b
(/.f64 (/.f64 -1 (+.f64 x 1)) x)
5.3b
(*.f64 (/.f64 -1 (-.f64 (pow.f64 x 3) x)) (-.f64 x 1))
16.4b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 x 1))) (*.f64 (neg.f64 x) (sqrt.f64 (+.f64 x 1))))
Compiler

Compiled 1263 to 864 computations (31.6% saved)

regimes404.0ms (12.6%)

Accuracy

Total 0.1b remaining (88.1%)

Threshold costs 0.1b (88.1%)

Counts
149 → 1
Compiler

Compiled 9735 to 7201 computations (26% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11010
2910

end0.0ms (0%)

Compiler

Compiled 8 to 6 computations (25% saved)

sample1.3s (40.8%)

Algorithm
intervals
Results
180.0ms2036×body512valid
150.0ms4528×body128valid
63.0ms1014×body256valid
51.0ms422×body1024valid
0.0msbody128invalid
Compiler

Compiled 104 to 81 computations (22.1% saved)

Profiling

Loading profile data...