Exact Lean source
Nonadditivity.ShiftNorm
Download original .lean · View on GitHub · Jump to source
Direct imports
Nonadditivity.FreeModelMathlib.Tactic.LinearCombinationdependencyMathlib.Tactic.Moduledependency
Imported by project modules
2 direct reverse imports
Relationships above come from literal import commands. The declarations below link to types and references extracted from Lean’s environment. Source text is complete and unchanged.
Declarations in this module
9 project constants, including generated, internal and private declarations.
9 declarations
Nonadditivity.ShiftNorm.leftRegular_norm_leNonadditivity.ShiftNorm.norm_shift_add_inverseNonadditivity.ShiftNorm.orbitSegmentNonadditivity.ShiftNorm.orbitSegment._proof_1internal/detail/privateNonadditivity.ShiftNorm.orbitSegment.eq_1internal/detail/privateNonadditivity.ShiftNorm.orbitSegment_norm_sqNonadditivity.ShiftNorm.orbitSegment_shift_errorNonadditivity.ShiftNorm.orbitSegment_shift_subNonadditivity.ShiftNorm.orbitSegment_symmetric_error
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.FreeModel7import Mathlib.Tactic.LinearCombination8import Mathlib.Tactic.Module910noncomputable section1112namespace Nonadditivity.ShiftNorm1314open FreeModel15open scoped BigOperators ENNReal1617variable {G : Type*} [Group G] [DecidableEq G]1819omit [DecidableEq G] in20theorem leftRegular_norm_le (g : G) : ‖leftRegular g‖ ≤ 1 := by21apply ContinuousLinearMap.opNorm_le_bound _ (by norm_num)22intro f23simp [leftRegular_preserves_norm]2425def orbitSegment (g : G) (m : ℕ) : Hilbert G :=26∑ k ∈ Finset.range m, lp.single 2 (g ^ k) (1 : ℂ)2728theorem orbitSegment_norm_sq (g : G) (hg : Function.Injective (fun k : ℕ => g ^ k))29(m : ℕ) : ‖orbitSegment g m‖ ^ 2 = m := by30classical31have hs : orbitSegment g m =32∑ x ∈ (Finset.range m).image (fun k => g ^ k), lp.single 2 x (1 : ℂ) := by33rw [Finset.sum_image]34· rfl35· exact fun _ _ _ _ h => hg h36rw [hs]37have h := lp.norm_sum_single (p := (2 : ℝ≥0∞)) (by norm_num)38(fun _ : G => (1 : ℂ)) ((Finset.range m).image (fun k => g ^ k))39simpa [Finset.card_image_of_injective _ hg] using h4041theorem orbitSegment_shift_sub (g : G) (m : ℕ) :42leftRegular g (orbitSegment g m) - orbitSegment g m =43lp.single 2 (g ^ m) (1 : ℂ) - lp.single 2 1 (1 : ℂ) := by44classical45induction m with46| zero => simp [orbitSegment]47| succ m ih =>48simp only [orbitSegment, Finset.sum_range_succ] at ih ⊢49rw [map_add, leftRegular_single]50rw [pow_succ']51linear_combination (norm := module) ih5253theorem orbitSegment_shift_error (g : G) (m : ℕ) :54‖leftRegular g (orbitSegment g m) - orbitSegment g m‖ ≤ 2 := by55rw [orbitSegment_shift_sub]56have h := norm_sub_le (lp.single 2 (g ^ m) (1 : ℂ) : Hilbert G) (lp.single 2 (1 : G) (1 : ℂ))57norm_num at h58exact h5960theorem orbitSegment_symmetric_error (g : G) (m : ℕ) :61‖(leftRegular g + leftRegular g⁻¹) (orbitSegment g m) -62(2 : ℂ) • orbitSegment g m‖ ≤ 4 := by63let v := orbitSegment g m64have heq : (leftRegular g + leftRegular g⁻¹) v - (2 : ℂ) • v =65(leftRegular g v - v) - leftRegular g⁻¹ (leftRegular g v - v) := by66rw [map_sub]67have hcancel : leftRegular g⁻¹ (leftRegular g v) = v := by68rw [← ContinuousLinearMap.comp_apply, ← leftRegular_mul]69simp70rw [hcancel, ContinuousLinearMap.add_apply]71module72rw [heq]73calc74_ ≤ ‖leftRegular g v - v‖ + ‖leftRegular g⁻¹ (leftRegular g v - v)‖ :=75norm_sub_le _ _76_ = 2 * ‖leftRegular g v - v‖ := by rw [leftRegular_preserves_norm]; ring77_ ≤ 4 := by linarith [orbitSegment_shift_error g m]7879/-- A bilateral shift and its inverse have sum norm exactly two. The lower80bound uses genuine finitely supported vectors on a growing cyclic orbit. -/81theorem norm_shift_add_inverse (g : G)82(hg : Function.Injective (fun k : ℕ => g ^ k)) :83‖leftRegular g + leftRegular g⁻¹‖ = 2 := by84apply le_antisymm85· calc86_ ≤ ‖leftRegular g‖ + ‖leftRegular g⁻¹‖ := norm_add_le _ _87_ ≤ 2 := by linarith [leftRegular_norm_le g, leftRegular_norm_le g⁻¹]88· by_contra h89have hpos : 0 < 2 - ‖leftRegular g + leftRegular g⁻¹‖ := by linarith90obtain ⟨m, hm⟩ := exists_nat_gt ((4 / (2 - ‖leftRegular g + leftRegular g⁻¹‖)) ^ 2)91let v := orbitSegment g m92have hv : ‖v‖ ^ 2 = m := orbitSegment_norm_sq g hg m93have he : ‖(leftRegular g + leftRegular g⁻¹) v - (2 : ℂ) • v‖ ≤ 4 :=94orbitSegment_symmetric_error g m95have hb : 2 * ‖v‖ ≤ ‖leftRegular g + leftRegular g⁻¹‖ * ‖v‖ + 4 := by96have ht := norm_sub_le ((leftRegular g + leftRegular g⁻¹) v)97((leftRegular g + leftRegular g⁻¹) v - (2 : ℂ) • v)98simp only [sub_sub_cancel, norm_smul, Complex.norm_ofNat] at ht99linarith [(leftRegular g + leftRegular g⁻¹).le_opNorm v]100have hnv : ‖v‖ ≤ 4 / (2 - ‖leftRegular g + leftRegular g⁻¹‖) := by101apply (le_div_iff₀ hpos).mpr102nlinarith103have hs := pow_le_pow_left₀ (norm_nonneg v) hnv 2104linarith105106end Nonadditivity.ShiftNorm