import Mathlib import OAI.MathematicalPhysics.PEPSFilters.LocalOperators import OAI.MathematicalPhysics.PEPSSubvolume.RegionSSA import OAI.MathematicalPhysics.PEPSSubvolume.EntropyDimension import OAI.MathematicalPhysics.PEPSSubvolume.TilingEntropy import OAI.MathematicalPhysics.PEPSSubvolume.RectangleTiling namespace OAI /-! Uniform entropy contraction across square scales. -/ noncomputable section open scoped BigOperators ComplexOrder open scoped BigOperators ComplexOrder Matrix.Norms.L2Operator open scoped BigOperators open scoped Topology open Filter open scoped MatrixOrder open scoped BigOperators Matrix.Norms.L2Operator open scoped ComplexOrder BigOperators Matrix.Norms.L2Operator open Matrix open Filter Topology open Set Filter Complex Complex.HadamardThreeLines open scoped BigOperators Matrix.Norms.L2Operator MatrixOrder ComplexOrder open PolynomialPEPS.PinnedEntropy namespace PolynomialPEPS.Subvolume.RectangleTiling open scoped BigOperators open PolynomialPEPS.Subvolume.HarmonicWeights PolynomialPEPS.Subvolume.GeometricLower open PolynomialPEPS.Subvolume.RectangleContours variable {L q : ℕ} theorem physical_color_recurrence (hq : 0 Disjoint (C i) (C j)) := fun i _ j _ hij => tiles_disjoint lo₁ lo₂ r hr i j hij have hCY : ∀ i∈interior b M, C i ⊆ Y i := by intro i hi exact monotone_rectangle _ _ _ _ (Nat.zero_le _) have hY : ∀ k : Index (b+1), ∀ i∈interior b M, color b i=k → Y i\C i ⊆ PolynomialPEPS.SubvolumeTiling.unionTiles C (Finset.univ\(interior b M).filter (fun j => color b j=k)) := by intro k i hi hk subst k exact collar_exposed lo₁ lo₂ r b hr i hi have hc : ∀ i∈interior b M, vonNeumannEntropy Ω (Y i)-vonNeumannEntropy Ω (Y i\C i)≤ vonNeumannEntropy Ω (C i)/4+bufferConstant q J Δ*(r:ℝ)/4 := by intro i hi apply GeometricComparison.rectangle_conditional_contraction hq J Δ E₀ hJ hΔ hv he Ω hΩ hH hg hgap _ _ _ _ r hr <;> linarith have hh := PolynomialPEPS.SubvolumeTiling.color_recurrence (vonNeumannEntropy Ω) (vonNeumannEntropy_empty Ω hΩ) (RegionSSA.conditional_entropy_antitone hq Ω) C Y Finset.univ (interior b M) (Finset.subset_univ _) (color b) hdis hCY hY (bufferConstant q J Δ*(r:ℝ)/4) F hc (fun i _ => hF i) dsimp only [PolynomialPEPS.SubvolumeTiling.unionTiles,C] at hh rw [tiles_cover lo₁ lo₂ r hr] at hh simpa only [Finset.card_univ,Index,Fintype.card_prod,Fintype.card_fin,Nat.cast_mul,pow_two] using hh theorem physical_density_contraction (hq : 0 push_cast <;> ring lemma box_mul (lo₁ lo₂ : ℤ) (M r : ℕ) : box (L:=L) lo₁ lo₂ M r=box lo₁ lo₂ 1 (M*r) := by unfold box congr 1 <;> push_cast <;> ring lemma unit_box_card (lo₁ lo₂ : ℤ) : (box (L:=L) lo₁ lo₂ 1 1).card≤1 := by apply Finset.card_le_one.mpr intro v hv w hw rw [mem_box] at hv hw apply Prod.ext <;> apply Fin.ext <;> omega theorem physical_three_child_gain (hq : 0 simp only [pow_zero,mul_one] have hh := vonNeumannEntropy_le_card_log hq Ω hΩ (box lo₁ lo₂ 1 1) have hn : ((box (L:=L) lo₁ lo₂ 1 1).card:ℝ)≤1 := by exact_mod_cast unit_box_card (L:=L) lo₁ lo₂ have ht := mul_le_mul_of_nonneg_right hn hQ dsimp only [A] linarith only [hh,ht,hB] | succ k ih => have hf : ∀ i : Index M, vonNeumannEntropy Ω (tile lo₁ lo₂ (M^k) i)≤A*R^k := by intro i rw [tile_as_box] exact ih _ _ have hh := physical_three_child_gain hq J Δ E₀ hJ hΔ hv he Ω hΩ hH hg hgap lo₁ lo₂ (M^k) (pow_pos hMn _) (A*R^k) (mul_nonneg hA (pow_nonneg hR0 _)) hf change vonNeumannEntropy Ω (box lo₁ lo₂ 1 (M*M^k)) ≤ ((M:ℝ)^2-3)*(A*R^k)+4*bufferConstant q J Δ*(M^k:ℕ) at hh rw [pow_succ' M k] apply hh.trans push_cast have hp : (M:ℝ)^k≤R^k := pow_le_pow_left₀ (le_of_lt hMr) hR k have he := mul_le_mul_of_nonneg_left hp (mul_nonneg (by norm_num : (0:ℝ)≤4) hB) have ha : 4*bufferConstant q J Δ≤A := by dsimp [A]; linarith only [hQ] have he' := mul_le_mul_of_nonneg_right ha (pow_nonneg hR0 k) change _ ≤ A*R^(k+1) calc _ ≤ ((M:ℝ)^2-3)*(A*R^k)+A*R^k := add_le_add le_rfl (he.trans he') _ = A*(R^k*R) := by dsimp only [R]; ring _ = A*R^(k+1) := by rw [pow_succ R k] end PolynomialPEPS.Subvolume.RectangleTiling end end OAI