Details

Time bar (total: 3.9s)

analyze8.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14
Compiler

Compiled 17 to 14 computations (17.6% saved)

sample54.0ms (1.4%)

Algorithm
intervals
Results
8.0ms45×body1024valid
7.0ms136×body128valid
6.0ms47×body512valid
3.0ms28×body256valid
Compiler

Compiled 34 to 28 computations (17.6% saved)

simplify16.0ms (0.4%)

Algorithm
egg-herbie
Rules
127×fma-neg_binary64
82×fma-def_binary64
41×cancel-sign-sub-inv_binary64
41×sub-neg_binary64
28×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
12222
23822
36122
410922
518622
624622
729622
834822
936822
1034422

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 63 to 51 computations (19% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series13.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

6.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
2.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
2.0ms
(/.f64 1 (-.f64 x 1))
2.0ms
(/.f64 1 (+.f64 x 1))

rewrite177.0ms (4.6%)

Algorithm
rewrite-expression-head
Rules
757×*-un-lft-identity_binary64
733×times-frac_binary64
558×add-sqr-sqrt_binary64
508×add-cube-cbrt_binary64
468×prod-diff_binary64
Counts
4 → 668
Calls

4 calls:

46.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
21.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
4.0ms
(/.f64 1 (-.f64 x 1))
4.0ms
(/.f64 1 (+.f64 x 1))

simplify413.0ms (10.6%)

Algorithm
egg-herbie
Rules
932×fma-neg_binary64
457×times-frac_binary64
236×fma-def_binary64
186×sub-neg_binary64
176×exp-prod_binary64
Counts
716 → 853
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041919278
198913709
225199843
343499843
448159843

prune843.0ms (21.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New8503853
Fresh000
Picked011
Done000
Total8504854
Error
0.3b
Counts
854 → 4
Alt Table
StatusErrorProgram
32.4b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
25.5b
(/.f64 (+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1)) (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
10.6b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
31.8b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
Compiler

Compiled 33671 to 26197 computations (22.2% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series12.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

6.0ms
(/.f64 (+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1)) (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
3.0ms
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
1.0ms
(-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2))
1.0ms
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))

rewrite73.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
88×associate-*l/_binary64
39×add-sqr-sqrt_binary64
38×*-un-lft-identity_binary64
37×prod-diff_binary64
35×add-cube-cbrt_binary64
Counts
4 → 181
Calls

4 calls:

25.0ms
(/.f64 (+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1)) (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
11.0ms
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))
9.0ms
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
3.0ms
(-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2))

simplify170.0ms (4.4%)

Algorithm
egg-herbie
Rules
712×associate-*r*_binary64
442×distribute-rgt-in_binary64
409×distribute-lft-in_binary64
342×*-commutative_binary64
307×fma-def_binary64
Counts
229 → 321
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03316234
110644993
242864902
349524894
449464894

prune349.0ms (9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3201321
Fresh022
Picked101
Done011
Total3214325
Error
0.3b
Counts
325 → 4
Alt Table
StatusErrorProgram
0.3b
(/.f64 2 (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
32.4b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
10.6b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
31.8b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
Compiler

Compiled 16715 to 12426 computations (25.7% saved)

localize12.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
0.3b
(/.f64 2 (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite11.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
associate-/r/_binary64
associate-*l/_binary64
frac-times_binary64
Counts
1 → 33
Calls

1 calls:

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

simplify75.0ms (1.9%)

Algorithm
egg-herbie
Rules
736×associate-*l*_binary64
481×distribute-rgt-in_binary64
462×associate-/r*_binary64
437×distribute-lft-in_binary64
371×fma-neg_binary64
Counts
45 → 70
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0126975
1335727
21109699
34461672
44853671
54990671

prune129.0ms (3.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1484152
Fresh202
Picked101
Done101
Total1524156
Error
0b
Counts
156 → 4
Alt Table
StatusErrorProgram
0.8b
(/.f64 (sqrt.f64 2) (/.f64 (-.f64 (pow.f64 x 3) x) (sqrt.f64 2)))
3.0b
(*.f64 (/.f64 2 (*.f64 (-.f64 x 1) (-.f64 (pow.f64 x 3) x))) (-.f64 x 1))
0.1b
(*.f64 (/.f64 1 (fma.f64 x x x)) (/.f64 2 (-.f64 x 1)))
0.3b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 3239 to 2435 computations (24.8% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (-.f64 x 1))
0.1b
(*.f64 (/.f64 1 (fma.f64 x x x)) (/.f64 2 (-.f64 x 1)))
0.4b
(/.f64 1 (fma.f64 x x x))

series14.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

7.0ms
(/.f64 1 (fma.f64 x x x))
4.0ms
(*.f64 (/.f64 1 (fma.f64 x x x)) (/.f64 2 (-.f64 x 1)))
3.0ms
(/.f64 2 (-.f64 x 1))

rewrite31.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
86×add-sqr-sqrt_binary64
67×times-frac_binary64
64×*-un-lft-identity_binary64
41×add-cube-cbrt_binary64
31×add-exp-log_binary64
Counts
3 → 152
Calls

3 calls:

15.0ms
(*.f64 (/.f64 1 (fma.f64 x x x)) (/.f64 2 (-.f64 x 1)))
4.0ms
(/.f64 2 (-.f64 x 1))
2.0ms
(/.f64 1 (fma.f64 x x x))

simplify124.0ms (3.2%)

Algorithm
egg-herbie
Rules
473×fma-neg_binary64
367×fma-def_binary64
342×associate-/l*_binary64
317×associate-*l/_binary64
297×times-frac_binary64
Counts
188 → 259
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02183239
15492947
215792831
342792828
447622828
549252828

prune169.0ms (4.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2581259
Fresh123
Picked101
Done000
Total2603263
Error
0b
Counts
263 → 3
Alt Table
StatusErrorProgram
0.8b
(/.f64 (sqrt.f64 2) (/.f64 (-.f64 (pow.f64 x 3) x) (sqrt.f64 2)))
0.1b
(/.f64 (/.f64 2 (+.f64 x -1)) (fma.f64 x x x))
0.3b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 5107 to 3314 computations (35.1% saved)

regimes120.0ms (3.1%)

Accuracy

Total 0.1b remaining (80.1%)

Threshold costs 0.1b (80.1%)

Counts
64 → 1
Compiler

Compiled 1894 to 1462 computations (22.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
1914
2914

end0.0ms (0%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

sample1.0s (26.6%)

Algorithm
intervals
Results
260.0ms1341×body1024valid
239.0ms4352×body128valid
216.0ms1542×body512valid
83.0ms765×body256valid
Compiler

Compiled 60 to 45 computations (25% saved)

Profiling

Loading profile data...