YaelDillies/APAP
Source indexedlemma · leanprover/lean4:v4.32.0
BohrSet.mem_chordSet_iff_nnnorm_width
APAP.Prereqs.Bohr.Basic · APAP/Prereqs/Bohr/Basic.lean:99 to 113
Mathematical statement
Exact Lean statement
lemma mem_chordSet_iff_nnnorm_width :
x ∈ B.chordSet ↔ ∀ ⦃ψ⦄, ψ ∈ B.frequencies → ‖1 - ψ x‖₊ ≤ B.width ψComplete declaration
Lean source
Full Lean sourceLean 4
lemma mem_chordSet_iff_nnnorm_width : x ∈ B.chordSet ↔ ∀ ⦃ψ⦄, ψ ∈ B.frequencies → ‖1 - ψ x‖₊ ≤ B.width ψ := by refine forall_congr' fun ψ => ?_ constructor case mpr => intro h rcases eq_top_or_lt_top (B.ewidth ψ) with h₁ | h₁ case inl => simp [h₁] case inr => have : ψ ∈ B.frequencies := by simp [mem_frequencies, h₁] specialize h this rwa [←ENNReal.coe_le_coe, coe_width this] at h case mp => intro h₁ h₂ rwa [←ENNReal.coe_le_coe, coe_width h₂]