Details

Time bar (total: 9.6s)

analyze1.6s (16.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0%99.9%0.1%14
Compiler

Compiled 17 to 14 computations (17.6% saved)

sample1.6s (17%)

Results
530.0ms4634×body128valid
477.0ms1313×body1024valid
425.0ms1500×body512valid
159.0ms809×body256valid
1.0msbody8192exit
Compiler

Compiled 50 to 41 computations (18% saved)

simplify16.0ms (0.2%)

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

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 63 to 51 computations (19% saved)

localize9.0ms (0.1%)

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.5b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

series12.0ms (0.1%)

Counts
4 → 48
Calls

4 calls:

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

rewrite186.0ms (1.9%)

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:

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

simplify437.0ms (4.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

prune819.0ms (8.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New8503853
Fresh000
Picked101
Done000
Total8513854
Error
0.2b
Counts
854 → 3
Alt Table
StatusErrorProgram
35.9b
(+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))
28.3b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
9.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1))))
Compiler

Compiled 33611 to 26152 computations (22.2% saved)

localize8.0ms (0.1%)

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 2 x) (/.f64 1 (-.f64 x 1)))
2.5b
(-.f64 (/.f64 1 (+.f64 x 1)) (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1))))

series7.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite336.0ms (3.5%)

Algorithm
rewrite-expression-head
Rules
1509×add-sqr-sqrt_binary64
1485×times-frac_binary64
1482×*-un-lft-identity_binary64
936×prod-diff_binary64
826×add-cube-cbrt_binary64
Counts
2 → 1090
Calls

2 calls:

71.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1))))
29.0ms
(-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1)))

simplify1.3s (13.4%)

Algorithm
egg-herbie
Rules
884×fma-neg_binary64
370×times-frac_binary64
226×+-commutative_binary64
186×fma-udef_binary64
165×fma-def_binary64
Counts
1114 → 1048
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
052670194
1121045416
2360144596
3458844596
4495644596

prune1.6s (16.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New117711178
Fresh022
Picked011
Done000
Total117741181
Error
0.2b
Counts
1181 → 4
Alt Table
StatusErrorProgram
35.9b
(+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))
28.3b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
22.5b
(/.f64 (-.f64 (*.f64 1 (*.f64 x (-.f64 x 1))) (*.f64 (+.f64 x 1) (-.f64 (*.f64 2 (-.f64 x 1)) (*.f64 x 1)))) (*.f64 (+.f64 x 1) (*.f64 x (-.f64 x 1))))
9.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1))))
Compiler

Compiled 63873 to 51325 computations (19.6% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (-.f64 x 1))
0.0b
(*.f64 (+.f64 x 1) (*.f64 x (-.f64 x 1)))
0.2b
(-.f64 (*.f64 2 (-.f64 x 1)) (*.f64 x 1))
14.5b
(-.f64 (*.f64 1 (*.f64 x (-.f64 x 1))) (*.f64 (+.f64 x 1) (-.f64 (*.f64 2 (-.f64 x 1)) (*.f64 x 1))))

series9.0ms (0.1%)

Counts
4 → 48
Calls

4 calls:

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

rewrite90.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
185×distribute-lft-in_binary64
185×distribute-rgt-in_binary64
148×prod-diff_binary64
130×associate--l+_binary64
125×add-sqr-sqrt_binary64
Counts
4 → 317
Calls

4 calls:

21.0ms
(-.f64 (*.f64 1 (*.f64 x (-.f64 x 1))) (*.f64 (+.f64 x 1) (-.f64 (*.f64 2 (-.f64 x 1)) (*.f64 x 1))))
12.0ms
(*.f64 (+.f64 x 1) (*.f64 x (-.f64 x 1)))
8.0ms
(-.f64 (*.f64 2 (-.f64 x 1)) (*.f64 x 1))
6.0ms
(*.f64 x (-.f64 x 1))

simplify215.0ms (2.2%)

Algorithm
egg-herbie
Rules
666×fma-neg_binary64
613×associate-*l*_binary64
600×associate-*r*_binary64
512×distribute-rgt-in_binary64
473×distribute-lft-in_binary64
Counts
365 → 497
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03447867
19386529
241905338
348245333
449585333

prune833.0ms (8.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New5691570
Fresh022
Picked101
Done011
Total5704574
Error
0.2b
Counts
574 → 4
Alt Table
StatusErrorProgram
35.9b
(+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))
28.3b
(fma.f64 -2 (+.f64 x (pow.f64 x 3)) (/.f64 -2 x))
0.3b
(/.f64 2 (*.f64 (+.f64 x 1) (*.f64 x (-.f64 x 1))))
9.2b
(-.f64 (/.f64 1 (+.f64 x 1)) (-.f64 (/.f64 2 x) (/.f64 1 (-.f64 x 1))))
Compiler

Compiled 26202 to 19607 computations (25.2% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series4.0ms (0%)

Counts
1 → 12
Calls

1 calls:

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

rewrite12.0ms (0.1%)

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

1 calls:

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

simplify58.0ms (0.6%)

Algorithm
egg-herbie
Rules
698×associate-*r*_binary64
569×distribute-rgt-in_binary64
520×distribute-lft-in_binary64
468×associate-/r*_binary64
289×fma-def_binary64
Counts
45 → 66
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0126972
1329724
21155704
34783704
44959704

prune193.0ms (2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2384242
Fresh202
Picked101
Done101
Total2424246
Error
0b
Counts
246 → 4
Alt Table
StatusErrorProgram
0.3b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
0.1b
(/.f64 (/.f64 2 (+.f64 x 1)) (*.f64 x (-.f64 x 1)))
0.8b
(/.f64 (sqrt.f64 2) (/.f64 (*.f64 (+.f64 x 1) (*.f64 x (-.f64 x 1))) (sqrt.f64 2)))
0.6b
(*.f64 (/.f64 (sqrt.f64 2) (+.f64 x 1)) (/.f64 (sqrt.f64 2) (*.f64 x (-.f64 x 1))))
Compiler

Compiled 5453 to 4046 computations (25.8% saved)

regimes121.0ms (1.3%)

Accuracy

Total 0.1b remaining (84%)

Threshold costs 0.1b (84%)

Counts
41 → 1
Compiler

Compiled 1090 to 836 computations (23.3% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11616
21716
31516

end108.0ms (1.1%)

Compiler

Compiled 76 to 59 computations (22.4% saved)

Profiling

Loading profile data...