math / data /lean /OAI /Probability /MatroidSecretary /Transport /TransferSpecification.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.06 kB
import OAI.Probability.MatroidProphet.Main
namespace OAI
/-! Independent specification of source `lem:transfer` / `eq:rank-transfer`.
The fixed filter mask is arbitrary. Every remaining product coordinate and parity
is averaged, and the actual nominal rank statistic is zero when unlisted. -/
namespace MatroidProphet
open Finset MainAlgorithm
/-- Full sample-to-rank contract for the actual rounded greedy survivor groups. -/
def TransferClaim : Prop :=
βˆ€ (n : β„•) (M : Matroid (Fin n)) (hE : M.E = Set.univ)
(w : Weights n), (βˆ€ e, 0 ≀ w e) β†’
βˆ€ (H : Finset (Fin n)) (i : β„€),
let s : Fin n β†’ Option β„€ := fun e => roundedLevel weightBase (w e)
let d : MainMasks n := ⟨H, βˆ…, βˆ…, βˆ…, false⟩
let U := trueGroup M d s i
let Y := (positiveGreedy M s \ H).filter (fun e => s e = some i)
densityThreshold ≀ (U.card : ℝ) β†’
((((2 : ℝ)^16)⁻¹ * Y.card - ((2 : ℝ)^23)⁻¹ * U.card) / (2 : ℝ)^100) ≀
mainMean d (fun d' => (trueZ M hE d' s i : ℝ))
end MatroidProphet
end OAI