Details

Time bar (total: 5.2s)

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)

sample123.0ms (2.4%)

Algorithm
intervals
Results
9.0ms59×body1024valid
5.0ms137×body128valid
4.0ms37×body512valid
2.0ms18×body256valid
1.0msbody2048valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

simplify87.0ms (1.7%)

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
30.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.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))
4.0b
(-.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))

rewrite219.0ms (4.2%)

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:

42.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
6.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
5.0ms
(/.f64 x (+.f64 x 1))

simplify950.0ms (18.2%)

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

prune980.0ms (18.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New6163619
Fresh000
Picked101
Done000
Total6173620
Error
0.0b
Counts
620 → 3
Alt Table
StatusErrorProgram
32.0b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (sqrt.f64 (+.f64 x 1))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1))) (/.f64 (sqrt.f64 (+.f64 x 1)) 1) (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) 1))))
31.2b
(/.f64 (fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x))) (fma.f64 x x -1))
31.1b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
Compiler

Compiled 30480 to 22459 computations (26.3% 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.3b
(/.f64 1 (*.f64 x x))
0.3b
(/.f64 3 (pow.f64 x 3))
6.5b
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))

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

rewrite77.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
178×*-un-lft-identity_binary64
136×times-frac_binary64
101×add-sqr-sqrt_binary64
96×add-cube-cbrt_binary64
78×prod-diff_binary64
Counts
4 → 245
Calls

4 calls:

27.0ms
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
19.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
4.0ms
(/.f64 3 (pow.f64 x 3))
4.0ms
(/.f64 1 (*.f64 x x))

simplify219.0ms (4.2%)

Algorithm
egg-herbie
Rules
508×unswap-sqr_binary64
388×cancel-sign-sub-inv_binary64
372×fma-neg_binary64
185×associate-*l*_binary64
185×associate-/r*_binary64
Counts
281 → 274
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02988270
16106566
225005026
346845026
448805026

prune240.0ms (4.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2731274
Fresh022
Picked011
Done000
Total2734277
Error
0b
Counts
277 → 4
Alt Table
StatusErrorProgram
32.0b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (sqrt.f64 (+.f64 x 1))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1))) (/.f64 (sqrt.f64 (+.f64 x 1)) 1) (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) 1))))
31.2b
(/.f64 (fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x))) (fma.f64 x x -1))
31.4b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)) 1) (/.f64 (cbrt.f64 -3) x) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
31.1b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
Compiler

Compiled 9503 to 6596 computations (30.6% saved)

localize10.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))
31.3b
(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
(/.f64 (fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x))) (fma.f64 x x -1))
3.0ms
(fma.f64 x (+.f64 x -1) (*.f64 (+.f64 1 x) (-.f64 -1 x)))
2.0ms
(*.f64 (+.f64 1 x) (-.f64 -1 x))

rewrite17.0ms (0.3%)

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:

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

simplify97.0ms (1.9%)

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

prune148.0ms (2.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1641165
Fresh112
Picked101
Done011
Total1663169
Error
0b
Counts
169 → 3
Alt Table
StatusErrorProgram
13.7b
(/.f64 (fma.f64 x -3 -1) (fma.f64 x x -1))
32.0b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (sqrt.f64 (+.f64 x 1))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 x 1))) (neg.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) 1)))) (fma.f64 (neg.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1))) (/.f64 (sqrt.f64 (+.f64 x 1)) 1) (*.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 x 1)) (/.f64 (sqrt.f64 (+.f64 x 1)) 1))))
31.1b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
Compiler

Compiled 4677 to 3061 computations (34.6% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x -3 -1)
13.7b
(/.f64 (fma.f64 x -3 -1) (fma.f64 x x -1))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 39
Calls

2 calls:

2.0ms
(/.f64 (fma.f64 x -3 -1) (fma.f64 x x -1))
0.0ms
(fma.f64 x -3 -1)

simplify67.0ms (1.3%)

Algorithm
egg-herbie
Rules
661×fma-def_binary64
370×distribute-rgt-in_binary64
362×div-sub_binary64
336×neg-mul-1_binary64
289×distribute-lft-in_binary64
Counts
63 → 63
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
089997
1188875
2506871
31616868
44434860
54943860

prune50.0ms (1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New62163
Fresh101
Picked011
Done011
Total63366
Error
0b
Counts
66 → 3
Alt Table
StatusErrorProgram
14.0b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x -3 -1)) (cbrt.f64 (fma.f64 x -3 -1))) (/.f64 (cbrt.f64 (fma.f64 x -3 -1)) (fma.f64 x x -1)))
13.7b
(/.f64 (fma.f64 x -3 -1) (fma.f64 x x -1))
31.1b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
Compiler

Compiled 984 to 724 computations (26.4% saved)

regimes874.0ms (16.7%)

Accuracy

Total 0.0b remaining (57.1%)

Threshold costs 0.0b (57.1%)

Counts
221 → 3
Compiler

Compiled 14444 to 10842 computations (24.9% saved)

bsearch22.0ms (0.4%)

Steps
ItersRangePoint
3
41.25954878773936
235868767227552.28
2483722.563740262
3
-8119083230921666000.0
-1110384604261601300.0
-1476318468044825000.0
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.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
02245
12845
23645
34645
45145
55345
65245

end1.0ms (0%)

Compiler

Compiled 32 to 24 computations (25% saved)

sample964.0ms (18.5%)

Algorithm
intervals
Results
317.0ms1993×body1024valid
192.0ms4336×body128valid
110.0ms958×body512valid
45.0ms487×body256valid
44.0ms226×body2048valid
Compiler

Compiled 97 to 73 computations (24.7% saved)

Profiling

Loading profile data...