Image diffusion API contracts #
These equalities connect the public image helpers to their scalar-polymorphic specifications. The Float tensor operations use specialized kernels, so their coordinate laws supply the connection to the spec's pointwise operations. No real-field identities or tolerances are used.
The reverse update agrees with ImageDDIM.stepFromEps. Agreement with the separate ddimStep
formula would require changing clipping, denominator, and time conventions, so it is not the
contract stated here.
Public Float addition and the spec addition have the same coordinate values.
Public Float subtraction and the spec subtraction have the same coordinate values.
The public reverse update is the image DDIM formula with denominator floor 1e-12.
The equality preserves clipping before remixing and reuse of the supplied epsilon. It applies to the actual Float expression, with its original multiplication and addition order.
The image time embedding agrees with the public schedule, including its single-state case.
Matching cumulative coefficients gives the same forward-corrupted sample and image time channel.
The hypothesis compares the actual stored coefficients with the chosen VP schedule. It does not identify the two linear constructors: their one-step endpoint conventions differ.