Output-size lower bounds for native word-RAM runs #
Every changed memory cell costs a store instruction. The statements count changed cells rather
than output length alone: returning the initialized input is free apart from the halt. In
particular, materializing the all-one n × n matrix from an all-zero input costs at least
n² continuing instructions, and returning a nonzero constant list from an all-zero input costs
at least its length plus the halt. These are instruction-count bounds in the existing native
memory-output model.
Main results #
Runs.card_changed_le: a finite family of changed cells is bounded by the step count.Runs.block_lowerBound: every changed cell of an output block must be written.ExecutesList.replicate_lowerBound: a nonzero constant list returned from zero input requires at least its length plus one instructions, including the final halt.ExecutesList.denseMatrix_lowerBound: the specialization to the all-onen × nmatrix.
Every positive-address cell of a zero-word input starts at zero, regardless of input length.
Returning a nonzero constant list from a zero-word input must materialize every entry. The output pointer is unrestricted; its entries all lie at positive addresses, so none can reuse the input-length header. The output-length header may require an additional store.
Materializing the row-major all-one n × n matrix from initialized zero data has the
quadratic output-size barrier, even if the machine chooses its own output address.