Details

Time bar (total: 6.4s)

analyze1.6s (24.5%)

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 (25.7%)

Results
510.0ms1423×body1024valid
497.0ms4452×body128valid
438.0ms1558×body512valid
153.0ms823×body256valid
1.0msbody8192exit
Compiler

Compiled 33 to 27 computations (18.2% saved)

simplify16.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

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 63 to 51 computations (19% saved)

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

series13.0ms (0.2%)

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

rewrite199.0ms (3.1%)

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:

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

simplify425.0ms (6.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

prune870.0ms (13.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New8512853
Fresh000
Picked011
Done000
Total8513854
Error
0.1b
Counts
854 → 3
Alt Table
StatusErrorProgram
31.0b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
24.7b
(/.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.3b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 33649 to 26181 computations (22.2% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series11.0ms (0.2%)

Counts
4 → 48
Calls

4 calls:

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

rewrite81.0ms (1.3%)

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:

24.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)))
17.0ms
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))
10.0ms
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
3.0ms
(-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2))

simplify178.0ms (2.8%)

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
03316310
110644993
242864902
349524894
449464894

prune415.0ms (6.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3192321
Fresh011
Picked101
Done011
Total3204324
Error
0.1b
Counts
324 → 4
Alt Table
StatusErrorProgram
0.2b
(/.f64 2 (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
31.0b
(+.f64 (/.f64 2 (pow.f64 x 5)) (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 7))))
10.3b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
24.7b
(/.f64 (+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1)) (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 16749 to 12450 computations (25.7% 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.1b
(/.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.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:

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

simplify73.0ms (1.1%)

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 (2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1473150
Fresh202
Picked101
Done101
Total1513154
Error
0.0b
Counts
154 → 3
Alt Table
StatusErrorProgram
0.1b
(*.f64 (/.f64 1 (fma.f64 x x x)) (/.f64 2 (-.f64 x 1)))
0.1b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
2.9b
(*.f64 (/.f64 2 (*.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 1 1)) x) (-.f64 x 1))) (-.f64 x 1))
Compiler

Compiled 3214 to 2414 computations (24.9% saved)

localize10.0ms (0.1%)

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

series10.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite33.0ms (0.5%)

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

simplify138.0ms (2.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

prune202.0ms (3.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2581259
Fresh022
Picked101
Done000
Total2593262
Error
0b
Counts
262 → 3
Alt Table
StatusErrorProgram
0.1b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
0.1b
(/.f64 (/.f64 2 (+.f64 x -1)) (fma.f64 x x x))
2.9b
(*.f64 (/.f64 2 (*.f64 (*.f64 (-.f64 (*.f64 x x) (*.f64 1 1)) x) (-.f64 x 1))) (-.f64 x 1))
Compiler

Compiled 5115 to 3319 computations (35.1% saved)

regimes223.0ms (3.5%)

Accuracy

Total 0.1b remaining (80.9%)

Threshold costs 0.1b (80.9%)

Counts
105 → 1
Compiler

Compiled 3448 to 2622 computations (24% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11517
21617
31417

end119.0ms (1.9%)

Compiler

Compiled 65 to 46 computations (29.2% saved)

Profiling

Loading profile data...