Details

Time bar (total: 5.9s)

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)

sample5.0s (85.2%)

Results
2.5s4142×body1024valid
943.0ms2072×body512valid
511.0ms433×body2048valid
476.0ms1006×body256valid
94.0ms603×body128valid
Compiler

Compiled 41 to 35 computations (14.6% saved)

simplify459.0ms (7.8%)

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

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)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite87.0ms (1.5%)

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
2 → 125
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0615
113011
2122411
3499011
4646711
000
100

simplify72.0ms (1.2%)

Algorithm
egg-herbie
Rules
521×fma-neg_binary64
401×cancel-sign-sub-inv_binary64
362×associate-*l*_binary64
329×sub-neg_binary64
290×fma-def_binary64
Counts
149 → 171
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
081390
1240376
2679376
31977374
44072374
54837374
64971374

prune67.0ms (1.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1701171
Fresh000
Picked011
Done000
Total1702172
Error
0b
Counts
172 → 2
Alt Table
StatusErrorProgram
0.5b
(*.f64 1/2 (fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))))
0.0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
Compiler

Compiled 2778 to 1482 computations (46.7% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0%)

Counts
1 → 0
Calls

1 calls:

3.0ms
(*.f64 2/3 (pow.f64 x 3))

rewrite72.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
880×log1p-udef_binary64
476×log1p-expm1-u_binary64
476×expm1-log1p-u_binary64
319×unpow-prod-down_binary64
235×log-prod_binary64
Counts
1 → 18
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11257
212627
348497
462057
000
100

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune12.0ms (0.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New18018
Fresh000
Picked011
Done011
Total18220
Error
0b
Counts
20 → 2
Alt Table
StatusErrorProgram
0.5b
(*.f64 1/2 (fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))))
0.0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
Compiler

Compiled 261 to 219 computations (16.1% saved)

regimes26.0ms (0.4%)

Accuracy

Total 0.0b remaining (58.6%)

Threshold costs 0.0b (58.6%)

Counts
6 → 1
Compiler

Compiled 300 to 242 computations (19.3% saved)

simplify2.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

end42.0ms (0.7%)

Compiler

Compiled 38 to 30 computations (21.1% saved)

Profiling

Loading profile data...