Documentation

LeanPool.FullyDynamicMatching.FD1D.V5.StatementModel

Paper-facing model for fully dynamic matching on the line #

This module gives a compact, Mathlib-only statement vocabulary for the main theorem. An online policy sees the current inventory and current demand, selects one live supply, pays their distance, and replaces that supply by an independent uniform replenishment. The path measure below is the homogeneous Markov law driven by iid uniform demand/replenishment pairs.

@[reducible, inline]

A labeled inventory of m supplies in [0,1].

Equations
Instances For
    @[reducible, inline]

    One period's independent demand and replenishment coordinates.

    Equations
    Instances For

      The law of an independent uniform demand/replenishment pair.

      Equations
      Instances For

        An online matching policy. The selected label depends only on the current inventory and current demand. The second measurability field records the exact coordinate replacement map used to construct its Markov law.

        Instances For
          def FD1D.V5.Palomar.step {m : ℕ} (P : OnlinePolicy m) (s : Inventory m) (z : Noise) :

          Replace the selected supply by the replenishment coordinate.

          Equations
          Instances For
            @[reducible, inline]

            The pre-match inventory together with the current random coordinates.

            Equations
            Instances For

              Apply the current noise and attach fresh noise for the next period.

              Equations
              Instances For

                The homogeneous one-period kernel of an online policy.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  Attach an independent first demand/replenishment pair to an inventory law.

                  Equations
                  Instances For

                    A homogeneous kernel viewed as a history-dependent kernel.

                    Equations
                    Instances For

                      The path-space law generated from an arbitrary initial inventory law.

                      Equations
                      Instances For

                        The trajectory law from a fixed initial inventory.

                        Equations
                        Instances For

                          The iid uniform law of the inventory produced by scheduled replacement.

                          Equations
                          Instances For

                            The policy trajectory after iid uniform initialization.

                            Equations
                            Instances For

                              The distance paid in one period.

                              Equations
                              Instances For
                                noncomputable def FD1D.V5.Palomar.trajectoryRMSCostFromState {m : ℕ} (P : OnlinePolicy m) (s₀ : Inventory m) (t : ℕ) :

                                Root mean square one-period cost from a fixed initial inventory.

                                Equations
                                Instances For
                                  def FD1D.V5.Palomar.initializationCost {m : ℕ} (initial demand : Inventory m) :

                                  The total cost of matching once to every original labeled supply during the first m periods.

                                  Equations
                                  Instances For
                                    noncomputable def FD1D.V5.Palomar.initializedAverageCost {m : ℕ} (P : OnlinePolicy m) (initial demand : Inventory m) (N : ℕ) (path : ℕ → ProcessState m) :

                                    Average cost over N periods: scheduled replacement first, followed by the online policy on the resulting iid uniform inventory.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For

                                      The manuscript's regularization parameter.

                                      Equations
                                      Instances For

                                        The dyadic tree depth used by the policy.

                                        Equations
                                        Instances For

                                          The dyadic leaf count used by the policy.

                                          Equations
                                          Instances For

                                            Abstract primitive-operation count in the real-arithmetic model.

                                            Equations
                                            Instances For

                                              Abstract memory-word count in the real-arithmetic model.

                                              Equations
                                              Instances For

                                                One explicit universal constant for both cost bounds.

                                                Equations
                                                Instances For

                                                  The two quantitative guarantees for one inventory size.

                                                  Instances For

                                                    Explicit and asymptotic resource accounting for the policy family.

                                                    Instances For

                                                      Exact compared content of the formalized stochastic cost upper bound.

                                                      Instances For