Details

Time bar (total: 2.8s)

analyze8.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
12.5%25%62.5%4
18.7%12.5%68.8%5
21.9%6.2%71.9%6
23.4%3.1%73.5%7
24.2%1.6%74.2%8
24.6%0.8%74.6%9
24.8%0.4%74.8%10
24.9%0.2%74.9%11
24.9%0.1%75%12
25%0%75%13
25%0%75%14
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample1.9s (67.3%)

Results
1.8s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify13.0ms (0.5%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
+-commutative_binary64
fma-def_binary64
*-commutative_binary64
associate-+l-_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11411
21711
31911
42311
52411
62911
72211

prune48.0ms (1.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
Compiler

Compiled 24 to 21 computations (12.5% saved)

localize10.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.1%)

Counts
1 → 3
Calls

1 calls:

2.0ms
(-.f64 (/.f64 1 x) 1)

rewrite98.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
788×prod-diff_binary64
482×log1p-expm1-u_binary64
482×expm1-log1p-u_binary64
326×unpow-prod-down_binary64
213×log-prod_binary64
Counts
1 → 52
Calls

1 calls:

96.0ms
(-.f64 (/.f64 1 x) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11097
212377
347457
459527
000
100

simplify45.0ms (1.6%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Counts
55 → 54
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
176
266

prune66.0ms (2.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New53154
Fresh000
Picked011
Done000
Total53255
Error
0b
Counts
55 → 2
Alt Table
StatusErrorProgram
0.0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
0.0b
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
Compiler

Compiled 754 to 657 computations (12.9% saved)

localize121.0ms (4.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
5.6b
(expm1.f64 (neg.f64 (log.f64 x)))

series56.0ms (2%)

Counts
1 → 12
Calls

1 calls:

56.0ms
(expm1.f64 (neg.f64 (log.f64 x)))

rewrite132.0ms (4.7%)

Algorithm
batch-egg-rewrite
Rules
836×expm1-log1p-u_binary64
808×log1p-expm1-u_binary64
285×add-log-exp_binary64
280×pow1_binary64
279×add-exp-log_binary64
Counts
1 → 1
Calls

1 calls:

131.0ms
(expm1.f64 (neg.f64 (log.f64 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1974
28781
323701
449281
549661
645181
000
100

simplify83.0ms (2.9%)

Algorithm
egg-herbie
Rules
710×log-div_binary64
472×log-prod_binary64
446×exp-sum_binary64
322×exp-diff_binary64
296×fma-neg_binary64
Counts
13 → 5
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01684
13484
24784
39484
417284
533984
685384
7347584
8482684
9510784

prune5.0ms (0.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New505
Fresh000
Picked011
Done011
Total527
Error
0b
Counts
7 → 2
Alt Table
StatusErrorProgram
0.0b
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1)))
0.0b
(neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))))
Compiler

Compiled 52 to 44 computations (15.4% saved)

regimes145.0ms (5.1%)

Accuracy

Total 0.0b remaining (25.4%)

Threshold costs 0.0b (25.4%)

Counts
7 → 1
Compiler

Compiled 499 to 429 computations (14% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11411
21711
31811
41611

end85.0ms (3%)

Compiler

Compiled 31 to 27 computations (12.9% saved)

Profiling

Loading profile data...