Details

Time bar (total: 4.9s)

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.7s (33.8%)

Results
675.0ms2070×body1024valid
434.0ms4339×body128valid
264.0ms1086×body512valid
96.0ms569×body256valid
73.0ms192×body2048valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify96.0ms (2%)

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
31.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.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 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
3.7b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series5.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite161.0ms (3.3%)

Algorithm
egg-rewrite
Rules
146×egg
50×egg
Counts
2 → 196
Calls

2 calls:

79.0ms
(/.f64 x (+.f64 x 1))
78.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
119519
2292919
3505819
057
11097
214057
349607
451677

simplify73.0ms (1.5%)

Algorithm
egg-herbie
Rules
605×times-frac_binary64
562×fma-def_binary64
403×sub-neg_binary64
338×div-sub_binary64
220×fma-neg_binary64
Counts
220 → 222
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
042330
1124309
2358300
3965300
42934300
54391300
64964300

prune235.0ms (4.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2175222
Fresh000
Picked101
Done000
Total2185223
Error
0.0b
Counts
223 → 5
Alt Table
StatusErrorProgram
31.3b
(-.f64 (/.f64 1 (/.f64 (+.f64 x 1) x)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
32.4b
(fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 x 1))) (/.f64 (fma.f64 -1 x -1) (-.f64 x 1)))
29.4b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
31.8b
(fma.f64 (fma.f64 -1 x -1) (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
29.6b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
Compiler

Compiled 5767 to 4213 computations (26.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
0.2b
(/.f64 3 (pow.f64 x 3))
0.2b
(/.f64 1 (*.f64 x x))
7.8b
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))

series13.0ms (0.3%)

Counts
4 → 36
Calls

4 calls:

5.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
3.0ms
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
3.0ms
(/.f64 3 (pow.f64 x 3))
2.0ms
(/.f64 1 (*.f64 x x))

rewrite343.0ms (7%)

Algorithm
egg-rewrite
Rules
125×egg
68×egg
67×egg
46×egg
Counts
4 → 306
Calls

4 calls:

94.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
81.0ms
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
79.0ms
(/.f64 1 (*.f64 x x))
75.0ms
(/.f64 3 (pow.f64 x 3))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0916
120511
2255111
3475411
4487811
057
11004
210214
348264
451074
057
11117
212397
347877
448777
01222
128217
2374917
3532517

simplify81.0ms (1.7%)

Algorithm
egg-herbie
Rules
527×times-frac_binary64
465×associate-/r*_binary64
410×associate-*l/_binary64
374×fma-def_binary64
335×fma-neg_binary64
Counts
342 → 316
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
022456
159438
2151438
3361438
41016408
53828390
64523390
75055390

prune247.0ms (5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3160316
Fresh044
Picked011
Done000
Total3165321
Error
0.0b
Counts
321 → 5
Alt Table
StatusErrorProgram
31.3b
(-.f64 (/.f64 1 (/.f64 (+.f64 x 1) x)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
32.4b
(fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 x 1))) (/.f64 (fma.f64 -1 x -1) (-.f64 x 1)))
29.4b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
31.8b
(fma.f64 (fma.f64 -1 x -1) (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
29.6b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
Compiler

Compiled 7450 to 5684 computations (23.7% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (pow.f64 x 2))
0.3b
(*.f64 3 (/.f64 1 x))
7.8b
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
8.4b
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))

series12.0ms (0.2%)

Counts
4 → 24
Calls

4 calls:

4.0ms
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
4.0ms
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
2.0ms
(/.f64 1 (pow.f64 x 2))
1.0ms
(*.f64 3 (/.f64 1 x))

rewrite330.0ms (6.7%)

Algorithm
egg-rewrite
Rules
59×egg
56×egg
50×egg
47×egg
Counts
4 → 212
Calls

4 calls:

90.0ms
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
81.0ms
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
77.0ms
(*.f64 3 (/.f64 1 x))
76.0ms
(/.f64 1 (pow.f64 x 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01823
142723
2436823
3590023
01111
124911
2257811
3489511
4482111
064
11214
212444
348104
450014
064
11244
211594
347274
449434

simplify80.0ms (1.6%)

Algorithm
egg-herbie
Rules
673×associate-/r/_binary64
599×fma-def_binary64
377×*-commutative_binary64
333×associate-/r*_binary64
325×associate-*l*_binary64
Counts
236 → 219
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
022195
150195
294195
3178195
4428189
51975186
62922186
73671186
84252186
94929186

prune190.0ms (3.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2181219
Fresh033
Picked101
Done011
Total2195224
Error
0.0b
Counts
224 → 5
Alt Table
StatusErrorProgram
31.3b
(-.f64 (/.f64 1 (/.f64 (+.f64 x 1) x)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
32.4b
(fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 x 1))) (/.f64 (fma.f64 -1 x -1) (-.f64 x 1)))
29.4b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
50.4b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 3 x) (cbrt.f64 (/.f64 3 x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (/.f64 3 x)))) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
31.8b
(fma.f64 (fma.f64 -1 x -1) (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 6722 to 5421 computations (19.4% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series8.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite309.0ms (6.3%)

Algorithm
egg-rewrite
Rules
157×egg
56×egg
54×egg
Counts
3 → 267
Calls

3 calls:

111.0ms
(-.f64 (/.f64 1 (/.f64 (+.f64 x 1) x)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
111.0ms
(/.f64 1 (/.f64 (+.f64 x 1) x))
82.0ms
(/.f64 (+.f64 x 1) x)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0922
122119
2330219
3496819
4494919
0610
11377
217597
348967
449807
549337
057
11097
214127
348647
450717

simplify82.0ms (1.7%)

Algorithm
egg-herbie
Rules
605×times-frac_binary64
562×fma-def_binary64
403×sub-neg_binary64
338×div-sub_binary64
220×fma-neg_binary64
Counts
303 → 293
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
043399
1126378
2360369
3967369
42936369
54393369
64966369

prune232.0ms (4.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2930293
Fresh033
Picked011
Done011
Total2935298
Error
0.0b
Counts
298 → 5
Alt Table
StatusErrorProgram
31.3b
(-.f64 (/.f64 1 (/.f64 (+.f64 x 1) x)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
32.4b
(fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 x 1))) (/.f64 (fma.f64 -1 x -1) (-.f64 x 1)))
29.4b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
50.4b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 (pow.f64 (pow.f64 (*.f64 (/.f64 3 x) (cbrt.f64 (/.f64 3 x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (/.f64 3 x)))) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
31.8b
(fma.f64 (fma.f64 -1 x -1) (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 7172 to 5283 computations (26.3% saved)

regimes420.0ms (8.6%)

Accuracy

Total 0.0b remaining (29.5%)

Threshold costs 0.0b (29.5%)

Counts
146 → 3
Compiler

Compiled 5616 to 4372 computations (22.2% saved)

bsearch36.0ms (0.7%)

Steps
ItersRangePoint
8
232.75796806107857
169867.59613959913
11995.028539617728
8
-9256375.059611818
-7450.127406426313
-18424.40926304694
Compiler

Compiled 2 to 1 computations (50% saved)

simplify6.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02788
13888
24588
35188
45788
56088
66188
75988

end244.0ms (5%)

Compiler

Compiled 234 to 178 computations (23.9% saved)

Profiling

Loading profile data...