File size: 599 Bytes
dd14c26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import OAI.Probability.MatroidSecretary.Secretary.Model
import Mathlib.Probability.Distributions.Uniform

namespace OAI

/-! Reference-side arrival law for the actual random-prefix secretary experiment. -/
namespace MatroidProphet.Secretary
open MeasureTheory

instance uniformArrivalLaw_probability (n : ℕ) :
    IsProbabilityMeasure (uniformArrivalLaw n) := by
  unfold uniformArrivalLaw
  infer_instance

/-- Compatibility name for the source prefix set; only the analysis uses a full order. -/
abbrev prefixSet {n : ℕ} := @MatroidProphet.orderPrefix n

end MatroidProphet.Secretary

end OAI