Details

Time bar (total: 4.7s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.6s (34.3%)

Results
647.0ms2069×body1024valid
414.0ms4385×body128valid
249.0ms1043×body512valid
108.0ms251×body2048valid
85.0ms508×body256valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify85.0ms (1.8%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
770×fma-def_binary64
322×div-sub_binary64
178×associate-/l*_binary64
150×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
45719
59119
617819
727719
864319
978819
10102419
11126519
12124219
13124819
14124619
15124819
16125019
17126019
18126019
19117119

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
28.3b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% 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 1))
1.7b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series8.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
2.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
2.0ms
(/.f64 x (+.f64 x 1))

rewrite224.0ms (4.8%)

Algorithm
rewrite-expression-head
Rules
1322×*-un-lft-identity_binary64
1012×times-frac_binary64
869×add-sqr-sqrt_binary64
612×prod-diff_binary64
533×add-cube-cbrt_binary64
Counts
3 → 783
Calls

3 calls:

40.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
3.0ms
(/.f64 x (+.f64 x 1))

simplify1.0s (21.6%)

Algorithm
egg-herbie
Rules
654×fma-neg_binary64
367×unsub-neg_binary64
299×fma-udef_binary64
213×sub-neg_binary64
202×associate-+r-_binary64
Counts
819 → 619
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054554602
1129031108
2304322839
3432322837
4498322837
5499122837
6474222837

prune705.0ms (15%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New6154619
Fresh000
Picked101
Done000
Total6164620
Error
0.0b
Counts
620 → 4
Alt Table
StatusErrorProgram
32.8b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
29.4b
(/.f64 (fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x))) (fma.f64 x x -1))
61.1b
(+.f64 (fma.f64 1 (/.f64 x (+.f64 x 1)) (neg.f64 (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))
31.3b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
Compiler

Compiled 30508 to 22481 computations (26.3% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 1 x) (-.f64 -1 x))
0.0b
(/.f64 (fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x))) (fma.f64 x x -1))
29.5b
(fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x)))

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity_binary64
31×add-sqr-sqrt_binary64
27×add-cube-cbrt_binary64
18×prod-diff_binary64
13×distribute-lft-in_binary64
Counts
3 → 96
Calls

3 calls:

7.0ms
(*.f64 (+.f64 1 x) (-.f64 -1 x))
2.0ms
(/.f64 (fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x))) (fma.f64 x x -1))
0.0ms
(fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x)))

simplify93.0ms (2%)

Algorithm
egg-herbie
Rules
795×distribute-rgt-in_binary64
696×distribute-lft-in_binary64
603×fma-neg_binary64
160×associate-*l*_binary64
149×associate-*r*_binary64
Counts
132 → 165
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02242768
14652474
216472284
347162272
449882272

prune108.0ms (2.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1641165
Fresh123
Picked101
Done000
Total1663169
Error
0.0b
Counts
169 → 3
Alt Table
StatusErrorProgram
14.2b
(/.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (fma.f64 x x -1))
32.8b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
31.3b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
Compiler

Compiled 4601 to 3003 computations (34.7% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (*.f64 3 x))
14.2b
(/.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (fma.f64 x x -1))

series5.0ms (0.1%)

Counts
2 → 15
Calls

2 calls:

4.0ms
(/.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (fma.f64 x x -1))
1.0ms
(+.f64 1 (*.f64 3 x))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
30×times-frac_binary64
26×*-un-lft-identity_binary64
26×add-sqr-sqrt_binary64
26×add-cube-cbrt_binary64
12×distribute-lft-neg-in_binary64
Counts
2 → 77
Calls

2 calls:

4.0ms
(/.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (fma.f64 x x -1))
2.0ms
(+.f64 1 (*.f64 3 x))

simplify78.0ms (1.7%)

Algorithm
egg-herbie
Rules
844×div-sub_binary64
370×fma-neg_binary64
350×times-frac_binary64
346×fma-def_binary64
279×associate-*l*_binary64
Counts
92 → 144
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01462071
13461769
210771671
337821671
457881671

prune115.0ms (2.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1422144
Fresh112
Picked011
Done000
Total1434147
Error
0b
Counts
147 → 4
Alt Table
StatusErrorProgram
14.2b
(/.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (fma.f64 x x -1))
32.8b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
21.5b
(*.f64 (sqrt.f64 (/.f64 (fma.f64 x -3 -1) (fma.f64 x x -1))) (sqrt.f64 (/.f64 (fma.f64 x -3 -1) (fma.f64 x x -1))))
14.3b
(*.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (/.f64 1 (fma.f64 x x -1)))
Compiler

Compiled 2973 to 2269 computations (23.7% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (*.f64 3 x))
0.3b
(/.f64 1 (fma.f64 x x -1))
13.9b
(*.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (/.f64 1 (fma.f64 x x -1)))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(/.f64 1 (fma.f64 x x -1))
3.0ms
(*.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (/.f64 1 (fma.f64 x x -1)))

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64
20×times-frac_binary64
20×add-cube-cbrt_binary64
15×add-exp-log_binary64
Counts
2 → 83
Calls

2 calls:

9.0ms
(*.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (/.f64 1 (fma.f64 x x -1)))
2.0ms
(/.f64 1 (fma.f64 x x -1))

simplify89.0ms (1.9%)

Algorithm
egg-herbie
Rules
546×fma-neg_binary64
386×distribute-rgt-in_binary64
364×fma-def_binary64
343×distribute-lft-in_binary64
338×div-sub_binary64
Counts
107 → 147
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01411910
13911605
212701506
337821502
449741502
550691502

prune123.0ms (2.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1721173
Fresh112
Picked011
Done101
Total1743177
Error
0b
Counts
177 → 3
Alt Table
StatusErrorProgram
21.6b
(/.f64 (fma.f64 x (*.f64 x 9) -1) (*.f64 (fma.f64 x x -1) (fma.f64 x -3 1)))
32.8b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
14.3b
(*.f64 (neg.f64 (+.f64 1 (*.f64 3 x))) (/.f64 1 (fma.f64 x x -1)))
Compiler

Compiled 3380 to 2646 computations (21.7% saved)

regimes254.0ms (5.4%)

Accuracy

Total 0.0b remaining (68.3%)

Threshold costs 0.0b (68.3%)

Counts
100 → 3
Compiler

Compiled 3574 to 2730 computations (23.6% saved)

bsearch7.0ms (0.1%)

Steps
ItersRangePoint
1
41160245.32747433
1.6903888093339274e+24
8162611635593491.0
1
-264437911551.847
-16603.855853596455
-66059582.89406409
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
12×+-commutative_binary64
10×sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02990
14588
27088
38988
49988
510288
69988

end84.0ms (1.8%)

Compiler

Compiled 175 to 130 computations (25.7% saved)

Profiling

Loading profile data...