cfahlgren1's picture
download
raw
865 Bytes
import OAI.Probability.MatroidProphet.Main
namespace OAI
/-! Concrete sacrificed-mask data for the secretary transport.
The branch and every mask coordinate are functions of the complete source seed.
The test mask is deliberately not part of the sacrificed mask.
-/
namespace MatroidProphet.Secretary
/-- The observation mask of the concrete source rule, before any values are seen. -/
noncomputable def sourceMask {n : ℕ} (r : Seed (mainSeedBits n)) : Finset (Fin n) :=
if mainBranch r then
(mainMasks r).H ∪ (mainMasks r).D ∪ (mainMasks r).C
else (mainMasks r).H
/-- Literal branchwise Bernoulli rates from `sections/secretary.tex`.
`false` is the maximum branch and `true` is the main branch. -/
noncomputable def branchRate (j : Bool) : ℝ :=
if j then 5 / 8 + 3 * ((2 : ℝ) ^ 143)⁻¹ else 1 / 2
end MatroidProphet.Secretary
end OAI

Xet Storage Details

Size:
865 Bytes
·
Xet hash:
fd2dc032314a8f60c9cc9db01fdba8d3d85eaeb37c77dedf94b3ef489716c0c0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.