Details

Time bar (total: 4.5s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50%13
49.9%0%50%14
Compiler

Compiled 14 to 12 computations (14.3% saved)

sample4.0s (89.3%)

Results
2.5s4138×body1024valid
755.0ms2033×body512valid
380.0ms447×body2048valid
244.0ms1026×body256valid
75.0ms612×body128valid
Compiler

Compiled 41 to 35 computations (14.6% saved)

simplify46.0ms (1%)

Algorithm
egg-herbie
Rules
781×fma-neg_binary64
515×fma-def_binary64
268×distribute-rgt-in_binary64
226×unsub-neg_binary64
210×sub-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01115
12013
22813
34313
47313
510913
615313
727213
858813
9104113
10147913
11187613
12208013
13222113
14251413
15339713
16457113
Stop Event
node limit
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
Compiler

Compiled 39 to 31 computations (20.5% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))

rewrite38.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
484×expm1-log1p-u_binary64
482×log1p-expm1-u_binary64
391×prod-diff_binary64
219×log-prod_binary64
153×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0610
11308
218538
Stop Event
node limit
Counts
1 → 82
Calls

1 calls:

36.0ms
(-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))

simplify26.0ms (0.6%)

Algorithm
egg-herbie
Rules
805×fma-def_binary64
503×associate-/l/_binary64
369×times-frac_binary64
301×associate-*l*_binary64
198×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039174
1108174
2250174
3603174
41149174
52672174
Stop Event
node limit
Counts
94 → 104

prune43.0ms (0.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh000
Picked011
Done000
Total1032105
Error
0.0b
Counts
105 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.3b
(*.f64 1/2 (fma.f64 2 x (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))))
Compiler

Compiled 1766 to 872 computations (50.6% saved)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))
0.0b
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))
0.1b
(*.f64 2/3 (pow.f64 x 3))

series11.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

4.0ms
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))
4.0ms
(fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))
3.0ms
(*.f64 2/3 (pow.f64 x 3))

rewrite49.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
519×log-prod_binary64
237×expm1-udef_binary64
237×log1p-udef_binary64
200×log-pow_binary64
166×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01442
130142
2319442
Stop Event
node limit
Counts
3 → 75
Calls

3 calls:

48.0ms
(fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3)))
48.0ms
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))
48.0ms
(*.f64 2/3 (pow.f64 x 3))

simplify66.0ms (1.5%)

Algorithm
egg-herbie
Rules
708×sqr-pow_binary64
624×unswap-sqr_binary64
300×pow-sqr_binary64
296×associate-*l*_binary64
252×cube-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
018336
146336
294336
3209336
4405336
51054336
61570336
72519336
82673336
92922336
103237336
113718336
124397336
Stop Event
node limit
Counts
99 → 83

prune86.0ms (1.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh000
Picked011
Done011
Total83285
Error
0.0b
Counts
85 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.3b
(*.f64 1/2 (fma.f64 2 x (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/3 (pow.f64 x 3))))))
Compiler

Compiled 2183 to 1801 computations (17.5% saved)

regimes36.0ms (0.8%)

Accuracy

Total 0.0b remaining (79.3%)

Threshold costs 0.0b (79.3%)

Counts
9 → 1
Compiler

Compiled 580 to 474 computations (18.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22013
32313
42413
Stop Event
saturated

end49.0ms (1.1%)

Compiler

Compiled 48 to 38 computations (20.8% saved)

Profiling

Loading profile data...