Details

Time bar (total: 9.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.7s (17.5%)

Results
678.0ms2096×body1024valid
448.0ms4343×body128valid
286.0ms1108×body512valid
90.0ms515×body256valid
79.0ms194×body2048valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify86.0ms (0.9%)

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.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.4b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series8.0ms (0.1%)

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

rewrite222.0ms (2.3%)

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)))
7.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
4.0ms
(/.f64 x (+.f64 x 1))

simplify970.0ms (10%)

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

prune737.0ms (7.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New6154619
Fresh000
Picked011
Done000
Total6155620
Error
0.0b
Counts
620 → 5
Alt Table
StatusErrorProgram
29.8b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
30.0b
(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))))))
34.1b
(+.f64 1 (*.f64 x (+.f64 3 x)))
31.5b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
31.4b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 30496 to 22477 computations (26.3% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (pow.f64 x 4))
0.6b
(/.f64 1 (*.f64 x x))
7.5b
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
10.2b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))

series13.0ms (0.1%)

Counts
4 → 36
Calls

4 calls:

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

rewrite163.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
512×*-un-lft-identity_binary64
377×add-sqr-sqrt_binary64
332×times-frac_binary64
278×prod-diff_binary64
232×add-cube-cbrt_binary64
Counts
4 → 467
Calls

4 calls:

48.0ms
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
20.0ms
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
4.0ms
(/.f64 1 (pow.f64 x 4))
3.0ms
(/.f64 1 (*.f64 x x))

simplify449.0ms (4.6%)

Algorithm
egg-herbie
Rules
821×fma-neg_binary64
199×associate-*l*_binary64
191×associate-*r*_binary64
183×sub-neg_binary64
172×exp-prod_binary64
Counts
503 → 470
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
033119401
184315538
2285813558
3431813558
4497613558
5483513558

prune625.0ms (6.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New4682470
Fresh123
Picked011
Done011
Total4696475
Error
0.0b
Counts
475 → 6
Alt Table
StatusErrorProgram
29.8b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
57.8b
(/.f64 (-.f64 (*.f64 (pow.f64 x 4) (-.f64 (*.f64 -3 (fma.f64 (/.f64 3 (pow.f64 x 3)) (+.f64 (/.f64 3 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 4)))) (+.f64 (/.f64 x (pow.f64 x 6)) (/.f64 (*.f64 27 x) (pow.f64 x 9))))) (*.f64 x (fma.f64 (/.f64 3 (pow.f64 x 3)) (+.f64 (/.f64 3 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 4))))) (*.f64 (pow.f64 x 5) (fma.f64 (/.f64 3 (pow.f64 x 3)) (+.f64 (/.f64 3 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 4)))))
34.1b
(+.f64 1 (*.f64 x (+.f64 3 x)))
31.5b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
30.5b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (/.f64 (cbrt.f64 -3) (cbrt.f64 x)) (neg.f64 (*.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))) 1))) (/.f64 -1 (pow.f64 x 4)))
31.4b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 25245 to 18711 computations (25.9% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 x)
0.6b
(/.f64 1 (*.f64 x x))
7.5b
(+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))
10.2b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (/.f64 (cbrt.f64 -3) (cbrt.f64 x)) (neg.f64 (*.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))) 1))) (/.f64 -1 (pow.f64 x 4)))

series72.0ms (0.7%)

Counts
2 → 24
Calls

2 calls:

36.0ms
(cbrt.f64 x)
36.0ms
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (/.f64 (cbrt.f64 -3) (cbrt.f64 x)) (neg.f64 (*.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))) 1))) (/.f64 -1 (pow.f64 x 4)))

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
cbrt-prod_binary64
Counts
2 → 31
Calls

2 calls:

8.0ms
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (/.f64 (cbrt.f64 -3) (cbrt.f64 x)) (neg.f64 (*.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))) 1))) (/.f64 -1 (pow.f64 x 4)))
1.0ms
(cbrt.f64 x)

simplify83.0ms (0.9%)

Algorithm
egg-herbie
Rules
593×fma-neg_binary64
294×div-sub_binary64
246×unsub-neg_binary64
228×associate-/r*_binary64
192×associate-*l*_binary64
Counts
55 → 58
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0851565
12131315
26421080
33049961
44658961
54964961

prune165.0ms (1.7%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1670167
Fresh033
Picked011
Done022
Total1676173
Error
0.0b
Counts
173 → 6
Alt Table
StatusErrorProgram
29.8b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
57.8b
(/.f64 (-.f64 (*.f64 (pow.f64 x 4) (-.f64 (*.f64 -3 (fma.f64 (/.f64 3 (pow.f64 x 3)) (+.f64 (/.f64 3 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 4)))) (+.f64 (/.f64 x (pow.f64 x 6)) (/.f64 (*.f64 27 x) (pow.f64 x 9))))) (*.f64 x (fma.f64 (/.f64 3 (pow.f64 x 3)) (+.f64 (/.f64 3 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 4))))) (*.f64 (pow.f64 x 5) (fma.f64 (/.f64 3 (pow.f64 x 3)) (+.f64 (/.f64 3 (pow.f64 x 3)) (/.f64 -1 (*.f64 x x))) (/.f64 1 (pow.f64 x 4)))))
34.1b
(+.f64 1 (*.f64 x (+.f64 3 x)))
31.5b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
30.5b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (/.f64 (cbrt.f64 -3) (cbrt.f64 x)) (neg.f64 (*.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))) 1))) (/.f64 -1 (pow.f64 x 4)))
31.4b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 7395 to 5120 computations (30.8% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
0.0b
(*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
0.1b
(cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
3.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series16.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

6.0ms
(cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
6.0ms
(*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
4.0ms
(*.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))

rewrite309.0ms (3.2%)

Algorithm
rewrite-expression-head
Rules
912×*-un-lft-identity_binary64
344×times-frac_binary64
248×distribute-lft-out--_binary64
217×cbrt-prod_binary64
171×cbrt-div_binary64
Counts
3 → 297
Calls

3 calls:

96.0ms
(*.f64 (*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
72.0ms
(*.f64 (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
27.0ms
(cbrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))

simplify530.0ms (5.5%)

Algorithm
egg-herbie
Rules
586×fma-def_binary64
348×fma-neg_binary64
336×*-commutative_binary64
250×associate-*l*_binary64
215×times-frac_binary64
Counts
333 → 349
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
036820281
173719756
2190216994
3457116791
4478416750
5474616750
6495916750

prune3.1s (32.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New185421856
Fresh202
Picked101
Done123
Total185841862
Error
0b
Counts
1862 → 4
Alt Table
StatusErrorProgram
29.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.3b
(/.f64 (-.f64 (fma.f64 x (+.f64 (+.f64 x -1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (+.f64 x -1)))
34.1b
(fma.f64 x (+.f64 x 3) 1)
30.5b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 -3) (cbrt.f64 -3)) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (/.f64 (cbrt.f64 -3) (cbrt.f64 x)) (neg.f64 (*.f64 (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))) 1))) (/.f64 -1 (pow.f64 x 4)))
Compiler

Compiled 154645 to 114576 computations (25.9% saved)

regimes190.0ms (2%)

Accuracy

Total 0.0b remaining (56.1%)

Threshold costs 0.0b (56.1%)

Counts
57 → 3
Compiler

Compiled 3795 to 2879 computations (24.1% saved)

bsearch15.0ms (0.2%)

Steps
ItersRangePoint
3
7428.514536328033
105992.72939524964
39024.27154499961
3
-1890131552972676000.0
-75287546.85287057
-586015145795.7788
Compiler

Compiled 2 to 1 computations (50% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
036103
151103
267103
387103
496103
5100103
6101103
798103

end111.0ms (1.1%)

Compiler

Compiled 230 to 170 computations (26.1% saved)

Profiling

Loading profile data...