NLAlib.Computation.IsTapeRounding
Library · def
The tape-rounding contract: the stored draws are a rounding \rho of the ideal tape. For every distribution d, tape position i and ideal value \mathbf{x} with \lvert \mathbf{x} \rvert \le \Omega, the stored value \rho(d, i, \mathbf{x}) at tag p decodes to within c(d)\,u\max(\lvert \mathbf{x} \rvert, \tau) of \mathbf{x}: relative error c(d)\,u above the floor \tau (gradual underflow; 0 with an unbounded exponent), in the range \Omega (overflow). A uniform draw of \mathbf{x} \in [-1, 1] decodes into [-1, 1]. The rounding may depend on the position, as the state of a hardware sampler does; the law of the ideal tape is fixed by the model that uses the contract. [Shah2024, Definition 1.3], [Shah2024, Definition 1.4], the coupling of a computed and an ideal sample realised by the ideal tape.
NLAlib.Computation.IsTapeRounding {P K : Type} (dec : P → K → ℝ) (p : P) (u τ Ω : ℝ)
(c : Computation.Dist → ℝ) (ρ : Computation.Dist → ℕ → ℝ → K) : PropImport NLAlib.Matrix.FinitePrecision.TapeRounding.