Details

Time bar (total: 8.9s)

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

sample7.7s (85.9%)

Results
4.4s4140×body1024valid
1.4s2039×body512valid
774.0ms424×body2048valid
432.0ms1041×body256valid
131.0ms612×body128valid
Compiler

Compiled 41 to 35 computations (14.6% saved)

simplify469.0ms (5.3%)

Algorithm
egg-herbie
Rules
7982×fma-neg_binary64
642×unsub-neg_binary64
573×distribute-neg-in_binary64
572×distribute-rgt-in_binary64
535×distribute-rgt-out--_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01115
12013
22813
34313
46713
59513
613613
723413
842913
963613
1082713
1191813
12109313
13118313
14127213
15163013
16213513
17221713
18241813
19243813
20255813
21255813
22295413
23300413
24313013
25316213
26321013
27323013
28323813
29323813
30323813
31357413
32355813
33385613
34401413
35410013
36412613
37414213
38415413
39419013
40420213
41420613
42420613
431100413

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

localize11.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite121.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
874×log1p-udef_binary64
484×expm1-log1p-u_binary64
482×log1p-expm1-u_binary64
391×prod-diff_binary64
300×unpow-prod-down_binary64
Counts
1 → 94
Calls

1 calls:

117.0ms
(-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11308
212248
349908
464678
000
100

simplify116.0ms (1.3%)

Algorithm
egg-herbie
Rules
805×fma-def_binary64
633×fma-neg_binary64
534×associate-/r*_binary64
503×associate-/l/_binary64
369×times-frac_binary64
Counts
106 → 116
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
039174
1108174
2245174
3519174
4897174
51928174
64647174
75088174

prune89.0ms (1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1151116
Fresh000
Picked011
Done000
Total1152117
Error
0.0b
Counts
117 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.4b
(*.f64 1/2 (fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))))
Compiler

Compiled 1969 to 965 computations (51% saved)

localize14.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series11.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

6.0ms
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
5.0ms
(*.f64 2/3 (pow.f64 x 3))

rewrite84.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
630×log1p-expm1-u_binary64
630×expm1-log1p-u_binary64
302×log-prod_binary64
131×expm1-udef_binary64
131×log1p-udef_binary64
Counts
2 → 45
Calls

2 calls:

82.0ms
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
82.0ms
(*.f64 2/3 (pow.f64 x 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
116618
2165118
3500418
000
100

simplify171.0ms (1.9%)

Algorithm
egg-herbie
Rules
1032×sqr-pow_binary64
529×cube-prod_binary64
522×pow-sqr_binary64
481×fabs-mul_binary64
452×associate-*l*_binary64
Counts
57 → 50
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010117
121117
240117
369117
4117117
5245117
6678117
7995117
8999117
91129117
101283117
111437117
121666117
131967117
142315117
152790117
163408117
173604117
183778117
193892117
203939117
213991117
224869117
234772117

prune66.0ms (0.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New50050
Fresh000
Picked011
Done011
Total50252
Error
0.0b
Counts
52 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.4b
(*.f64 1/2 (fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))))
Compiler

Compiled 769 to 644 computations (16.3% saved)

regimes25.0ms (0.3%)

Accuracy

Total 0.0b remaining (56.9%)

Threshold costs 0.0b (56.9%)

Counts
5 → 1
Compiler

Compiled 268 to 218 computations (18.7% saved)

simplify3.0ms (0%)

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
52413

end45.0ms (0.5%)

Compiler

Compiled 38 to 30 computations (21.1% saved)

Profiling

Loading profile data...