Details

Time bar (total: 8.7s)

analyze743.0ms (8.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
25%75%0%4
37.5%62.5%0%5
43.7%56.2%0%6
46.9%53.1%0%7
46.9%53.1%0%8
46.9%53.1%0%9
47%52.9%0%10
47.1%52.8%0%11
47.2%52.8%0%12
47.3%52.7%0%13
47.3%52.6%0%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.7s (19.1%)

Results
681.0ms2110×body1024valid
450.0ms4417×body128valid
249.0ms975×body512valid
98.0ms527×body256valid
90.0ms227×body2048valid
Compiler

Compiled 29 to 21 computations (27.6% saved)

simplify88.0ms (1%)

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.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
30.0b
(-.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 (+.f64 x 1) (-.f64 x 1))
3.4b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series6.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 (+.f64 x 1) (-.f64 x 1))

rewrite221.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
1304×*-un-lft-identity_binary64
1000×times-frac_binary64
859×add-sqr-sqrt_binary64
612×prod-diff_binary64
523×add-cube-cbrt_binary64
Counts
2 → 748
Calls

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

simplify784.0ms (9%)

Algorithm
egg-herbie
Rules
552×fma-neg_binary64
418×distribute-rgt-in_binary64
361×unsub-neg_binary64
255×fma-udef_binary64
202×associate-+r-_binary64
Counts
772 → 551
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
052154026
1123430580
2284822272
3449522270
4471822270

prune762.0ms (8.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New5474551
Fresh000
Picked011
Done000
Total5475552
Error
0.0b
Counts
552 → 5
Alt Table
StatusErrorProgram
31.1b
(+.f64 (fma.f64 (/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))))
31.0b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
31.1b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
32.5b
(fma.f64 3 x 1)
30.0b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 29250 to 21634 computations (26% saved)

localize13.0ms (0.1%)

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 3 (pow.f64 x 3))
0.3b
(/.f64 1 (*.f64 x x))
8.3b
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))

series12.0ms (0.1%)

Counts
4 → 36
Calls

4 calls:

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

rewrite80.0ms (0.9%)

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

simplify193.0ms (2.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

prune228.0ms (2.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2722274
Fresh123
Picked011
Done011
Total2736279
Error
0.0b
Counts
279 → 6
Alt Table
StatusErrorProgram
31.1b
(+.f64 (fma.f64 (/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))))
31.0b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
31.1b
(fma.f64 -3 (/.f64 1 x) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
32.5b
(fma.f64 3 x 1)
45.9b
(fma.f64 (sqrt.f64 (/.f64 -3 x)) (sqrt.f64 (/.f64 -3 x)) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
30.0b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 9591 to 6666 computations (30.5% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))
2.9b
(fma.f64 (neg.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))
4.4b
(/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3)))
30.8b
(fma.f64 (/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))))

series137.0ms (1.6%)

Counts
4 → 48
Calls

4 calls:

110.0ms
(fma.f64 (neg.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))
11.0ms
(*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))
10.0ms
(fma.f64 (/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))))
6.0ms
(/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3)))

rewrite96.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
373×*-un-lft-identity_binary64
224×cbrt-prod_binary64
224×times-frac_binary64
211×add-sqr-sqrt_binary64
83×add-cube-cbrt_binary64
Counts
4 → 260
Calls

4 calls:

35.0ms
(*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))
13.0ms
(/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3)))
0.0ms
(fma.f64 (/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))))
0.0ms
(fma.f64 (neg.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))

simplify523.0ms (6%)

Algorithm
egg-herbie
Rules
601×times-frac_binary64
258×fma-neg_binary64
203×fma-def_binary64
188×associate-*r*_binary64
180×associate-*l*_binary64
Counts
308 → 350
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03979504
18699036
228148552
346128468
449848468
548478468

prune2.0s (22.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New7411742
Fresh033
Picked101
Done022
Total7426748
Error
0b
Counts
748 → 6
Alt Table
StatusErrorProgram
31.9b
(+.f64 (exp.f64 (log.f64 (fma.f64 (/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))))
31.0b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
31.1b
(fma.f64 -3 (/.f64 1 x) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
32.5b
(fma.f64 3 x 1)
45.9b
(fma.f64 (sqrt.f64 (/.f64 -3 x)) (sqrt.f64 (/.f64 -3 x)) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
30.0b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 82690 to 63625 computations (23.1% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 -3 (/.f64 1 x) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
0.3b
(/.f64 -3 (pow.f64 x 3))
0.3b
(/.f64 1 (*.f64 x x))
6.6b
(-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))

series12.0ms (0.1%)

Counts
3 → 24
Calls

3 calls:

5.0ms
(fma.f64 -3 (/.f64 1 x) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
4.0ms
(-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))
3.0ms
(/.f64 -3 (pow.f64 x 3))

rewrite91.0ms (1%)

Algorithm
rewrite-expression-head
Rules
471×times-frac_binary64
320×add-sqr-sqrt_binary64
296×*-un-lft-identity_binary64
286×add-cube-cbrt_binary64
280×prod-diff_binary64
Counts
3 → 436
Calls

3 calls:

25.0ms
(-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))
5.0ms
(/.f64 -3 (pow.f64 x 3))
0.0ms
(fma.f64 -3 (/.f64 1 x) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))

simplify408.0ms (4.7%)

Algorithm
egg-herbie
Rules
810×fma-def_binary64
399×associate-/l/_binary64
369×fma-neg_binary64
275×cancel-sign-sub-inv_binary64
233×log-div_binary64
Counts
460 → 397
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
029913821
147911693
215438705
344058377
447928377
549888377
648618377

prune381.0ms (4.4%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New4340434
Fresh033
Picked011
Done022
Total4346440
Error
0b
Counts
440 → 6
Alt Table
StatusErrorProgram
31.9b
(+.f64 (exp.f64 (log.f64 (fma.f64 (/.f64 x (+.f64 (pow.f64 x 3) (pow.f64 1 3))) (+.f64 (*.f64 x x) (-.f64 (*.f64 1 1) (*.f64 x 1))) (neg.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))))))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (*.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))))
31.0b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
31.1b
(fma.f64 -3 (/.f64 1 x) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
32.5b
(fma.f64 3 x 1)
45.9b
(fma.f64 (sqrt.f64 (/.f64 -3 x)) (sqrt.f64 (/.f64 -3 x)) (-.f64 (/.f64 -3 (pow.f64 x 3)) (/.f64 1 (*.f64 x x))))
30.0b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 16469 to 11874 computations (27.9% saved)

regimes116.0ms (1.3%)

Accuracy

Total 0.2b remaining (81.3%)

Threshold costs 0.2b (81.3%)

Counts
35 → 2
Compiler

Compiled 2282 to 1744 computations (23.6% saved)

bsearch2.0ms (0%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02362
13462
24762
36462
47562
58062
68162
77762

end153.0ms (1.7%)

Compiler

Compiled 264 to 201 computations (23.9% saved)

Profiling

Loading profile data...