OAI/Analysis/DiskMaximal/SpatialBudgets.lean

GitHub source file

69 declarations, 0 contain sorry, 0 declared as axioms

  1. lemma OAI.ActualLabels.row_change_le_rate line 57
  2. lemma OAI.ActualLabels.observation_startReward_le line 65
  3. def OAI.ActualLabels.boundaryCost line 89
  4. lemma OAI.ActualLabels.boundaryCost_nonneg line 92
  5. lemma OAI.ActualLabels.observation_boundaryReward_le line 100
  6. lemma OAI.ActualLabels.boundary_reward_sum line 119
  7. lemma OAI.SignedRuns.expected_start_sum_bound line 149
  8. lemma OAI.SignedRuns.expected_boundary_sum_bound line 157
  9. lemma OAI.SignedRuns.expected_span_sum line 175
  10. def OAI.PhysicalCells.gridIndex line 191
  11. lemma OAI.PhysicalCells.toUnit_point_re line 193
  12. lemma OAI.PhysicalCells.toUnit_point_im line 198
  13. lemma OAI.PhysicalCells.mem_index_cell line 203
  14. lemma OAI.PhysicalCells.cells_cover line 213
  15. lemma OAI.PhysicalCells.mem_cell_box line 218
  16. lemma OAI.PhysicalCells.cell_subset_root_neighborhood line 231
  17. lemma OAI.PhysicalCells.lintegral_le_cells line 244
  18. lemma OAI.PhysicalCells.tsum_ofReal_le line 249
  19. lemma OAI.PhysicalCells.integral_cell_budget line 260

    Source documentation

    Global integration over the actual full lattice. The budget is tested on arbitrary finite sets, so neither support cutoffs nor omitted cells enter.

    lemma integral_cell_budget {r : ℝ} (hr : 0 < r) (F : ℂ → ℝ≥0∞)
        (B : (ℤ × ℤ) → ℝ) (hB : ∀ p, 0 ≤ B p) (A : ℝ)
        (hcell : ∀ p, (∫⁻ y in cell (point r p) r, F y) ≤ ENNReal.ofReal (B p))
        (hbudget : ∀ s : Finset (ℤ × ℤ), ∑ p ∈ s, B p ≤ A) :
        (∫⁻ y, F y) ≤ ENNReal.ofReal A :=
    …

    Mentions: OAI.PhysicalCells.cell

  20. lemma OAI.CommonPrices.cellRoots_budget line 272
  21. lemma OAI.CommonPrices.badPrice_nonneg line 289
  22. lemma OAI.CommonPrices.badPrice_le_rootMass line 292
  23. lemma OAI.ActualLabels.marginal_localSup_nonneg line 301
  24. lemma OAI.ActualLabels.marginal_localSup_le_one line 305
  25. lemma OAI.ActualLabels.marginal_localSup_bad_zero line 309
  26. lemma OAI.ActualLabels.marginal_badPrice_bound line 326

    Source documentation

    The actual bad-root charge is paid by geometric energy, not a separately assumed probability budget.

    lemma marginal_badPrice_bound {N : ℕ} (h : ℂ → ℂ) (r : ℕ → ℝ) (base : ℝ)
        (k j : ℕ) (hr : 0 < r k) (hrj : r k = scale base j) (p : ℤ × ℤ) (n : Label) :
        localSup (fun x => marginal h r k x n) (r k) p*badPrice h base j (cellRoots N p) n ≤
          1000000*∑ q ∈ cellRoots N p, scalarMass h (r k) q*energy h (r k) q := by
    …

    Mentions: OAI.ActualLabels.Label, OAI.ActualLabels.marginal

  27. def OAI.PhysicalCells.patch line 362

    Source documentation

    Measurable full-lattice patch; no choice of maximizing radius occurs.

    def patch (r : ℝ) (F : (ℤ × ℤ) → ℂ → ℝ≥0∞) (x : ℂ) : ℝ≥0∞ :=
    …
  28. lemma OAI.PhysicalCells.patch_measurable line 365
  29. lemma OAI.PhysicalCells.le_patch line 369
  30. lemma OAI.PhysicalCells.lintegral_patch line 374
  31. lemma OAI.PhysicalCells.lintegral_patch_budget line 380
  32. lemma OAI.PhysicalCells.patch_finite line 388
  33. lemma OAI.PhysicalCells.patch_integrable line 394
  34. lemma OAI.PhysicalCells.real_le_patch line 400
  35. lemma OAI.PhysicalCells.weighted_patch_bound line 409

    Source documentation

    Take the cell supremum of a weight only after the local price has been proved. This is the common production rule for all three spatial budgets.

    lemma weighted_patch_bound (r : ℝ) (F : (ℤ × ℤ) → ℂ → ℝ≥0∞) (hF : ∀ p, Measurable (F p))
        (W : ℂ → ℝ≥0∞) (hW : Measurable W) (A B : (ℤ × ℤ) → ℝ)
        (hA : ∀ p, 0 ≤ A p) (_hB : ∀ p, 0 ≤ B p)
        (hcell : ∀ p, (∫⁻ x in cell (point r p) r, F p x) ≤ ENNReal.ofReal (B p))
        (hWB : ∀ p x, x ∈ cell (point r p) r → W x ≤ ENNReal.ofReal (A p)) :
        (∫⁻ x, W x*patch r F x) ≤ ∑' p, ENNReal.ofReal (A p*B p) := by
    …

    Mentions: OAI.PhysicalCells.cell, OAI.PhysicalCells.patch

  36. def OAI.ActualLabels.geometricRadii line 439

    Source documentation

    Global geometric extension of the finite descending radius grid.

    def geometricRadii (base : ℝ) (m : ℕ) (k : ℕ) : ℝ := scale base m/(2:ℝ)^k
  37. lemma OAI.ActualLabels.geometricRadii_pos line 440
  38. lemma OAI.ActualLabels.geometricRadii_step line 442
  39. lemma OAI.ActualLabels.geometricRadii_eq line 447
  40. lemma OAI.ActualLabels.marginal_congr line 455
  41. lemma OAI.ActualLabels.switchCost_congr line 462
  42. lemma OAI.ActualLabels.derivativeCost_congr line 469
  43. lemma OAI.ActualLabels.cellCost_congr line 476
  44. lemma OAI.SignedRuns.run_cone_bound line 499
  45. theorem OAI.SignedRuns.pointwise_signed_master line 530

    Source documentation

    Complete pointwise signed assembly, still retaining the divergence term. The remaining terms are exactly the direct directional and boundary costs.

    theorem pointwise_signed_master {g : ℂ → ℝ} (h : ℂ → ℂ) {r : ℕ → ℝ}
        (hg : ContDiff ℝ 1 g) (hc : HasCompactSupport g)
        (hr : ∀ k, 0 < r k) (hstep : ∀ k, 2*r (k+1) = r k)
        (H : ℕ → Label → ℝ) (J : ℕ → ℝ) (hH : ∀ k n, 0 ≤ H k n) (hJ : ∀ k, 0 ≤ J k)
        (old : Label) (m : ℕ) (x : ℂ)
        (hd : ∀ i j, i ≤ j → DifferentiableAt ℝ (runEnvelope g r i j) x)
        (hinterior : ∀ k n t, PhysicalNeighborhoodRadius g (r k) x t →
          unfavorable n (gradient (fun y => signedAverage g y t) x) ≤ H k n)
        (hend : ∀ k t, PhysicalEndpointRadius g (r k) x t →
          ‖gradient (fun y => signedAverage g y t) x‖ ≤ J k) :
        ‖gradient (runEnvelope g r 0 m) x‖ ≤ 12*(
          leafSum (fun q => weight h r old x q*divergence (fun y => potential g r y q) x) (m+1) []+
    …

    Mentions: OAI.SignedRuns.runEnvelope, OAI.SignedRuns.unfavorable, OAI.SignedRuns.leafSum, OAI.SignedRuns.weight, OAI.SignedRuns.divergence, OAI.SignedRuns.potential

  46. lemma OAI.PhysicalCells.center_mem_cell line 579
  47. def OAI.PhysicalCells.cellSup line 581
  48. lemma OAI.PhysicalCells.cellSup_le line 583
  49. lemma OAI.PhysicalCells.le_cellSup line 588
  50. lemma OAI.PhysicalCells.cellSup_nonneg line 591
  51. def OAI.ActualLabels.pointCost line 599
  52. def OAI.ActualLabels.costLimit line 602
  53. lemma OAI.ActualLabels.costLimit_pos line 603
  54. lemma OAI.ActualLabels.pointCost_nonneg line 604
  55. lemma OAI.ActualLabels.pointCost_le line 607
  56. lemma OAI.ActualLabels.pointCost_le_cellCost line 616
  57. lemma OAI.ActualLabels.cellSup_pointCost_le line 627
  58. lemma OAI.ActualLabels.cellSup_pointCost_nonneg line 634
  59. lemma OAI.ActualLabels.cellSup_pointCost_uniform line 637
  60. lemma OAI.ActualLabels.pointCost_cell_budget line 641
  61. def OAI.CommonPrices.priceConstant line 662
  62. lemma OAI.CommonPrices.priceConstant_nonneg line 663
  63. lemma OAI.CommonPrices.cellPrice_nonneg line 666
  64. lemma OAI.CommonPrices.rootMass_cell_budget line 670
  65. lemma OAI.ActualLabels.geometricRadii_reverse line 680
  66. lemma OAI.ActualLabels.pointCost_mass_budget line 684
  67. lemma OAI.ActualLabels.pointCost_price_budget line 715
  68. lemma OAI.ActualLabels.marginal_bad_budget line 737
  69. lemma OAI.ActualLabels.marginal_price_budget line 768