3 ms·
> I think I once read that only an exponentially small fraction of binary strings are valid BLC programs This is true for the encoded lambda calculus prefix; b
by tromp 10y ago
> I think I once read that only an exponentially small fraction of binary strings are valid BLC programs
This is true for the encoded lambda calculus prefix; but
not for the entire BLC program in which you can embed arbitrary binary data.
> In theory this means you could create shorter programs
Not really; BLC is universal, so program sizes are optimal up to a constant. In other words, for any language L, there's a constant c_L, such that for all x,
the complexity of x according to BCL is at most a c_L larger than the complexity of x according to L.
- murbard2 10y agoCool, I was wondering that. So you confirm that I can embed arbitrary binary data in a BLC program with only a constant overhead?
- tromp 10y agoWith two caveats: the binary data must come after the encoded lambda expression, and in case of self-delimiting programs, that lambda expression must somehow know where the binary data ends.