math / data /lean /OAI /Probability /MatroidSecretary /Selection /FeasibilitySpec.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.4 kB
import OAI.Probability.MatroidProphet.Main
namespace OAI
namespace MatroidProphet
open Set Finset MeasureTheory
/-- Core and hidden prefix feasibility, measurability after masking the initial
observations, complete accepted-set nonanticipation, irrevocability, and literal
rejection of sacrificed labels. The mask depends only on the initial seed by
the type of `HiddenRule`; no weight-dependent mask is allowed. -/
def MainRuleFeasibility {n bits : β„•} (M : Matroid (Fin n))
(A : HiddenRule n bits) : Prop :=
Feasible M A.core ∧
(βˆ€ k, Measurable (fun x : Seed bits Γ— (Weights n Γ— History n k) =>
A.core.decide k x.1 (observed A x.1 x.2.1) x.2.2)) ∧
(βˆ€ (w : Weights n), (βˆ€ e, 0 ≀ w e) β†’
βˆ€ (r : Seed bits) (Ο€ : ArrivalOrder n) (t : β„•),
M.Indep (hiddenAcceptedThrough A r w Ο€ t : Set (Fin n))) ∧
(βˆ€ (r : Seed bits) (w w' : Weights n) (Ο€ Ο€' : ArrivalOrder n) (t : β„•),
(βˆ€ e ∈ A.mask r, w e = w' e) β†’
(βˆ€ j : Fin n, j.val < t β†’ (Ο€ j, w (Ο€ j)) = (Ο€' j, w' (Ο€' j))) β†’
hiddenAcceptedThrough A r w Ο€ t = hiddenAcceptedThrough A r w' Ο€' t) ∧
(βˆ€ (r : Seed bits) (w : Weights n) (Ο€ : ArrivalOrder n),
Monotone (hiddenAcceptedThrough A r w Ο€)) ∧
(βˆ€ (r : Seed bits) (w : Weights n) (Ο€ : ArrivalOrder n) (t : β„•),
Disjoint (hiddenAcceptedThrough A r w Ο€ t) (A.mask r))
end MatroidProphet
end OAI