Details

Time bar (total: 4.3s)

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)

sample117.0ms (2.7%)

Algorithm
intervals
Results
9.0ms62×body1024valid
5.0ms141×body128valid
3.0ms26×body512valid
2.0ms23×body256valid
1.0msbody2048valid
Compiler

Compiled 30 to 22 computations (26.7% saved)

simplify90.0ms (2.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
29.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
29.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.2%)

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

rewrite214.0ms (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:

38.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
11.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
3.0ms
(/.f64 x (+.f64 x 1))

simplify930.0ms (21.6%)

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

prune921.0ms (21.4%)

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
31.8b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
32.0b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
29.4b
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
29.8b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
Compiler

Compiled 30394 to 22393 computations (26.3% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series7.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite44.0ms (1%)

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity_binary64
53×times-frac_binary64
40×add-sqr-sqrt_binary64
26×distribute-lft-out_binary64
22×add-cube-cbrt_binary64
Counts
2 → 96
Calls

2 calls:

28.0ms
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
7.0ms
(/.f64 (-.f64 -1 x) (+.f64 x -1))

simplify87.0ms (2%)

Algorithm
egg-herbie
Rules
613×div-sub_binary64
552×fma-neg_binary64
440×fma-def_binary64
261×distribute-rgt-in_binary64
193×distribute-lft-in_binary64
Counts
120 → 130
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01691942
14621850
212151844
338531844
455901844

prune130.0ms (3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1980198
Fresh033
Picked011
Done000
Total1984202
Error
0.0b
Counts
202 → 4
Alt Table
StatusErrorProgram
31.8b
(-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3))))
32.0b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
29.4b
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
29.8b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
Compiler

Compiled 4146 to 2935 computations (29.2% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64
12×times-frac_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
add-exp-log_binary64
Counts
2 → 49
Calls

2 calls:

4.0ms
(/.f64 1 (+.f64 x 1))
0.0ms
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))

simplify90.0ms (2.1%)

Algorithm
egg-herbie
Rules
871×fma-def_binary64
718×fma-neg_binary64
304×associate-*l*_binary64
236×distribute-rgt-in_binary64
232×associate-*r*_binary64
Counts
73 → 96
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0951050
1217929
2512925
31371923
44408915
54998915
64939915

prune188.0ms (4.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1653168
Fresh202
Picked101
Done011
Total1684172
Error
0.0b
Counts
172 → 4
Alt Table
StatusErrorProgram
29.4b
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
31.8b
(fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x))
30.7b
(exp.f64 (log.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))))
32.0b
(fma.f64 3 (pow.f64 x 3) (fma.f64 x (+.f64 3 x) 1))
Compiler

Compiled 3540 to 2622 computations (25.9% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 -1 x) (+.f64 x -1))
0.2b
(exp.f64 (log.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))))
2.9b
(log.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1))))
29.8b
(fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))

series7.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(log.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1))))
3.0ms
(exp.f64 (log.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))))

rewrite6.0ms (0.1%)

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

2 calls:

2.0ms
(exp.f64 (log.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))))
1.0ms
(log.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1))))

simplify78.0ms (1.8%)

Algorithm
egg-herbie
Rules
989×fma-neg_binary64
382×associate-*l*_binary64
284×cancel-sign-sub-inv_binary64
264×fma-def_binary64
239×associate-+l+_binary64
Counts
55 → 87
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01141358
12621186
26951145
319711131
445101122
551361122

prune130.0ms (3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1901191
Fresh022
Picked101
Done011
Total1914195
Error
0b
Counts
195 → 4
Alt Table
StatusErrorProgram
29.4b
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))
31.8b
(fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x))
30.7b
(pow.f64 (E.f64) (log.f64 (fma.f64 x (/.f64 1 (+.f64 x 1)) (/.f64 (-.f64 -1 x) (+.f64 x -1)))))
32.0b
(fma.f64 3 (pow.f64 x 3) (fma.f64 x (+.f64 3 x) 1))
Compiler

Compiled 4266 to 3253 computations (23.7% saved)

regimes133.0ms (3.1%)

Accuracy

Total 0.1b remaining (76.1%)

Threshold costs 0.1b (76.1%)

Counts
48 → 2
Compiler

Compiled 1834 to 1410 computations (23.1% saved)

bsearch2.0ms (0%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03072
14372
25872
37472
48372
58672
68372

end1.0ms (0%)

Compiler

Compiled 49 to 37 computations (24.5% saved)

sample1.1s (24.6%)

Algorithm
intervals
Results
327.0ms2042×body1024valid
228.0ms4235×body128valid
166.0ms1018×body512valid
44.0ms212×body2048valid
40.0ms493×body256valid
Compiler

Compiled 124 to 93 computations (25% saved)

Profiling

Loading profile data...