Documentation

MIPRE.Background.LIDT.Co.Pasting.Bernoulli.Scalar

Scalar Bernoulli polynomial helpers for pasting #

The counterpart of MIPRE/Background/LIDT/MIPStarRE/LDT/Pasting/Bernoulli/Scalar.lean in the port of planning/c6b-plan.md (milestone M11, section "Port conventions").

The vendored file is classical throughout: the scalar Bernoulli tail polynomial F(p) = ∑_{r=d+1}^k C(k,r) p^r (1-p)^{k-r}, its lower tail and affine lower envelope, Hoeffding's lemma for a centered Bernoulli variable, the binomial moment-generating function and its Hoeffding bound, and the pointwise estimate bernoulliTailLowerAffine_le_scalarBernoulliTail on [0, 1] that the operator Chernoff comparison feeds through the functional calculus. None of them mentions a state, an operator or a measurement, so none is ported: this file imports the vendored file, and the ported files of Pasting name its declarations through explicit open MIPStarRE.LDT.Pasting (…) lists.

The file mirrors the vendored module so that the ported tree keeps the vendored import graph: it imports Co/Pasting/Bernoulli/TruncatedSums.lean, the counterpart of the vendored file's import, and Co/Pasting/Bernoulli/FromHToG/Core/BernoulliTail.lean imports it as the vendored BernoulliTail imports Scalar.

Not ported #

References #

In LionSR/MIPStarRE at commit 507e8122, not in this repository: