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)

sample118.0ms (2.5%)

Algorithm
intervals
Results
11.0ms71×body1024valid
5.0ms131×body128valid
3.0ms28×body512valid
2.0ms10×body2048valid
1.0ms16×body256valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

simplify78.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 (+.f64 x 1) (-.f64 x 1))
0.0b
(/.f64 x (+.f64 x 1))
2.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))

rewrite211.0ms (4.5%)

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:

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

simplify918.0ms (19.5%)

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

prune693.0ms (14.7%)

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
62.6b
(+.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 (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))))))
30.2b
(expm1.f64 (log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
31.3b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
31.5b
(neg.f64 (+.f64 (*.f64 3 (/.f64 1 x)) (/.f64 1 (pow.f64 x 2))))
Compiler

Compiled 30508 to 22487 computations (26.3% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(expm1.f64 (log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
0.0b
(log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
2.7b
(-.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
(log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
3.0ms
(expm1.f64 (log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

1.0ms
(log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
0.0ms
(expm1.f64 (log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))

simplify79.0ms (1.7%)

Algorithm
egg-herbie
Rules
437×sub-neg_binary64
369×distribute-neg-frac_binary64
327×neg-mul-1_binary64
305×fma-neg_binary64
265×div-sub_binary64
Counts
46 → 57
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
082968
1202851
2557841
31525839
43794839
54581839
65031839

prune632.0ms (13.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New5891590
Fresh123
Picked011
Done000
Total5904594
Error
0.0b
Counts
594 → 4
Alt Table
StatusErrorProgram
31.0b
(expm1.f64 (-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x))))
62.6b
(+.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 (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))))))
30.2b
(expm1.f64 (log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
31.3b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
Compiler

Compiled 30782 to 23005 computations (25.3% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x))))
0.0b
(-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x)))
0.5b
(/.f64 11/2 (*.f64 x x))

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(expm1.f64 (-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x))))
3.0ms
(-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x)))
2.0ms
(/.f64 11/2 (*.f64 x x))

rewrite29.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
121×times-frac_binary64
99×add-sqr-sqrt_binary64
91×prod-diff_binary64
91×*-un-lft-identity_binary64
89×add-cube-cbrt_binary64
Counts
3 → 164
Calls

3 calls:

11.0ms
(-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x)))
3.0ms
(/.f64 11/2 (*.f64 x x))
0.0ms
(expm1.f64 (-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x))))

simplify147.0ms (3.1%)

Algorithm
egg-herbie
Rules
626×fma-def_binary64
596×fma-neg_binary64
275×associate-*l/_binary64
263×times-frac_binary64
227×associate-/l*_binary64
Counts
200 → 221
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02654722
15133917
213292772
338032724
449092724
548332724

prune147.0ms (3.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2210221
Fresh022
Picked011
Done011
Total2214225
Error
0.0b
Counts
225 → 4
Alt Table
StatusErrorProgram
31.0b
(expm1.f64 (-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x))))
62.6b
(+.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 (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))))))
30.2b
(expm1.f64 (log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
31.3b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
Compiler

Compiled 6604 to 4505 computations (31.8% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
0.4b
(/.f64 1 (*.f64 x x))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite30.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
125×times-frac_binary64
101×add-sqr-sqrt_binary64
94×*-un-lft-identity_binary64
91×prod-diff_binary64
88×add-cube-cbrt_binary64
Counts
2 → 168
Calls

2 calls:

10.0ms
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
3.0ms
(/.f64 1 (*.f64 x x))

simplify153.0ms (3.3%)

Algorithm
egg-herbie
Rules
600×times-frac_binary64
599×div-sub_binary64
452×associate-*l*_binary64
405×fma-def_binary64
396×fma-neg_binary64
Counts
192 → 193
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01794012
13293196
28292309
336141970
444771920
544741920
649861920

prune122.0ms (2.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1930193
Fresh011
Picked011
Done022
Total1934197
Error
0.0b
Counts
197 → 4
Alt Table
StatusErrorProgram
31.0b
(expm1.f64 (-.f64 (/.f64 -3 x) (/.f64 11/2 (*.f64 x x))))
62.6b
(+.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 (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))))))
30.2b
(expm1.f64 (log1p.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
31.3b
(-.f64 (/.f64 -3 x) (/.f64 1 (*.f64 x x)))
Compiler

Compiled 5497 to 3697 computations (32.7% saved)

regimes340.0ms (7.2%)

Accuracy

Total 0.2b remaining (65.3%)

Threshold costs 0.2b (65.3%)

Counts
115 → 2
Compiler

Compiled 6352 to 4838 computations (23.8% saved)

bsearch5.0ms (0.1%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify4.0ms (0.1%)

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
02891
14791
26491
37391
47791
57891
67591

end1.0ms (0%)

Compiler

Compiled 63 to 47 computations (25.4% saved)

sample944.0ms (20%)

Algorithm
intervals
Results
306.0ms2006×body1024valid
182.0ms4355×body128valid
112.0ms946×body512valid
41.0ms221×body2048valid
35.0ms472×body256valid
Compiler

Compiled 192 to 145 computations (24.5% saved)

Profiling

Loading profile data...