NeuralFloat Conv2D Bias/Kernel Backward Bounds #
This file proves pointwise NeuralFloat approximation bounds for the Conv2D bias and kernel gradients. The proofs replay the same summation structure used by the runtime backward pass and accumulate an explicit error budget for each output coordinate.
Pointwise error bound for the Conv2D bias gradient (NF runtime vs spec).
This bound is a replay of the bias-gradient summation with per-term error epsδ coming from the
grad_output approximation hypothesis.
Instances For
Soundness of the Conv2D bias-gradient pointwise bound.
Given approxT for grad_output, this shows the spec bias-gradient entry is approximated by the
NF runtime entry within conv2dBiasPointBound.
Tensor-shaped bias-gradient bound.
This packages conv2dBiasPointBound into a Tensor so later approxT statements can use
linfNorm to obtain a single scalar error bound.
Instances For
Pointwise error bound for the Conv2D kernel gradient (NF runtime vs spec).
The kernel-gradient entry accumulates products of padded input values and upstream gradients.
The bound is a replay of this accumulation with per-term errors derived from epsX and epsδ.
Instances For
Soundness of the Conv2D kernel-gradient pointwise bound.
Given approxT hypotheses for the input and upstream gradient (grad_output), this shows the spec
kernel-gradient entry is approximated by the NF runtime entry within conv2dKernelPointBound.
Tensor-shaped kernel-gradient bound.
This packages conv2dKernelPointBound into the full 4D kernel-tensor shape so later approxT
lemmas can use a single global bound via linfNorm.
Instances For
Tensor-level approxT bound for the Conv2D bias gradient.
This lifts approx_conv2d_bias_point entrywise and packages the error into
linfNorm (conv2dBiasBoundTensor ...).
Tensor-level approxT bound for the Conv2D kernel gradient.
This lifts approx_conv2d_kernel_point entrywise and packages the error into
linfNorm (conv2dKernelBoundTensor ...).