yang
This project has not described itself yet.
Brought by drakestapleton
yang / proofs / StarMayer.lean
| 1 | import WilsonPolymerBridge |
| 2 | import Mathlib.MeasureTheory.Integral.Prod |
| 3 | import Mathlib.Analysis.SpecialFunctions.Exp |
| 4 | import Mathlib.Tactic |
| 5 | |
| 6 | open MeasureTheory |
| 7 | open scoped BigOperators |
| 8 | |
| 9 | namespace YangMills.StarMayer |
| 10 | noncomputable section |
| 11 | |
| 12 | /-- Interaction plaquettes in the shifted Wilson convention contribute β(1-P). -/ |
| 13 | def bridgeAction (β : ℝ) {k : ℕ} (p : Fin k → ℝ) := ∑ j, β*(1-p j) |
| 14 | |
| 15 | def bond (v : ℝ) := Real.exp (-v) - 1 |
| 16 | |
| 17 | theorem bridge_range {k : ℕ} {β : ℝ} (hb : 0 ≤ β) |
| 18 | {p : Fin k → ℝ} (h : ∀ j, |p j| ≤ 1) : |
| 19 | 0 ≤ bridgeAction β p ∧ bridgeAction β p ≤ 2*β*k := by |
| 20 | constructor |
| 21 | · exact Finset.sum_nonneg fun j _ => mul_nonneg hb (sub_nonneg.mpr (abs_le.mp (h j)).2) |
| 22 | · calc |
| 23 | bridgeAction β p ≤ ∑ _ : Fin k, β*2 := Finset.sum_le_sum fun j _ => |
| 24 | mul_le_mul_of_nonneg_left (by linarith [(abs_le.mp (h j)).1]) hb |
| 25 | _ = _ := by simp; ring |
| 26 | |
| 27 | /-- The single-bond activity is the exact correction to two normalized product cells. -/ |
| 28 | theorem two_cell {X Y : Type*} [MeasurableSpace X] [MeasurableSpace Y] |
| 29 | (μ : Measure X) (ν : Measure Y) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] |
| 30 | (V : X × Y → ℝ) (hv : Integrable (fun z => Real.exp (-V z)) (μ.prod ν)) : |
| 31 | (∫ z, Real.exp (-V z) ∂μ.prod ν) = 1 + ∫ z, bond (V z) ∂μ.prod ν := by |
| 32 | unfold bond |
| 33 | rw [integral_sub hv (integrable_const _)] |
| 34 | simp |
| 35 | |
| 36 | /-- Without inter-cell concentration the worst-case bound approaches one at large β. -/ |
| 37 | theorem two_cell_bound {X : Type*} [MeasurableSpace X] (μ : Measure X) [IsProbabilityMeasure μ] |
| 38 | {V : X → ℝ} {B : ℝ} (bound : ∀ x, 0 ≤ V x ∧ V x ≤ B) |
| 39 | (h : Integrable (fun x => bond (V x)) μ) : |
| 40 | |∫ x, bond (V x) ∂μ| ≤ 1 - Real.exp (-B) := by |
| 41 | have pos (x : X) : Real.exp (-B) - 1 ≤ bond (V x) := |
| 42 | sub_le_sub_right (Real.exp_le_exp.mpr (neg_le_neg (bound x).2)) _ |
| 43 | have neg (x : X) : bond (V x) ≤ 0 := by |
| 44 | unfold bond; linarith [Real.exp_le_one_iff.mpr (neg_nonpos.mpr (bound x).1)] |
| 45 | have lower := integral_mono (μ := μ) (integrable_const (Real.exp (-B)-1)) h pos |
| 46 | have upper := integral_mono (μ := μ) h (integrable_const (0:ℝ)) neg |
| 47 | simp at lower upper |
| 48 | rw [abs_of_nonpos upper]; linarith |
| 49 | |
| 50 | /-- Exact finite Mayer expansion. Factorizing the terms by connected support and |
| 51 | bounding their activities is a subsequent step in using Kotecký–Preiss. -/ |
| 52 | theorem finite_expansion {X ι : Type*} [MeasurableSpace X] [DecidableEq ι] |
| 53 | (μ : Measure X) (s : Finset ι) (V : ι → X → ℝ) |
| 54 | (h : ∀ a ∈ s.powerset, Integrable (fun x => ∏ e ∈ a, bond (V e x)) μ) : |
| 55 | (∫ x, ∏ e ∈ s, Real.exp (-V e x) ∂μ) = |
| 56 | ∑ a ∈ s.powerset, ∫ x, ∏ e ∈ a, bond (V e x) ∂μ := by |
| 57 | rw [← integral_finsetSum _ h] |
| 58 | apply integral_congr_ae |
| 59 | filter_upwards with x |
| 60 | rw [← Finset.prod_one_add] |
| 61 | simp [bond] |
| 62 | |
| 63 | open YangMills.WilsonPolymer |
| 64 | |
| 65 | /-- The two-cell problem has one hard-core polymer, its crossing bond. -/ |
| 66 | def oneBond (z : ℝ) : PolymerModel Unit where |
| 67 | incompat := fun _ _ => True |
| 68 | decIncompat := fun _ _ => isTrue trivial |
| 69 | refl := fun _ => trivial |
| 70 | symm := fun _ _ _ => trivial |
| 71 | w := fun _ => z |
| 72 | a := fun _ => 1 |
| 73 | a_nonneg := fun _ => zero_le_one |
| 74 | |
| 75 | theorem oneBond_partition (z : ℝ) : (oneBond z).Z {()} = 1+(z:ℂ) := by |
| 76 | rw [(oneBond z).Z_recursion {()} (γ:=()) (by simp)] |
| 77 | simp [PolymerModel.nbhd,oneBond,PolymerModel.Z_empty] |
| 78 | |
| 79 | /-- The same integrated bridge activity feeds the repository's KP ratio theorem. -/ |
| 80 | theorem two_cell_KP {X Y : Type*} [MeasurableSpace X] [MeasurableSpace Y] |
| 81 | (μ : Measure X) (ν : Measure Y) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] |
| 82 | (V : X × Y → ℝ) (hv : Integrable (fun x => Real.exp (-V x)) (μ.prod ν)) |
| 83 | (h : |∫ x, bond (V x) ∂μ.prod ν| * Real.exp 1 ≤ 1) : |
| 84 | let z := ∫ x, bond (V x) ∂μ.prod ν |
| 85 | let Z := ∫ x, Real.exp (-V x) ∂μ.prod ν |
| 86 | (oneBond z).Z {()} = (Z:ℂ) ∧ Z ≠ 0 ∧ |
| 87 | ‖1 / (Z:ℂ)‖ ≤ Real.exp (|z| *Real.exp 1) := by |
| 88 | let z := ∫ x, bond (V x) ∂μ.prod ν |
| 89 | let Z := ∫ x, Real.exp (-V x) ∂μ.prod ν |
| 90 | have eq : (oneBond z).Z {()} = (Z:ℂ) := by |
| 91 | rw [oneBond_partition]; simp [Z,two_cell μ ν V hv,z] |
| 92 | have kp : (oneBond z).KoteckyPreissCond {()} := by |
| 93 | intro γ _ |
| 94 | simpa [PolymerModel.nbhd,oneBond,Complex.norm_real,Real.norm_eq_abs,z] using h |
| 95 | have result := (oneBond z).kotecky_preiss_partition_nonvanishing_and_ratio kp {()} (by rfl) |
| 96 | have ratio := result.2 () (by simp) |
| 97 | rw [eq] at result ratio |
| 98 | refine ⟨eq,fun hz => result.1 (by simp [Z,hz]),?_⟩ |
| 99 | simpa [PolymerModel.Z_empty,oneBond,Complex.norm_real,Real.norm_eq_abs] using ratio |
| 100 | |
| 101 | #print axioms two_cell_KP |
| 102 | #print axioms two_cell |
| 103 | #print axioms two_cell_bound |
| 104 | #print axioms finite_expansion |
| 105 | end |
| 106 | end YangMills.StarMayer |