ComparatorChallenges/MatroidSecretary.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.

Project sources: Pinned openai/math documentation, Pinned formalization catalogue

34 declarations, 3 contain sorry, 0 declared as axioms

Matroid selection against an almighty adversary

The three guarantees concern one independent sample per label, a hidden fixed weight vector, and a uniformly sampled observation prefix. The rule and its finite seed law are fixed before the input weights or value distributions.

  1. abbrev OAI.MatroidProphet.Weights line 22

    Also declared: ComparatorChallenges/MatroidProphet.lean:20 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:24 (same declaration text).

  2. abbrev OAI.MatroidProphet.Seed line 23

    Also declared: ComparatorChallenges/MatroidProphet.lean:21 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:25 (same declaration text).

  3. abbrev OAI.MatroidProphet.ArrivalOrder line 24

    Also declared: ComparatorChallenges/MatroidProphet.lean:22 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:26 (same declaration text).

  4. instance OAI.MatroidProphet.arrivalOrderMeasurableSpace line 25

    Also declared: ComparatorChallenges/MatroidProphet.lean:23 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:27 (same declaration text).

  5. abbrev OAI.MatroidProphet.History line 27

    Also declared: ComparatorChallenges/MatroidProphet.lean:25 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:29 (same declaration text).

  6. structure OAI.MatroidProphet.OnlineRule line 29

    Also declared: ComparatorChallenges/MatroidProphet.lean:27 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:31 (same declaration text).

  7. def OAI.MatroidProphet.prefixIndex line 34

    Also declared: ComparatorChallenges/MatroidProphet.lean:32 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:36 (same declaration text).

  8. def OAI.MatroidProphet.history line 37

    Also declared: ComparatorChallenges/MatroidProphet.lean:35 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:39 (same declaration text).

  9. def OAI.MatroidProphet.decisionAt line 40

    Also declared: ComparatorChallenges/MatroidProphet.lean:38 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:42 (same declaration text).

  10. def OAI.MatroidProphet.acceptedThrough line 44

    Also declared: ComparatorChallenges/MatroidProphet.lean:42 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:46 (same declaration text).

  11. def OAI.MatroidProphet.accepted line 50

    Also declared: ComparatorChallenges/MatroidProphet.lean:48 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:52 (same declaration text).

  12. def OAI.MatroidProphet.reward line 54

    Also declared: ComparatorChallenges/MatroidProphet.lean:52 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:56 (same declaration text).

  13. def OAI.MatroidProphet.optimum line 58

    Also declared: ComparatorChallenges/MatroidProphet.lean:56 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:60 (same declaration text).

  14. def OAI.MatroidProphet.Feasible line 63

    Also declared: ComparatorChallenges/MatroidProphet.lean:61 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:65 (same declaration text).

  15. def OAI.MatroidProphet.pairedCoordinates line 68

    Also declared: ComparatorChallenges/MatroidProphet.lean:66 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:70 (same declaration text).

  16. def OAI.MatroidProphet.OneSampleChallenge line 72

    Also declared: ComparatorChallenges/MatroidProphet.lean:70 (same declaration text), OAI/Probability/MatroidProphet/Model.lean:74 (same declaration text).

  17. instance OAI.MatroidProphet.arrivalOrderMeasurableSingletonClass line 102

    Also declared: OAI/Probability/MatroidProphet/Model.lean:104 (same declaration text).

  18. structure OAI.MatroidProphet.HiddenRule line 105

    Also declared: OAI/Probability/MatroidProphet/Model.lean:107 (same declaration text).

  19. def OAI.MatroidProphet.observed line 109

    Also declared: OAI/Probability/MatroidProphet/Model.lean:111 (same declaration text).

  20. def OAI.MatroidProphet.hiddenAcceptedThrough line 114

    Also declared: OAI/Probability/MatroidProphet/Model.lean:116 (same declaration text).

  21. def OAI.MatroidProphet.hiddenReward line 118

    Also declared: OAI/Probability/MatroidProphet/Model.lean:120 (same declaration text).

  22. def OAI.MatroidProphet.hiddenWorstReward line 122

    Also declared: OAI/Probability/MatroidProphet/Model.lean:124 (same declaration text).

  23. def OAI.MatroidProphet.HiddenVectorChallenge line 137

    Also declared: OAI/Probability/MatroidProphet/Model.lean:139 (same declaration text).

  24. structure OAI.MatroidProphet.SecretaryRule line 158

    Also declared: OAI/Probability/MatroidProphet/Model.lean:161 (same declaration text).

  25. def OAI.MatroidProphet.SamePrefix line 165

    Also declared: OAI/Probability/MatroidProphet/Model.lean:169 (same declaration text).

  26. def OAI.MatroidProphet.secretaryDecisionAt line 168

    Also declared: OAI/Probability/MatroidProphet/Model.lean:173 (same declaration text).

  27. def OAI.MatroidProphet.secretaryAcceptedThrough line 173

    Also declared: OAI/Probability/MatroidProphet/Model.lean:179 (same declaration text).

  28. def OAI.MatroidProphet.secretaryReward line 180

    Also declared: OAI/Probability/MatroidProphet/Model.lean:186 (same declaration text).

  29. def OAI.MatroidProphet.SecretaryFeasible line 184

    Also declared: OAI/Probability/MatroidProphet/Model.lean:191 (same declaration text).

  30. def OAI.MatroidProphet.Secretary.uniformArrivalLaw line 200

    Also declared: OAI/Probability/MatroidProphet/Model.lean:208 (same declaration text).

  31. def OAI.MatroidProphet.SecretaryChallenge line 213

    Also declared: OAI/Probability/MatroidProphet/Model.lean:224 (same declaration text).

  32. theorem OAI.MatroidProphet.Assigned.one_sample Challenge statement: Hidden-vector matroid selection with worst-order guarantee sorry line 235

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.Probability.MatroidSecretary.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Probability/MatroidSecretary/Contracts.lean:49 (same statement text; different proof or body). Qualify references as OAI.MatroidProphet.Assigned.one_sample@path.

    theorem one_sample.{u} : MatroidProphet.OneSampleChallenge.{u} := by
    …
  33. theorem OAI.MatroidProphet.Assigned.hidden_vector Challenge statement: Hidden-vector matroid selection with worst-order guarantee sorry line 238

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.Probability.MatroidSecretary.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Probability/MatroidSecretary/Contracts.lean:52 (same statement text; different proof or body). Qualify references as OAI.MatroidProphet.Assigned.hidden_vector@path.

    theorem hidden_vector : MatroidProphet.HiddenVectorChallenge := by
    …

    Mentions: OAI.MatroidProphet.HiddenVectorChallenge

  34. theorem OAI.MatroidProphet.Assigned.secretary Challenge statement: Hidden-vector matroid selection with worst-order guarantee sorry line 241

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.Probability.MatroidSecretary.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/Probability/MatroidSecretary/Contracts.lean:118 (same statement text; different proof or body). Qualify references as OAI.MatroidProphet.Assigned.secretary@path.

    theorem secretary.{u} : MatroidProphet.SecretaryChallenge.{u} := by
    …