Details

Time bar (total: 5.3s)

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)

sample1.5s (28.5%)

Results
456.0ms4527×body128valid
454.0ms1354×body1024valid
404.0ms1584×body512valid
154.0ms791×body256valid
0.0msbody128invalid
Compiler

Compiled 50 to 41 computations (18% saved)

simplify15.0ms (0.3%)

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

prune9.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
9.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
9.3b
(+.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))
1.4b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

series10.0ms (0.2%)

Counts
4 → 48
Calls

4 calls:

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

rewrite275.0ms (5.2%)

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:

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

simplify469.0ms (8.8%)

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

prune923.0ms (17.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New8512853
Fresh000
Picked101
Done000
Total8522854
Error
0.2b
Counts
854 → 2
Alt Table
StatusErrorProgram
22.9b
(/.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)))
34.3b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 7)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 9)))))
Compiler

Compiled 33645 to 26178 computations (22.2% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1))
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))
13.8b
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))

series10.0ms (0.2%)

Counts
4 → 48
Calls

4 calls:

3.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))
2.0ms
(*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1))
2.0ms
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))

rewrite80.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
90×associate-*l/_binary64
61×add-sqr-sqrt_binary64
57×*-un-lft-identity_binary64
54×prod-diff_binary64
51×add-cube-cbrt_binary64
Counts
4 → 223
Calls

4 calls:

17.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)))
13.0ms
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))
11.0ms
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
10.0ms
(*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1))

simplify166.0ms (3.1%)

Algorithm
egg-herbie
Rules
768×associate-*r*_binary64
455×distribute-rgt-in_binary64
429×distribute-lft-in_binary64
315×fma-def_binary64
161×associate-/r*_binary64
Counts
271 → 378
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03447374
110976061
246336015
349426015

prune446.0ms (8.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3771378
Fresh011
Picked011
Done000
Total3773380
Error
0.2b
Counts
380 → 3
Alt Table
StatusErrorProgram
22.9b
(/.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)))
34.3b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 7)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 9)))))
0.2b
(/.f64 2 (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
Compiler

Compiled 19689 to 14515 computations (26.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite10.0ms (0.2%)

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

simplify76.0ms (1.4%)

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

prune133.0ms (2.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1484152
Fresh101
Picked101
Done101
Total1514155
Error
0b
Counts
155 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 2 (fma.f64 x x x)) (-.f64 x 1))
16.7b
(*.f64 (/.f64 2 (*.f64 (-.f64 (pow.f64 x 3) x) (fma.f64 x x -1))) (*.f64 (-.f64 x 1) (+.f64 x 1)))
0.1b
(*.f64 (/.f64 1 (fma.f64 x x x)) (/.f64 2 (-.f64 x 1)))
0.2b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 3241 to 2412 computations (25.6% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite25.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
172×times-frac_binary64
136×add-sqr-sqrt_binary64
122×*-un-lft-identity_binary64
80×add-cube-cbrt_binary64
28×difference-of-squares_binary64
Counts
2 → 159
Calls

2 calls:

7.0ms
(/.f64 (/.f64 2 (fma.f64 x x x)) (-.f64 x 1))
2.0ms
(/.f64 2 (fma.f64 x x x))

simplify167.0ms (3.1%)

Algorithm
egg-herbie
Rules
464×fma-neg_binary64
414×associate-/r*_binary64
384×associate-/l/_binary64
300×fma-def_binary64
235×times-frac_binary64
Counts
183 → 222
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02514872
16184739
216194586
343404553
447014553
549554553

prune144.0ms (2.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2220222
Fresh033
Picked011
Done000
Total2224226
Error
0b
Counts
226 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 2 (fma.f64 x x x)) (-.f64 x 1))
16.7b
(*.f64 (/.f64 2 (*.f64 (-.f64 (pow.f64 x 3) x) (fma.f64 x x -1))) (*.f64 (-.f64 x 1) (+.f64 x 1)))
0.1b
(*.f64 (/.f64 1 (fma.f64 x x x)) (/.f64 2 (-.f64 x 1)))
0.2b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 4686 to 2744 computations (41.4% saved)

regimes720.0ms (13.6%)

Accuracy

Total 0.1b remaining (84.5%)

Threshold costs 0.1b (84.5%)

Counts
322 → 1
Compiler

Compiled 14535 to 11775 computations (19% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
11314
21414
31214

end60.0ms (1.1%)

Compiler

Compiled 75 to 51 computations (32% saved)

Profiling

Loading profile data...