Details

Time bar (total: 4.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 (34.8%)

Results
486.0ms1390×body1024valid
463.0ms4578×body128valid
402.0ms1551×body512valid
131.0ms737×body256valid
Compiler

Compiled 50 to 41 computations (18% saved)

simplify20.0ms (0.5%)

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.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
10.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
10.0b
(+.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.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.7b
(+.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))

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

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

simplify444.0ms (10.2%)

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

prune869.0ms (20%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New8512853
Fresh000
Picked011
Done000
Total8513854
Error
0.6b
Counts
854 → 3
Alt Table
StatusErrorProgram
25.3b
(+.f64 (/.f64 (-.f64 x (+.f64 2 (*.f64 x 2))) (fma.f64 x x x)) (/.f64 1 (-.f64 x 1)))
10.0b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
32.5b
(/.f64 2 (pow.f64 x 3))
Compiler

Compiled 33599 to 26139 computations (22.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(-.f64 x (+.f64 2 (*.f64 x 2)))
1.7b
(+.f64 (/.f64 (-.f64 x (+.f64 2 (*.f64 x 2))) (fma.f64 x x x)) (/.f64 1 (-.f64 x 1)))
12.6b
(/.f64 (-.f64 x (+.f64 2 (*.f64 x 2))) (fma.f64 x x x))

series8.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite47.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity_binary64
48×add-sqr-sqrt_binary64
38×times-frac_binary64
32×add-cube-cbrt_binary64
19×fma-def_binary64
Counts
3 → 120
Calls

3 calls:

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

simplify95.0ms (2.2%)

Algorithm
egg-herbie
Rules
869×fma-def_binary64
541×distribute-rgt-in_binary64
431×fma-neg_binary64
305×times-frac_binary64
228×cancel-sign-sub-inv_binary64
Counts
156 → 198
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02252950
15542504
218112055
348322055
449902055

prune200.0ms (4.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2740274
Fresh011
Picked011
Done011
Total2743277
Error
0.6b
Counts
277 → 3
Alt Table
StatusErrorProgram
25.3b
(+.f64 (/.f64 (-.f64 x (+.f64 2 (*.f64 x 2))) (fma.f64 x x x)) (/.f64 1 (-.f64 x 1)))
10.0b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
32.5b
(/.f64 2 (pow.f64 x 3))
Compiler

Compiled 7303 to 4689 computations (35.8% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.6b
(/.f64 2 (pow.f64 x 3))

series3.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

3.0ms
(/.f64 2 (pow.f64 x 3))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
36×times-frac_binary64
26×*-un-lft-identity_binary64
26×add-sqr-sqrt_binary64
26×add-cube-cbrt_binary64
12×associate-/r*_binary64
Counts
1 → 67
Calls

1 calls:

4.0ms
(/.f64 2 (pow.f64 x 3))

simplify93.0ms (2.1%)

Algorithm
egg-herbie
Rules
625×associate-/r*_binary64
441×fma-def_binary64
393×times-frac_binary64
368×associate-*l*_binary64
295×log-prod_binary64
Counts
67 → 67
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
098886
1145856
2528856
33173800
44256800
54968800
64943800

prune53.0ms (1.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New62567
Fresh000
Picked011
Done022
Total62870
Error
0.0b
Counts
70 → 8
Alt Table
StatusErrorProgram
25.3b
(+.f64 (/.f64 (-.f64 x (+.f64 2 (*.f64 x 2))) (fma.f64 x x x)) (/.f64 1 (-.f64 x 1)))
10.0b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
47.2b
(*.f64 (/.f64 1 (pow.f64 x 3/2)) (/.f64 2 (pow.f64 x 3/2)))
32.5b
(/.f64 2 (pow.f64 x 3))
32.6b
(*.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 2) (pow.f64 x 3)))
32.0b
(/.f64 (/.f64 2 x) (*.f64 x x))
32.0b
(/.f64 (/.f64 2 (*.f64 x x)) x)
32.1b
(/.f64 (/.f64 2 (*.f64 x x)) (pow.f64 (cbrt.f64 x) 3))
Compiler

Compiled 951 to 754 computations (20.7% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 2 x) (*.f64 x x))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(/.f64 (/.f64 2 x) (*.f64 x x))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
31×times-frac_binary64
15×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
15×add-cube-cbrt_binary64
13×associate-/l*_binary64
Counts
1 → 48
Calls

1 calls:

8.0ms
(/.f64 (/.f64 2 x) (*.f64 x x))

simplify127.0ms (2.9%)

Algorithm
egg-herbie
Rules
586×div-sub_binary64
337×*-commutative_binary64
333×sub-neg_binary64
305×associate-/l/_binary64
305×times-frac_binary64
Counts
60 → 76
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0105779
1227689
2591689
31852689
42243674
52845674
63851647
74175647
84804647
94921647
104607647

prune51.0ms (1.2%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New75176
Fresh134
Picked101
Done033
Total77784
Error
0b
Counts
84 → 7
Alt Table
StatusErrorProgram
25.3b
(+.f64 (/.f64 (-.f64 x (+.f64 2 (*.f64 x 2))) (fma.f64 x x x)) (/.f64 1 (-.f64 x 1)))
10.0b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
47.2b
(*.f64 (/.f64 1 (pow.f64 x 3/2)) (/.f64 2 (pow.f64 x 3/2)))
32.5b
(/.f64 2 (pow.f64 x 3))
31.9b
(/.f64 (/.f64 (/.f64 2 x) x) x)
32.0b
(/.f64 (/.f64 2 (*.f64 x x)) x)
32.1b
(/.f64 (/.f64 2 (*.f64 x x)) (pow.f64 (cbrt.f64 x) 3))
Compiler

Compiled 1095 to 682 computations (37.7% saved)

regimes383.0ms (8.8%)

Accuracy

Total 0.4b remaining (74.1%)

Threshold costs 0.4b (74.1%)

Counts
103 → 3
Compiler

Compiled 3828 to 3020 computations (21.1% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 16 to 13 computations (18.8% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
12×+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
distribute-rgt-neg-in_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
032116
151116
267116
379116
483116
584116
681116

end110.0ms (2.5%)

Compiler

Compiled 240 to 179 computations (25.4% saved)

Profiling

Loading profile data...