Details

Time bar (total: 7.4s)

analyze64.0ms (0.9%)

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)

sample59.0ms (0.8%)

Algorithm
intervals
Results
17.0ms37×body1024valid
14.0ms55×body512valid
12.0ms139×body128valid
4.0ms25×body256valid
Compiler

Compiled 34 to 28 computations (17.6% saved)

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

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 63 to 51 computations (19% saved)

localize23.0ms (0.3%)

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

series22.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

7.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
5.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
5.0ms
(/.f64 1 (-.f64 x 1))
5.0ms
(/.f64 1 (+.f64 x 1))

rewrite412.0ms (5.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:

108.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
48.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
15.0ms
(/.f64 1 (+.f64 x 1))
9.0ms
(/.f64 1 (-.f64 x 1))

simplify655.0ms (8.9%)

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

prune1.6s (22.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New8494853
Fresh000
Picked011
Done000
Total8495854
Error
0.1b
Counts
854 → 5
Alt Table
StatusErrorProgram
29.0b
(+.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)))))
10.5b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
26.1b
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))))
28.9b
(/.f64 (fma.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2))) (fma.f64 x x x)) (*.f64 x (fma.f64 x x -1)))
28.3b
(/.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)))
Compiler

Compiled 33743 to 26249 computations (22.2% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
1.3b
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))))
2.7b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 11
Calls

1 calls:

0.0ms
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))))

simplify77.0ms (1%)

Algorithm
egg-herbie
Rules
681×fma-def_binary64
452×fma-neg_binary64
402×neg-mul-1_binary64
281×times-frac_binary64
280×cancel-sign-sub-inv_binary64
Counts
23 → 33
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
060537
1152486
2424480
31205480
43448480
54191480
65081480

prune1.1s (14.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New8091810
Fresh123
Picked011
Done011
Total8105815
Error
0.1b
Counts
815 → 5
Alt Table
StatusErrorProgram
26.1b
(expm1.f64 (log1p.f64 (+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))))
10.5b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
29.2b
(expm1.f64 (log1p.f64 (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))))
28.9b
(/.f64 (fma.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2))) (fma.f64 x x x)) (*.f64 x (fma.f64 x x -1)))
28.3b
(/.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)))
Compiler

Compiled 34319 to 27039 computations (21.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.0b
(-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2))
0.1b
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
20.0b
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))

series10.0ms (0.1%)

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

rewrite99.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:

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)))
14.0ms
(*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1))
12.0ms
(+.f64 (*.f64 (-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2)) (-.f64 x 1)) (*.f64 (*.f64 (+.f64 x 1) x) 1))
3.0ms
(-.f64 (*.f64 1 x) (*.f64 (+.f64 x 1) 2))

simplify222.0ms (3%)

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

prune804.0ms (10.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3183321
Fresh112
Picked101
Done202
Total3224326
Error
0.0b
Counts
326 → 4
Alt Table
StatusErrorProgram
28.3b
(/.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))
28.3b
(*.f64 (/.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 (*.f64 x x) (*.f64 1 1)) x) (-.f64 x 1))) (-.f64 x 1))
0.1b
(/.f64 2 (*.f64 (*.f64 (+.f64 x 1) x) (-.f64 x 1)))
29.2b
(expm1.f64 (log1p.f64 (+.f64 (/.f64 2 (pow.f64 x 3)) (/.f64 2 (pow.f64 x 5)))))
Compiler

Compiled 16805 to 12493 computations (25.7% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series10.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite34.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
10×associate-*l/_binary64
associate-/r/_binary64
*-un-lft-identity_binary64
Counts
2 → 56
Calls

2 calls:

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

simplify129.0ms (1.7%)

Algorithm
egg-herbie
Rules
520×associate-/r*_binary64
506×distribute-rgt-in_binary64
466×distribute-lft-in_binary64
324×fma-def_binary64
187×times-frac_binary64
Counts
80 → 109
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01451295
1365957
21226936
34668936
44964936
54951936

prune183.0ms (2.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1874191
Fresh303
Picked101
Done000
Total1914195
Error
0b
Counts
195 → 4
Alt Table
StatusErrorProgram
0.5b
(/.f64 (sqrt.f64 2) (/.f64 (fma.f64 x x -1) (/.f64 (sqrt.f64 2) x)))
20.5b
(*.f64 (sqrt.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1)))) (sqrt.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1)))))
0.0b
(/.f64 (/.f64 2 (fma.f64 x x x)) (-.f64 x 1))
0.1b
(/.f64 -2 (*.f64 x (neg.f64 (fma.f64 x x -1))))
Compiler

Compiled 3820 to 2806 computations (26.5% saved)

regimes332.0ms (4.5%)

Accuracy

Total 0.0b remaining (71.4%)

Threshold costs 0.0b (71.4%)

Counts
81 → 1
Compiler

Compiled 3330 to 2531 computations (24% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
11314
21414
31214

end1.0ms (0%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

sample1.5s (19.7%)

Algorithm
intervals
Results
332.0ms1328×body1024valid
318.0ms4475×body128valid
284.0ms1471×body512valid
141.0ms726×body256valid
0.0msbody128invalid
Compiler

Compiled 83 to 60 computations (27.7% saved)

Profiling

Loading profile data...