cfahlgren1's picture
download
raw
4.38 kB
14
lemma OwnProbabilityTailTiltState.mono_error {Z lam r δ δ' : ℝ} {N K : ℕ}
    {p₀ : Fin (K+1) → ℝ} {F : fermionGraph N}
    (hF : OwnProbabilityTailTiltState Z lam r K p₀ δ F) (hδ : δ ≤ δ') :
    OwnProbabilityTailTiltState Z lam r K p₀ δ' F := by
proof · 4 lines
  refine ⟨hF.1,hF.2.1.trans (add_le_add le_rfl hδ),?_⟩
  intro j A hA hp
  obtain ⟨G,hGn,hGlaw,hGE⟩ := hF.2.2 j A hA hp
  exact ⟨G,hGn,hGlaw,hGE.trans (by unfold dyadicUniformEventBudget; exact add_le_add le_rfl hδ)⟩
23
lemma normalized_sector_excess_le {Z η : ℝ} {N : ℕ} (F : fermionGraph N)
    (hFn : ‖fermionGraphValue N F‖^2 = 1)
    (hFE : formEnergy Z (graphFormVector F) ≤ energy Z N+η) :
    (⟪F,sectorExcessOperator Z N F⟫_ℂ).re ≤ η := by
proof · 5 lines
  have he := sectorExcessOperator_diagonal Z F
  have hev : energy Z N * ‖fermionGraphValue N F‖^2 = energy Z N :=
    (congrArg (fun t : ℝ => energy Z N*t) hFn).trans (mul_one _)
  exact he.le.trans ((sub_le_sub_left hev.ge _).trans
    (sub_le_iff_le_add.mpr (by linarith only [hFE])))
33
lemma exists_small_error_product {A : ℝ} (hA : 0 ≤ A) :
    ∃ η : ℝ, 0 < η ∧ η ≤ 1 ∧ η*A ≤ 1 := by
proof · 8 lines
  let η := min 1 (A+1)⁻¹
  have hη : 0 < η := lt_min zero_lt_one (inv_pos.2 (by linarith))
  refine ⟨η,hη,min_le_left _ _,?_⟩
  have hh := mul_le_mul_of_nonneg_right (min_le_right 1 (A+1)⁻¹) (by linarith : 0 ≤ A+1)
  have he : (A+1)⁻¹*(A+1) = 1 := inv_mul_cancel₀ (by linarith)
  change η*(A+1) ≤ _ at hh
  rw [he] at hh
  nlinarith only [hh,hη.le]
44
lemma own_state_graph_bound {Z lam r η : ℝ} {N K : ℕ}
    {p₀ : Fin (K+1) → ℝ} (hZ : 0 ≤ Z) (hη : η ≤ 1) (F : fermionGraph N)
    (hF : OwnProbabilityTailTiltState Z lam r K p₀ η F) :
    ‖F‖^2 ≤ 4*(|energy Z N|+(N:ℝ)*Z^2+2) := by
proof · 2 lines
  exact near_minimizer_graph_bound hZ F hF.1
    (hF.2.1.trans (add_le_add le_rfl hη))
51
def SmallSectorResidual {N : ℕ} (Z η : ℝ) (F : fermionGraph N) : Prop :=
body · 2 lines
  (⟪F,sectorExcessOperator Z N F⟫_ℂ).re ≤ η ∧
  ‖F‖^2 ≤ 4*(|energy Z N|+(N:ℝ)*Z^2+2)
55
lemma smallSectorResidual_of_own {Z lam r η : ℝ} {N K : ℕ}
    {p₀ : Fin (K+1) → ℝ} (hZ : 0 ≤ Z) (hη : η ≤ 1) (F : fermionGraph N)
    (hF : OwnProbabilityTailTiltState Z lam r K p₀ η F) : SmallSectorResidual Z η F :=
proof · 1 line
  ⟨normalized_sector_excess_le F hF.1 hF.2.1, own_state_graph_bound hZ hη F hF⟩
60
lemma exists_own_state_small_residual {Z lam r η : ℝ} {N : ℕ}
    (hZ : 0 ≤ Z) (hr : 0 < r) (hη : 0 < η) (hη1 : η ≤ 1)
    (hN : PriceMinimizes (energy Z) lam N) (K : ℕ) (p₀ : Fin (K+1) → ℝ)
    (h₀ : ∀ j, 0 < p₀ j) :
    ∃ F : fermionGraph N, OwnProbabilityTailTiltState Z lam r K p₀ 1 F ∧
      SmallSectorResidual Z η F := by
proof · 2 lines
  obtain ⟨F,hF⟩ := exists_actual_own_probability_tail_tilt_state hZ hr hN K p₀ h₀ hη
  exact ⟨F,hF.mono_error hη1,smallSectorResidual_of_own hZ hη1 F hF⟩
69
lemma exists_own_state_shell_residual {Z lam r v : ℝ} {N : ℕ}
    (hZ : 0 ≤ Z) (hr : 0 < r) (_hv : 0 < v)
    (hN : PriceMinimizes (energy Z) lam N) (K : ℕ) (p₀ : Fin (K+1) → ℝ)
    (h₀ : ∀ j, 0 < p₀ j) :
    ∃ (F : fermionGraph N) (η : ℝ),
      OwnProbabilityTailTiltState Z lam r K p₀ 1 F ∧ 0 ≤ η ∧ SmallSectorResidual Z η F ∧
      η*(‖sectorExcessOperator Z N‖*shellGraphConstant N v*
        (4*(|energy Z N|+(N:ℝ)*Z^2+2))) ≤ 1^2 := by
proof · 8 lines
  let B := 4*(|energy Z N|+(N:ℝ)*Z^2+2)
  have hB : 0 ≤ B := by dsimp [B]; positivity
  let A := ‖sectorExcessOperator Z N‖*shellGraphConstant N v*B
  have hA : 0 ≤ A := mul_nonneg (mul_nonneg (norm_nonneg _) (shellGraphConstant_nonneg N v)) hB
  obtain ⟨η,hη,hη1,hηA⟩ := exists_small_error_product hA
  obtain ⟨F,hF,hres⟩ := exists_own_state_small_residual hZ hr hη hη1 hN K p₀ h₀
  refine ⟨F,η,hF,hη.le,hres,?_⟩
  exact hηA.trans_eq (by norm_num)

Xet Storage Details

Size:
4.38 kB
·
Xet hash:
fef680e373ea5626c910c2d2a1cd1319df1d725741c38f5661acafaff525fef5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.