OAI/Probability/MatroidSecretary/Pivots/SupportedQueryModel.lean

GitHub source file

1 declarations, 0 contain sorry, 0 declared as axioms

Execution-local freshness for adaptive transaction policies.

  1. def OAI.MatroidProphet.MarkedQueryProgram.FreshAt line 13

    Source documentation

    Only the actually followed branch must query each available label at most once. This makes no assertion about branches impossible under the chosen bit law.

    def FreshAt (S : Finset α) : MarkedQueryProgram α → Finset α → Prop
      | .stop, _ => True
      | .query e no yes, V => e ∈ V ∧
          if e ∈ S then yes.FreshAt S (V.erase e) else no.FreshAt S (V.erase e)
      | .finish _ rest, V => rest.FreshAt S V
    
    end MatroidProphet.MarkedQueryProgram
    
    end OAI

    Mentions: OAI.MatroidProphet.MarkedQueryProgram