OAI/Probability/MatroidSecretary/Secretary/Seed.lean
18 declarations, 0 contain sorry, 0 declared as axioms
Pointwise and probabilistic preservation of the complete secretary seed.
- theorem
OAI.MatroidProphet.reindexSecretarySeed_prefixLengthline 17 - theorem
OAI.MatroidProphet.reindexSecretarySeed_decisionAtline 20 - theorem
OAI.MatroidProphet.reindexSecretarySeed_acceptedThroughline 25 - theorem
OAI.MatroidProphet.reindexSecretarySeed_rewardline 30 - theorem
OAI.MatroidProphet.reindexSecretarySeed_feasibleline 36Source documentation
Feasibility remains pointwise on all seeds, not merely almost everywhere.
theorem reindexSecretarySeed_feasible (M : Matroid (Fin n)) (hA : SecretaryFeasible M A) : SecretaryFeasible M (reindexSecretarySeed A f hf) := by …Mentions: OAI.MatroidProphet.SecretaryFeasible, OAI.MatroidProphet.reindexSecretarySeed
- theorem
OAI.MatroidProphet.secretaryFinSeed_prefixLengthline 47 - theorem
OAI.MatroidProphet.secretaryFinSeed_decisionAtline 51 - theorem
OAI.MatroidProphet.secretaryFinSeed_acceptedThroughline 57 - theorem
OAI.MatroidProphet.secretaryFinSeed_rewardline 63 - theorem
OAI.MatroidProphet.secretaryFinSeed_feasibleline 68 - instance
OAI.MatroidProphet.secretaryFinSeedLaw_isProbabilityline 74 - theorem
OAI.MatroidProphet.secretaryFinSeedLaw_decodeline 80Source documentation
Decoding recovers the full predrawn table law, including every unused entry.
theorem secretaryFinSeedLaw_decode (ν : Measure Q) : (secretaryFinSeedLaw ν).map (Fintype.equivFin Q).symm = ν := by …Mentions: OAI.MatroidProphet.secretaryFinSeedLaw
- theorem
OAI.MatroidProphet.secretaryFinSeed_random_lawline 88Source documentation
The law roundtrip holds for an arbitrary externally realized finite seed.
theorem secretaryFinSeed_random_law {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) (ν : Measure Q) (R : Ω → Fin (Fintype.card Q)) (hR : Measurable R) (hlaw : μ.map R = secretaryFinSeedLaw ν) : μ.map ((Fintype.equivFin Q).symm ∘ R) = ν := by …Mentions: OAI.MatroidProphet.secretaryFinSeedLaw
- theorem
OAI.MatroidProphet.secretaryFinSeed_indepFun_iffline 96Source documentation
Arrival randomization remains independent after the complete-seed bijection.
theorem secretaryFinSeed_indepFun_iff {Ω β : Type*} [MeasurableSpace Ω] [MeasurableSpace β] (μ : Measure Ω) (X : Ω → β) (R : Ω → Q) : IndepFun X ((Fintype.equivFin Q) ∘ R) μ ↔ IndepFun X R μ := by … - theorem
OAI.MatroidProphet.secretaryFinSeed_integralline 109Source documentation
An adversary seeing the finite index can see exactly the original complete seed.
theorem secretaryFinSeed_integral (ν : Measure Q) (w : Weights n) (π : Fin (Fintype.card Q) → ArrivalOrder n) : (∫ q, secretaryReward (secretaryFinSeed A) q w (π q) ∂secretaryFinSeedLaw ν) = ∫ q, secretaryReward A q w (π ((Fintype.equivFin Q) q)) ∂ν := by …Mentions: OAI.MatroidProphet.Weights, OAI.MatroidProphet.ArrivalOrder, OAI.MatroidProphet.secretaryReward, OAI.MatroidProphet.secretaryFinSeed, OAI.MatroidProphet.secretaryFinSeedLaw
- theorem
OAI.MatroidProphet.secretaryFinSeed_guaranteeline 122Source documentation
Reindexing preserves the complete adversary quantifier, not just orders that are deterministic functions of the original seed. Additional ambient randomness is arbitrary and no independence from the executed order is assumed.
theorem secretaryFinSeed_guarantee.{u} (M : Matroid (Fin n)) (ν : Measure Q) (c : ℝ) (h : SecretaryGuarantee.{u} M A ν c) : SecretaryGuarantee.{u} M (secretaryFinSeed A) (secretaryFinSeedLaw ν) c := by …Mentions: OAI.MatroidProphet.secretaryFinSeed, OAI.MatroidProphet.secretaryFinSeedLaw
- theorem
OAI.MatroidProphet.secretaryFinSeed_witnessline 137Source documentation
A concrete finite-seed construction fills the finite-index existential used by the public secretary specification, without adding a transport premise there.
theorem secretaryFinSeed_witness.{u} (M : Matroid (Fin n)) (ν : Measure Q) [IsProbabilityMeasure ν] (c : ℝ) (hA : SecretaryFeasible M A) (h : SecretaryGuarantee.{u} M A ν c) : ∃ (q : ℕ) (ν' : Measure (Fin q)), IsProbabilityMeasure ν' ∧ ∃ (A' : SecretaryRule n (Fin q)), SecretaryFeasible M A' ∧ SecretaryGuarantee.{u} M A' ν' c := by …Mentions: OAI.MatroidProphet.SecretaryFeasible, OAI.MatroidProphet.SecretaryRule
- theorem
OAI.MatroidProphet.secretaryChallenge_of_finiteRulesline 151Source documentation
Final packaging of an already constructed family of finite secretary rules. All probability and adversary obligations are unchanged under seed enumeration.
theorem secretaryChallenge_of_finiteRules.{u, v} (Q : ℕ → Type v) [∀ n, Fintype (Q n)] [∀ n, MeasurableSpace (Q n)] [∀ n, MeasurableSingletonClass (Q n)] (ν : (n : ℕ) → Measure (Q n)) [∀ n, IsProbabilityMeasure (ν n)] (h : ∀ (n : ℕ) (M : Matroid (Fin n)), M.E = Set.univ → ∃ A : SecretaryRule n (Q n), SecretaryFeasible M A ∧ SecretaryGuarantee.{u} M A (ν n) (((2 : ℝ) ^ 293)⁻¹)) : SecretaryChallenge.{u} := by …Mentions: OAI.MatroidProphet.SecretaryRule, OAI.MatroidProphet.SecretaryFeasible