Details

Time bar (total: 5.3s)

analyze19.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%23.7%76.3%0
0%23.7%76.3%1
11.9%11.9%76.3%2
17.8%5.9%76.3%3
20.8%3%76.3%4
22.2%1.5%76.3%5
23%0.7%76.3%6
23.3%0.4%76.3%7
23.3%0.4%76.3%8
23.4%0.3%76.3%9
23.5%0.2%76.3%10
23.5%0.2%76.3%11
23.5%0.2%76.3%12
23.6%0.2%76.3%13
23.6%0.1%76.3%14
Compiler

Compiled 19 to 14 computations (26.3% saved)

sample4.6s (86.9%)

Results
2.7s4353×body1024valid
935.0ms2228×body512valid
349.0ms423×body2048valid
317.0ms1095×body256valid
21.0ms157×body128valid
Compiler

Compiled 54 to 40 computations (25.9% saved)

simplify229.0ms (4.4%)

Algorithm
egg-herbie
Rules
930×fma-def_binary64
842×fma-neg_binary64
811×associate--r+_binary64
753×associate--l+_binary64
678×unsub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01023
12618
25818
311218
425917
546217
674217
7102017
8124017
9158517
10269317
11264417
12284017
13284417
14285217
15285217
16307017
17300617
18302217
19302817
20303417
21303417
22303417
23477617
24457017
25517117

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
44.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
63.0b
(-.f64 (-.f64 (*.f64 (+.f64 n 1) (log.f64 (+.f64 n 1))) (*.f64 n (log.f64 n))) 1)
44.4b
(+.f64 (fma.f64 n (-.f64 (log1p.f64 n) (log.f64 n)) (log1p.f64 n)) -1)
Compiler

Compiled 83 to 55 computations (33.7% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 n)
0.0b
(fma.f64 n (-.f64 (log1p.f64 n) (log.f64 n)) (log1p.f64 n))
4.1b
(-.f64 (log1p.f64 n) (log.f64 n))

series12.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

6.0ms
(fma.f64 n (-.f64 (log1p.f64 n) (log.f64 n)) (log1p.f64 n))
3.0ms
(-.f64 (log1p.f64 n) (log.f64 n))
3.0ms
(log1p.f64 n)

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
12×prod-diff_binary64
pow1_binary64
Counts
3 → 60
Calls

3 calls:

4.0ms
(-.f64 (log1p.f64 n) (log.f64 n))
0.0ms
(fma.f64 n (-.f64 (log1p.f64 n) (log.f64 n)) (log1p.f64 n))
0.0ms
(log1p.f64 n)

simplify130.0ms (2.5%)

Algorithm
egg-herbie
Rules
971×fma-neg_binary64
720×fma-def_binary64
299×associate--l+_binary64
198×sub-neg_binary64
197×+-commutative_binary64
Counts
96 → 118
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01751616
14221246
213311179
337521172
447951172
549721172
649571172
748461172

prune61.0ms (1.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1491150
Fresh101
Picked101
Done000
Total1511152
Error
0.0b
Counts
152 → 1
Alt Table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (log.f64 n) 1) -1)
Compiler

Compiled 2869 to 1335 computations (53.5% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (log.f64 n) 1)
0.0b
(+.f64 (+.f64 (log.f64 n) 1) -1)

series49.0ms (0.9%)

Counts
2 → 24
Calls

2 calls:

28.0ms
(+.f64 (+.f64 (log.f64 n) 1) -1)
21.0ms
(+.f64 (log.f64 n) 1)

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64
distribute-lft-out_binary64
fma-def_binary64
add-log-exp_binary64
pow1_binary64
Counts
2 → 46
Calls

2 calls:

5.0ms
(+.f64 (+.f64 (log.f64 n) 1) -1)
3.0ms
(+.f64 (log.f64 n) 1)

simplify73.0ms (1.4%)

Algorithm
egg-herbie
Rules
543×log-prod_binary64
428×associate--l+_binary64
427×times-frac_binary64
298×unsub-neg_binary64
270×associate--r-_binary64
Counts
70 → 62
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071474
1166394
2308391
31315389
43592389
54682389
65145389

prune25.0ms (0.5%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New61162
Fresh000
Picked101
Done000
Total62163
Error
0b
Counts
63 → 1
Alt Table
StatusErrorProgram
0b
(log.f64 n)
Compiler

Compiled 668 to 443 computations (33.7% saved)

localize2.0ms (0%)

prune1.0ms (0%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Error
0b
Counts
1 → 1
Alt Table
StatusErrorProgram
0b
(log.f64 n)
Compiler

Compiled 3 to 2 computations (33.3% saved)

regimes23.0ms (0.4%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
7 → 1
Compiler

Compiled 268 to 193 computations (28% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
133

end29.0ms (0.6%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

Profiling

Loading profile data...