Documentation

LeanPool.FullyDynamicMatching.FD1D.V5.LocalBellman

The local quadratic Bellman inequality #

This module follows the normalization and three active-cap cases in the appendix of manuscript-v5/optimal_dynamic_matching.tex.

Squared imbalance parameter used in the normalized Bellman calculation.

Equations
Instances For

    Scale times one minus the squared imbalance.

    Equations
    Instances For

      Shifted scale appearing in the normalized potential ratios.

      Equations
      Instances For

        Positive denominator factor in the normalized feedback identities.

        Equations
        Instances For
          noncomputable def FD1D.V5.LocalBellman.Normalized.hPlus (s ρ z : ℝ) :

          Normalized rate of the plus child for the selected correction.

          Equations
          Instances For
            noncomputable def FD1D.V5.LocalBellman.Normalized.hMinus (s ρ z : ℝ) :

            Normalized rate of the minus child for the selected correction.

            Equations
            Instances For
              noncomputable def FD1D.V5.LocalBellman.Normalized.tPlus (r z : ℝ) :

              Half the difference between the residual parameter and the correction.

              Equations
              Instances For

                Half the sum of the residual parameter and the correction.

                Equations
                Instances For

                  Normalized parent potential ratio.

                  Equations
                  Instances For
                    noncomputable def FD1D.V5.LocalBellman.Normalized.ZPlus (s r ρ : ℝ) :

                    Normalized potential ratio for the plus child.

                    Equations
                    Instances For
                      noncomputable def FD1D.V5.LocalBellman.Normalized.ZMinus (s r ρ : ℝ) :

                      Normalized potential ratio for the minus child.

                      Equations
                      Instances For
                        noncomputable def FD1D.V5.LocalBellman.Normalized.residual (s r ρ z : ℝ) :

                        Average child Bellman contribution minus the parent contribution.

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

                          Change of the mean squared normalized child rate relative to one.

                          Equations
                          Instances For

                            Feedback correction in the normalized local policy.

                            Equations
                            Instances For

                              Correction corresponding to uniform deletion rates.

                              Equations
                              Instances For
                                noncomputable def FD1D.V5.LocalBellman.Normalized.floorCap (s r ρ : ℝ) :

                                Largest correction permitted by the normalized floor constraint.

                                Equations
                                Instances For
                                  noncomputable def FD1D.V5.LocalBellman.Normalized.J (s ρ k : ℝ) :

                                  Rescaled gap between the scale and the chosen floor parameter.

                                  Equations
                                  Instances For
                                    noncomputable def FD1D.V5.LocalBellman.Normalized.bracket (s r ρ k : ℝ) :

                                    Auxiliary expression controlling the normalized Bellman residual.

                                    Equations
                                    Instances For
                                      theorem FD1D.V5.LocalBellman.Normalized.lambda_lt_one {ρ : ℝ} (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) :
                                      lambda ρ < 1
                                      theorem FD1D.V5.LocalBellman.Normalized.A_pos {s ρ : ℝ} (hs : 0 < s) (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) :
                                      0 < A s ρ
                                      theorem FD1D.V5.LocalBellman.Normalized.g_pos {s r : ℝ} (hr : -s < r) :
                                      0 < g s r
                                      theorem FD1D.V5.LocalBellman.Normalized.d_pos {s ρ : ℝ} (hs : 0 < s) (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) :
                                      0 < d s ρ
                                      theorem FD1D.V5.LocalBellman.Normalized.residual_eq_common {s r ρ k : ℝ} (hs : 0 < s) (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) :
                                      residual s r ρ (ρ * k) = r ^ 2 / 8 - lambda ρ * k ^ 2 / 24 + g s r * (1 / 2 - r) * (s + 1) / (2 * d s ρ * (s + 1 / 2)) + lambda ρ * g s r / d s ρ * bracket s r ρ k
                                      theorem FD1D.V5.LocalBellman.Normalized.rateIncrement_eq_common {s ρ k : ℝ} (hs : 0 < s) (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) :
                                      rateIncrement s ρ (ρ * k) = 2 * lambda ρ * J s ρ k + (1 + lambda ρ) * lambda ρ * J s ρ k ^ 2
                                      theorem FD1D.V5.LocalBellman.Normalized.uniform_hPlus {s ρ : ℝ} (hs : 0 < s) (hρ1 : ρ ≠ -1) :
                                      hPlus s ρ (uniform s ρ) = 1
                                      theorem FD1D.V5.LocalBellman.Normalized.uniform_hMinus {s ρ : ℝ} (hs : 0 < s) (hρ1 : ρ ≠ 1) :
                                      hMinus s ρ (uniform s ρ) = 1
                                      theorem FD1D.V5.LocalBellman.Normalized.uniform_rateIncrement {s ρ : ℝ} (hs : 0 < s) (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) :
                                      rateIncrement s ρ (uniform s ρ) = 0
                                      theorem FD1D.V5.LocalBellman.Normalized.uniform_residual_eq {s r ρ : ℝ} (hs : 0 < s) (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) :
                                      residual s r ρ (uniform s ρ) = r ^ 2 / 8 - uniform s ρ ^ 2 / 24 + g s r ^ 2 * uniform s ρ ^ 2 / (d s ρ * (s + 1 / 2)) + g s r * (1 / 2 - r) * (s + 1) / (2 * d s ρ * (s + 1 / 2))
                                      theorem FD1D.V5.LocalBellman.Normalized.uniform_case {s r ρ : ℝ} (hs : 0 < s) (hr0 : -s < r) (hr1 : r ≤ 1 / 2) (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) (hactive : A s ρ ≤ 8) :
                                      residual s r ρ (uniform s ρ) ≥ (rateIncrement s ρ (uniform s ρ) + uniform s ρ ^ 2) / 1000
                                      theorem FD1D.V5.LocalBellman.Normalized.feedback_case {s r ρ : ℝ} (hs : 0 < s) (hr0 : -s < r) (hr1 : r ≤ 1 / 2) (hρ0 : 0 < ρ) (hρ1 : ρ < 1) (hactive : feedback s ρ ≤ uniform s ρ) :
                                      residual s r ρ (feedback s ρ) ≥ (rateIncrement s ρ (feedback s ρ) + feedback s ρ ^ 2) / 1000
                                      noncomputable def FD1D.V5.LocalBellman.Normalized.floorEll (u v K : ℝ) :

                                      Auxiliary floor coordinate obtained from the normalized child scales.

                                      Equations
                                      Instances For
                                        noncomputable def FD1D.V5.LocalBellman.Normalized.floorW (u v K : ℝ) :

                                        Weight of the correction term in the floor residual estimate.

                                        Equations
                                        Instances For

                                          Relative difference of the shifted normalized child scales.

                                          Equations
                                          Instances For
                                            noncomputable def FD1D.V5.LocalBellman.Normalized.floorR (K e u v : ℝ) :

                                            Residual bound expressed in the floor coordinates.

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

                                              Rational lower-bound expression used in the floor-case estimate.

                                              Equations
                                              Instances For
                                                theorem FD1D.V5.LocalBellman.Normalized.floorJ_bound {K e : ℝ} (hK : 1 ≤ K) (he0 : 0 ≤ e) :
                                                (K ^ 2 + e ^ 2) / 4 ≤ floorJ K e

                                                Minus-child scale in the floor coordinate system.

                                                Equations
                                                Instances For

                                                  Plus-child scale in the floor coordinate system.

                                                  Equations
                                                  Instances For

                                                    Twice the gap of the residual parameter from 1 / 2.

                                                    Equations
                                                    Instances For
                                                      noncomputable def FD1D.V5.LocalBellman.Normalized.floorK (s r ρ : ℝ) :

                                                      Floor parameter expressed through the two normalized child scales.

                                                      Equations
                                                      Instances For
                                                        theorem FD1D.V5.LocalBellman.Normalized.floor_case {s r ρ : ℝ} (hs : 0 < s) (hr1 : r ≤ 1 / 2) (hρ0 : 0 < ρ) (hρ1 : ρ < 1) (hactiveU : floorCap s r ρ ≤ uniform s ρ) (hactiveF : floorCap s r ρ ≤ feedback s ρ) :
                                                        residual s r ρ (floorCap s r ρ) ≥ (rateIncrement s ρ (floorCap s r ρ) + floorCap s r ρ ^ 2) / 1000
                                                        theorem FD1D.V5.LocalBellman.Normalized.equal_case {s r : ℝ} (hs : 0 < s) (hr0 : -s < r) (hr1 : r ≤ 1 / 2) :
                                                        residual s r 0 0 ≥ (rateIncrement s 0 0 + 0 ^ 2) / 1000
                                                        theorem FD1D.V5.LocalBellman.Normalized.threeCap_case {s r ρ : ℝ} (hs : 0 < s) (hr0 : -s < r) (hr1 : r ≤ 1 / 2) (hρ0 : 0 ≤ ρ) (hρ1 : ρ < 1) :
                                                        have z := min (feedback s ρ) (min (uniform s ρ) (floorCap s r ρ)); residual s r ρ z ≥ (rateIncrement s ρ z + z ^ 2) / 1000

                                                        Empty-child boundary #

                                                        noncomputable def FD1D.V5.LocalBellman.Normalized.emptyResidual (s r emptyRate : ℝ) :

                                                        The normalized residual when the larger child is occupied and the smaller child is empty. The occupied child has normalized rate one; emptyRate is the auxiliary rate assigned to the empty child.

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

                                                          Normalized child-rate energy at a one-empty-child boundary.

                                                          Equations
                                                          Instances For

                                                            Concrete local policy #

                                                            noncomputable def FD1D.V5.LocalBellman.localResidual (a p h : ℝ) (x y : ℕ) :

                                                            The left side of the manuscript's local Bellman inequality.

                                                            Equations
                                                            • One or more equations did not get rendered due to their size.
                                                            Instances For
                                                              noncomputable def FD1D.V5.LocalBellman.localEnergy (a p h : ℝ) (x y : ℕ) :

                                                              The rate increment plus squared deletion bias in the local inequality.

                                                              Equations
                                                              • One or more equations did not get rendered due to their size.
                                                              Instances For
                                                                theorem FD1D.V5.LocalBellman.local_bellman_inequality {a p h : ℝ} {x y : ℕ} (ha : 0 < a) (hp : 0 < p) (hh : 0 < h) (ht : LocalPolicy.discrepancy a p h x y ≤ h / 2) :
                                                                localResidual a p h x y ≥ localEnergy a p h x y / 1000

                                                                The concrete local Bellman inequality from Lemma lem:local of the v5 manuscript, including positive, one-empty, and empty-parent nodes.