Details

Time bar (total: 4.8s)

analyze18.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.3s (89.7%)

Results
2.4s4317×body1024valid
938.0ms2181×body512valid
367.0ms477×body2048valid
300.0ms1119×body256valid
22.0ms162×body128valid
Compiler

Compiled 54 to 40 computations (25.9% saved)

simplify228.0ms (4.7%)

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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
44.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
44.2b
(+.f64 (fma.f64 n (-.f64 (log1p.f64 n) (log.f64 n)) (log1p.f64 n)) -1)
Compiler

Compiled 51 to 31 computations (39.2% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series7.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite46.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
657×expm1-log1p-u_binary64
656×log1p-expm1-u_binary64
458×prod-diff_binary64
119×log1p-udef_binary64
72×egg-rr
Counts
2 → 72
Calls

2 calls:

44.0ms
(fma.f64 n (-.f64 (log1p.f64 n) (log.f64 n)) (log1p.f64 n))
44.0ms
(-.f64 (log1p.f64 n) (log.f64 n))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0622
112622
2162122
3507422
000
100

simplify75.0ms (1.6%)

Algorithm
egg-herbie
Rules
455×sub-neg_binary64
429×cancel-sign-sub-inv_binary64
425×fma-neg_binary64
318×associate-*l*_binary64
252×associate-*r*_binary64
Counts
96 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
074428
1223402
2668399
31916392
44206392
54687392
64850392

prune52.0ms (1.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1041105
Fresh000
Picked101
Done000
Total1051106
Error
0b
Counts
106 → 1
Alt Table
StatusErrorProgram
0b
(+.f64 (+.f64 (log.f64 n) 1) -1)
Compiler

Compiled 1989 to 914 computations (54% saved)

localize4.0ms (0.1%)

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
(+.f64 (+.f64 (log.f64 n) 1) -1)
Compiler

Compiled 7 to 6 computations (14.3% saved)

regimes21.0ms (0.4%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
5 → 1
Compiler

Compiled 226 to 166 computations (26.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1119
2109

end32.0ms (0.7%)

Compiler

Compiled 21 to 18 computations (14.3% saved)

Profiling

Loading profile data...